|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the basic interface for all Modes that are manipulating the visual representation of the underlying model. It is a subclass of Mode.
Mode
,
FigModifyingModeImpl
,
Editor
Method Summary | |
Editor |
getEditor()
Get the parent Editor of this Mode |
java.awt.Cursor |
getInitialCursor()
Returns the cursor that should be shown when this Mode starts. |
java.lang.String |
instructions()
Reply a string of instructions that should be shown in the statusbar when this mode starts. |
boolean |
isFigEnclosedIn(org.tigris.gef.presentation.Fig testedFig,
org.tigris.gef.presentation.Fig enclosingFig)
Tests, if the actually handled fig is contained in the one given as parameter. |
void |
paint(java.awt.Graphics g)
Modes can paint themselves to give the user feedback. |
void |
print(java.awt.Graphics g)
Just calls paint(g) bt default. |
void |
setCursor(java.awt.Cursor c)
Set the mouse cursor to some appropriate for this mode. |
void |
setEditor(Editor w)
Set the parent Editor of this Mode |
Methods inherited from interface org.tigris.gef.base.Mode |
canExit, done, getArg, getArgs, init, setArg, setArgs, start |
Method Detail |
public void setEditor(Editor w)
public Editor getEditor()
public java.awt.Cursor getInitialCursor()
public java.lang.String instructions()
public void setCursor(java.awt.Cursor c)
public void paint(java.awt.Graphics g)
public void print(java.awt.Graphics g)
public boolean isFigEnclosedIn(org.tigris.gef.presentation.Fig testedFig, org.tigris.gef.presentation.Fig enclosingFig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |