Class mheg5.POM.Mheg5Monitor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mheg5.POM.Mheg5Monitor

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----mheg5.POM.Mheg5Monitor

public class Mheg5Monitor
extends Frame
implements Runnable

Variable Index

 o bgColor
 o causing_link
 o link_causalities
 o n_link_causalities
 o sorter

Constructor Index

 o Mheg5Monitor(String)

Method Index

 o addNewConnectivity(Mheg5MonitorObject, Mheg5MonitorObject)
 o drawControlButtons(Graphics)
 o drawLine2MonitorObjects(Graphics, Mheg5MonitorObject, Mheg5MonitorObject)
 o getDifference(double, double, double, double)
 o getFocusObject(int, int)
 o getMonitorObject(int)
 o imageUpdate(Image, int, int, int, int, int)
Repaints the component when the image has changed.
 o keyDown(Event, int)
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseEnter(Event, int, int)
 o mouseExit(Event, int, int)
 o mouseMove(Event, int, int)
 o mouseUp(Event, int, int)
 o my_update()
 o my_update_with_rebuild()
 o notifyLinkFiring(Link, int, boolean, boolean)
 o NotifyMouseClicked(int, int)
 o NotifyMouseDragged(int, int)
 o NotifyMouseEntered(int, int)
 o NotifyMouseExited(int, int)
 o NotifyMouseMove(int, int)
 o NotifyMousePressed(int, int)
 o NotifyMouseReleased(int, int)
 o oneIterationResortIteration()
 o paint(Graphics)
 o paintFrame(Graphics)
 o prepareObjectsDatabase()
 o rebuild_object_table()
 o resortMonitorObjects()
 o run()
 o sortSelectionRectangleObjectsY()
 o start()
 o update(Graphics)

Variables

 o bgColor
  public final static Color bgColor
 o link_causalities
  public int link_causalities[][]
 o n_link_causalities
  public int n_link_causalities
 o causing_link
  public int causing_link
 o sorter
  public Thread sorter

Constructors

 o Mheg5Monitor
  public Mheg5Monitor(String title)

Methods

 o notifyLinkFiring
  public void notifyLinkFiring(Link l,
                               int obj_number,
                               boolean synchronous,
                               boolean starting)
 o mouseDown
  public boolean mouseDown(Event evt,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseDrag
  public boolean mouseDrag(Event evt,
                           int x,
                           int y)
Overrides:
mouseDrag in class Component
 o mouseEnter
  public boolean mouseEnter(Event evt,
                            int x,
                            int y)
Overrides:
mouseEnter in class Component
 o mouseExit
  public boolean mouseExit(Event evt,
                           int x,
                           int y)
Overrides:
mouseExit in class Component
 o mouseMove
  public boolean mouseMove(Event evt,
                           int x,
                           int y)
Overrides:
mouseMove in class Component
 o mouseUp
  public boolean mouseUp(Event evt,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o keyDown
  public boolean keyDown(Event evt,
                         int key)
Overrides:
keyDown in class Component
 o NotifyMouseDragged
  public void NotifyMouseDragged(int x,
                                 int y)
 o NotifyMouseMove
  public void NotifyMouseMove(int x,
                              int y)
 o NotifyMouseEntered
  public void NotifyMouseEntered(int x,
                                 int y)
 o NotifyMouseExited
  public void NotifyMouseExited(int x,
                                int y)
 o NotifyMousePressed
  public void NotifyMousePressed(int x,
                                 int y)
 o NotifyMouseReleased
  public void NotifyMouseReleased(int x,
                                  int y)
 o NotifyMouseClicked
  public void NotifyMouseClicked(int x,
                                 int y)
 o getFocusObject
  public Mheg5MonitorObject getFocusObject(int x,
                                           int y)
 o sortSelectionRectangleObjectsY
  public void sortSelectionRectangleObjectsY()
 o imageUpdate
  public boolean imageUpdate(Image img,
                             int flags,
                             int x,
                             int y,
                             int w,
                             int h)
Repaints the component when the image has changed. [code is dircetly cut-n-paste from java.awt.component (lines 1176-1200) only inInc and incRate locally changed.]
Returns:
true if image has changed; false otherwise.
Overrides:
imageUpdate in class Component
 o my_update_with_rebuild
  public void my_update_with_rebuild()
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Component
 o my_update
  public void my_update()
 o update
  public void update(Graphics g)
Overrides:
update in class Component
 o paintFrame
  public synchronized void paintFrame(Graphics g)
 o drawControlButtons
  public void drawControlButtons(Graphics g)
 o drawLine2MonitorObjects
  public void drawLine2MonitorObjects(Graphics g,
                                      Mheg5MonitorObject m_obj1,
                                      Mheg5MonitorObject m_obj2)
 o getMonitorObject
  public Mheg5MonitorObject getMonitorObject(int target_id)
 o rebuild_object_table
  public void rebuild_object_table()
 o prepareObjectsDatabase
  public void prepareObjectsDatabase()
 o addNewConnectivity
  public void addNewConnectivity(Mheg5MonitorObject a,
                                 Mheg5MonitorObject b)
 o resortMonitorObjects
  public void resortMonitorObjects()
 o run
  public void run()
 o start
  public void start()
 o oneIterationResortIteration
  public synchronized void oneIterationResortIteration()
 o getDifference
  public double getDifference(double a1,
                              double a2,
                              double b1,
                              double b2)

All Packages  Class Hierarchy  This Package  Previous  Next  Index