org.argouml.uml.diagram.activity.ui
Class SelectionActionState
java.lang.Object
org.tigris.gef.base.Selection
org.tigris.gef.base.SelectionResize
org.tigris.gef.base.SelectionButtons
org.argouml.uml.diagram.ui.SelectionNodeClarifiers
org.argouml.uml.diagram.activity.ui.SelectionActionState
- All Implemented Interfaces:
- EventListener, KeyListener, MouseListener, MouseMotionListener, Serializable
- Direct Known Subclasses:
- SelectionCallState
- public class SelectionActionState
- extends SelectionNodeClarifiers
- See Also:
- Serialized Form
| Methods inherited from class org.tigris.gef.base.SelectionButtons |
buttonClicked, getBounds, getPressedButton, hideButtons, hitAbove, hitBelow, hitLeft, hitRight, intersectsRect, isPaintButtons, mouseEntered, mouseExited, mousePressed, mouseReleased, paintButton, paintButtonAbove, paintButtonBelow, paintButtonLeft, paintButtonRight, placeFig, setPaintButtons, setPressedButton, toggleShowRapidButtons |
| Methods inherited from class org.tigris.gef.base.Selection |
contains, contains, contains, damage, delete, dispose, endTrans, getBounds, getContent, getContentBounds, getLocation, getLocked, hit, hitHandle, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseMoved, print, reorder, setContent, translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionActionState
public SelectionActionState(Fig f)
- Construct a new SelectionActionState for the given Fig.
- Parameters:
f - The given Fig.
setOutgoingButtonEnabled
public void setOutgoingButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
setIncomingButtonEnabled
public void setIncomingButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
setIncomingLeftButtonEnabled
public void setIncomingLeftButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
setOutgoingRightButtonEnabled
public void setOutgoingRightButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
setIncomingAboveButtonEnabled
public void setIncomingAboveButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
setOutgoingBelowButtonEnabled
public void setOutgoingBelowButtonEnabled(boolean b)
- Parameters:
b - true if the buton is enabled
hitHandle
public void hitHandle(Rectangle r,
Handle h)
- See Also:
Selection.hitHandle(java.awt.Rectangle,
org.tigris.gef.presentation.Handle)
paintButtons
public void paintButtons(Graphics g)
- Overrides:
paintButtons in class SelectionNodeClarifiers
- See Also:
SelectionButtons.paintButtons(Graphics)
dragHandle
public void dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
- See Also:
Selection.dragHandle(int, int, int, int,
org.tigris.gef.presentation.Handle)
getNewNodeType
protected Object getNewNodeType(int buttonCode)
- Overrule this for other kinds.
- Parameters:
buttonCode - unused
- Returns:
- the meta type class to be created when dragged and released
getNewNode
protected Object getNewNode(int buttonCode)
- Overrides:
getNewNode in class SelectionNodeClarifiers
- See Also:
SelectionButtons.getNewNode(int)
createEdgeAbove
protected Object createEdgeAbove(MutableGraphModel mgm,
Object newNode)
- See Also:
SelectionButtons.createEdgeAbove(
org.tigris.gef.graph.MutableGraphModel, java.lang.Object)
createEdgeLeft
protected Object createEdgeLeft(MutableGraphModel gm,
Object newNode)
- See Also:
SelectionButtons.createEdgeLeft(
org.tigris.gef.graph.MutableGraphModel, java.lang.Object)
createEdgeRight
protected Object createEdgeRight(MutableGraphModel gm,
Object newNode)
- See Also:
SelectionButtons.createEdgeRight(
org.tigris.gef.graph.MutableGraphModel, java.lang.Object)
createEdgeToSelf
protected Object createEdgeToSelf(MutableGraphModel gm)
- To enable this we need to add an icon.
- See Also:
SelectionButtons.createEdgeToSelf(
org.tigris.gef.graph.MutableGraphModel)
createEdgeUnder
protected Object createEdgeUnder(MutableGraphModel gm,
Object newNode)
- See Also:
SelectionButtons.createEdgeUnder(
org.tigris.gef.graph.MutableGraphModel, java.lang.Object)