|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.gef.base.ModeImpl
org.tigris.gef.base.FigModifyingModeImpl
org.tigris.gef.base.ModeCreate
org.tigris.gef.base.ModeCreateFigText
A Mode to interpert user input while creating a FigText. All of the actual event handling is inherited from ModeCreate. This class just implements the differences needed to make it specific to text.
Field Summary |
Fields inherited from class org.tigris.gef.base.ModeCreate |
_defaultHeight, _defaultWidth, _newItem, anchorX, anchorY |
Fields inherited from class org.tigris.gef.base.FigModifyingModeImpl |
editor |
Fields inherited from class org.tigris.gef.base.ModeImpl |
_args |
Constructor Summary | |
ModeCreateFigText()
|
Method Summary | |
org.tigris.gef.presentation.Fig |
createNewItem(java.awt.event.MouseEvent e,
int snapX,
int snapY)
Create a new FigText instance based on the given mouse down event and the state of the parent Editor. |
java.lang.String |
instructions()
Reply a string of instructions that should be shown in the statusbar when this mode starts. |
Methods inherited from class org.tigris.gef.base.ModeCreate |
createFig, creationDrag, getInitialCursor, keyPressed, mouseDragged, mousePressed, mouseReleased, paint |
Methods inherited from class org.tigris.gef.base.FigModifyingModeImpl |
done, getEditor, isFigEnclosedIn, print, setCursor, setEditor |
Methods inherited from class org.tigris.gef.base.ModeImpl |
canExit, getArg, getArgs, init, keyReleased, keyTyped, leave, mouseClicked, mouseEntered, mouseExited, mouseMoved, setArg, setArgs, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.tigris.gef.base.Mode |
canExit, getArg, getArgs, init, setArg, setArgs, start |
Constructor Detail |
public ModeCreateFigText()
Method Detail |
public java.lang.String instructions()
FigModifyingModeImpl
instructions
in interface FigModifyingMode
instructions
in class FigModifyingModeImpl
public org.tigris.gef.presentation.Fig createNewItem(java.awt.event.MouseEvent e, int snapX, int snapY)
createNewItem
in class ModeCreate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |