org.argouml.uml.diagram.sequence.ui
Class SelectionSeqObject
java.lang.Object
|
+--SelectionResize
|
+--org.argouml.uml.diagram.ui.SelectionNodeClarifiers
|
+--org.argouml.uml.diagram.ui.SelectionWButtons
|
+--org.argouml.uml.diagram.sequence.ui.SelectionSeqObject
- public class SelectionSeqObject
- extends SelectionWButtons
- See Also:
- Serialized Form
Field Summary |
protected static Category |
cat
|
static javax.swing.Icon |
stimCall
|
static javax.swing.Icon |
stimRet
|
Constructor Summary |
SelectionSeqObject(Fig f)
Construct a new SelectionClass for the given Fig |
Method Summary |
java.lang.Object |
addLinkStimulusCall(MutableGraphModel mgm,
MObject cls,
MObject newCls)
|
java.lang.Object |
addLinkStimulusReturn(MutableGraphModel mgm,
MObject cls,
MObject newCls)
|
void |
buttonClicked(int buttonCode)
|
void |
dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
|
protected java.lang.Object |
getNewNode(int buttonCode)
Not used. |
void |
hitHandle(java.awt.Rectangle r,
Handle h)
Return a handle ID for the handle under the mouse, or -1 if
none. |
void |
mouseReleased(java.awt.event.MouseEvent me)
|
void |
paintButtons(java.awt.Graphics g)
Paint the handles at the four corners and midway along each edge
of the bounding box. |
Methods inherited from class org.argouml.uml.diagram.ui.SelectionWButtons |
createEdgeAbove, createEdgeLeft, createEdgeRight, createEdgeToSelf, createEdgeUnder, getBounds, hideButtons, hitAbove, hitBelow, hitLeft, hitRight, intersectsRect, mouseEntered, mouseExited, mousePressed, paint, paintButton, paintButtonAbove, paintButtonBelow, paintButtonLeft, paintButtonRight, placeFig, toggleShowRapidButtons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected static Category cat
stimCall
public static javax.swing.Icon stimCall
stimRet
public static javax.swing.Icon stimRet
SelectionSeqObject
public SelectionSeqObject(Fig f)
- Construct a new SelectionClass for the given Fig
hitHandle
public void hitHandle(java.awt.Rectangle r,
Handle h)
- Return a handle ID for the handle under the mouse, or -1 if
none. TODO: in the future, return a Handle instance or
null.
0-------1-------2
| |
3 4
| |
5-------6-------7
paintButtons
public void paintButtons(java.awt.Graphics g)
- Paint the handles at the four corners and midway along each edge
of the bounding box.
- Specified by:
paintButtons
in class SelectionWButtons
dragHandle
public void dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
buttonClicked
public void buttonClicked(int buttonCode)
- Overrides:
buttonClicked
in class SelectionWButtons
addLinkStimulusCall
public java.lang.Object addLinkStimulusCall(MutableGraphModel mgm,
MObject cls,
MObject newCls)
addLinkStimulusReturn
public java.lang.Object addLinkStimulusReturn(MutableGraphModel mgm,
MObject cls,
MObject newCls)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent me)
- Overrides:
mouseReleased
in class SelectionWButtons
getNewNode
protected java.lang.Object getNewNode(int buttonCode)
- Not used. Only implemented here since SelectionSeqObject does not comply to the
rest of the selection with buttons classes.
- Specified by:
getNewNode
in class SelectionWButtons
- See Also:
SelectionWButtons.getNewNode(int)