|
||||||||||
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.ModeBroom
Field Summary |
Fields inherited from class org.tigris.gef.base.FigModifyingModeImpl |
editor |
Fields inherited from class org.tigris.gef.base.ModeImpl |
_args |
Constructor Summary | |
ModeBroom()
Construct a new ModeBroom instance. |
|
ModeBroom(Editor par)
Construct a new ModeBroom with the given parent. |
Method Summary | |
void |
addNewItems()
|
void |
doDistibute(boolean alignToGrid,
boolean doCentering)
|
java.lang.String |
instructions()
Reply a string of instructions that should be shown in the statusbar when this mode starts. |
void |
keyPressed(java.awt.event.KeyEvent ke)
|
void |
mouseDragged(java.awt.event.MouseEvent me)
On mouse dragging, stretch the selection rectangle. |
void |
mousePressed(java.awt.event.MouseEvent me)
Handle mouse down events by preparing for a drag. |
void |
mouseReleased(java.awt.event.MouseEvent me)
On mouse up, select or toggle the selection of items under the mouse or in the selection rectangle. |
void |
paint(java.awt.Graphics g)
Paint this mode by painting the selection rectangle if appropriate. |
java.util.Vector |
touching()
|
Methods inherited from class org.tigris.gef.base.FigModifyingModeImpl |
done, getEditor, getInitialCursor, 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 ModeBroom(Editor par)
public ModeBroom()
Method Detail |
public void mousePressed(java.awt.event.MouseEvent me)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class ModeImpl
public void mouseDragged(java.awt.event.MouseEvent me)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class ModeImpl
public void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class ModeImpl
public void addNewItems()
public void keyPressed(java.awt.event.KeyEvent ke)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class ModeImpl
public void doDistibute(boolean alignToGrid, boolean doCentering)
public java.util.Vector touching()
public java.lang.String instructions()
instructions
in interface FigModifyingMode
instructions
in class FigModifyingModeImpl
public void paint(java.awt.Graphics g)
paint
in interface FigModifyingMode
paint
in class FigModifyingModeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |