|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kvid.visual.GmfDrawer
public final class GmfDrawer
Drawer class implementation for GMF.
Method Summary | |
---|---|
Point |
centerFigureOnPoint(Point thepoint,
IFigure thefigure)
Use this to center a figure on a certain Point . |
void |
clearDrawing()
Removes KViD drawings from the UI. |
void |
draw(HashMap<KvidUri,DataObject> dataSet)
Draws the given data to the UI. |
static GmfDrawer |
getInstance()
Gives the single instance of the GmfDrawer. |
void |
triggerDataChanged(boolean isHistoryValue)
Method to be called when the data relvant ot the listener is changed. |
void |
triggerWrapup()
Method to be called when the visualization is finished. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GmfDrawer getInstance()
public void draw(HashMap<KvidUri,DataObject> dataSet)
draw
in interface IDrawer
dataSet
- The data to visualize on the UIpublic void clearDrawing()
clearDrawing
in interface IDrawer
public Point centerFigureOnPoint(Point thepoint, IFigure thefigure)
Point
. Otherwise, the
figure will be placed with it's upper left corner on the Point.
thepoint
- The Point
to center onthefigure
- The IFigure
to center
Point
where to put the IFigure
so that the
figure is centered on the given pointpublic void triggerDataChanged(boolean isHistoryValue)
triggerDataChanged
in interface IDataListener
isHistoryValue
- Shows whether this is a new value or we a browsing in the pastpublic void triggerWrapup()
triggerWrapup
in interface IDataListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |