uci.gef
Class ModeCreateFigRect
java.lang.Object
|
+--uci.gef.Mode
|
+--uci.gef.ModeCreate
|
+--uci.gef.ModeCreateFigRect
- public class ModeCreateFigRect
- extends ModeCreate
A Mode to interpert user input while creating a FigRect. All of
the actual event handling is inherited from ModeCreate. This class
just implements the differences needed to make it specific to
rectangles.
- See Also:
- Serialized Form
| Methods inherited from class uci.gef.Mode |
canExit,
done,
getArg,
getArgs,
getEditor,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseEntered,
mouseExited,
mouseMoved,
print,
setArg,
setArgs,
setCursor,
setEditor,
start |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ModeCreateFigRect
public ModeCreateFigRect()
instructions
public String instructions()
- Overrides:
- instructions in class Mode
createNewItem
public Fig createNewItem(MouseEvent me,
int snapX,
int snapY)
- Create a new FigRect instance based on the given mouse down
event and the state of the parent Editor.
- Overrides:
- createNewItem in class ModeCreate