org.argouml.uml.diagram.sequence.ui
Class SelectionClassifierRole
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.sequence.ui.SelectionClassifierRole
- All Implemented Interfaces:
- EventListener, KeyListener, MouseListener, MouseMotionListener, Serializable
- public class SelectionClassifierRole
- extends SelectionNodeClarifiers
A custom select object to handle the special requirements of reshaping
a classifier role.
- See Also:
- Serialized Form
|
Method Summary |
void |
dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
Make sure that the north facing handles cannot be dragged as
part of a resize. |
protected Object |
getNewNode(int buttonCode)
|
| Methods inherited from class org.tigris.gef.base.SelectionButtons |
buttonClicked, createEdgeAbove, createEdgeLeft, createEdgeRight, createEdgeToSelf, createEdgeUnder, 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 |
SelectionClassifierRole
public SelectionClassifierRole(Fig f)
- The constructor.
- Parameters:
f - the fig
dragHandle
public void dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
- Make sure that the north facing handles cannot be dragged as
part of a resize.
- See Also:
Selection.dragHandle(int, int, int, int,
org.tigris.gef.presentation.Handle)
getNewNode
protected Object getNewNode(int buttonCode)
- Overrides:
getNewNode in class SelectionNodeClarifiers
- See Also:
SelectionNodeClarifiers.getNewNode(int)