|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--SelectionResize
|
+--org.argouml.uml.diagram.ui.SelectionNodeClarifiers
|
+--org.argouml.uml.diagram.ui.SelectionWButtons
|
+--org.argouml.uml.diagram.collaboration.ui.SelectionClassifierRole
| Field Summary | |
|---|---|
protected boolean |
_showIncoming
|
protected boolean |
_showOutgoing
|
static javax.swing.Icon |
assocrole
|
protected static Category |
cat
|
static javax.swing.Icon |
selfassoc
|
| Fields inherited from class org.argouml.uml.diagram.ui.SelectionWButtons |
|---|
_paintButtons, _pressedButton, _showRapidButtons, IMAGE_SIZE, MARGIN, Num_Button_Clicks, PRESSED_COLOR |
| Constructor Summary | |
|---|---|
SelectionClassifierRole(Fig f)
Construct a new SelectionClassifierRole for the given Fig |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
createEdgeAbove(MutableGraphModel mgm,
java.lang.Object newNode)
Subclasses should override this method if they want to provide a quickbutton above the _content fig. |
protected java.lang.Object |
createEdgeLeft(MutableGraphModel gm,
java.lang.Object newNode)
Subclasses should override this method if they want to provide a quickbutton at the left of the _content fig. |
protected java.lang.Object |
createEdgeRight(MutableGraphModel gm,
java.lang.Object newNode)
Subclasses should override this method if they want to provide a quickbutton at the right of the _content fig. |
protected java.lang.Object |
createEdgeToSelf(MutableGraphModel gm)
To enable this we need to add an icon. |
protected java.lang.Object |
createEdgeUnder(MutableGraphModel gm,
java.lang.Object newNode)
Subclasses should override this method if they want to provide a quickbutton under the _content fig. |
void |
dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
|
protected java.lang.Object |
getNewNode(int buttonCode)
create a new ClassifierRole object. |
void |
hitHandle(java.awt.Rectangle r,
Handle h)
|
void |
paintButtons(java.awt.Graphics g)
Paint the handles at the four corners and midway along each edge of the bounding box. |
void |
setIncomingButtonEnabled(boolean b)
|
void |
setOutgoingButtonEnabled(boolean b)
|
| Methods inherited from class org.argouml.uml.diagram.ui.SelectionWButtons |
|---|
buttonClicked, getBounds, hideButtons, hitAbove, hitBelow, hitLeft, hitRight, intersectsRect, mouseEntered, mouseExited, mousePressed, mouseReleased, 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 |
| Field Detail |
protected static Category cat
public static javax.swing.Icon assocrole
public static javax.swing.Icon selfassoc
protected boolean _showIncoming
protected boolean _showOutgoing
| Constructor Detail |
public SelectionClassifierRole(Fig f)
| Method Detail |
public void setIncomingButtonEnabled(boolean b)
public void setOutgoingButtonEnabled(boolean b)
public void hitHandle(java.awt.Rectangle r,
Handle h)
public void paintButtons(java.awt.Graphics g)
paintButtons in class SelectionWButtons
public void dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
protected java.lang.Object getNewNode(int buttonCode)
getNewNode in class SelectionWButtonsSelectionWButtons.getNewNode(int)
protected java.lang.Object createEdgeAbove(MutableGraphModel mgm,
java.lang.Object newNode)
SelectionWButtons
createEdgeAbove in class SelectionWButtonsmgm - newNode - The node (modelelement) created by pressing the
quickbutton
org.argouml.uml.diagram.ui.SelectionWButtons#createEdgeAbove(org.tigris.gef.graph.MutableGraphModel,
java.lang.Object)
protected java.lang.Object createEdgeLeft(MutableGraphModel gm,
java.lang.Object newNode)
SelectionWButtons
createEdgeLeft in class SelectionWButtonsgm - newNode - The node (modelelement) created by pressing the
quickbutton
org.argouml.uml.diagram.ui.SelectionWButtons#createEdgeLeft(org.tigris.gef.graph.MutableGraphModel,
java.lang.Object)
protected java.lang.Object createEdgeRight(MutableGraphModel gm,
java.lang.Object newNode)
SelectionWButtons
createEdgeRight in class SelectionWButtonsgm - newNode - The node (modelelement) created by pressing the
quickbutton
org.argouml.uml.diagram.ui.SelectionWButtons#createEdgeRight(org.tigris.gef.graph.MutableGraphModel,
java.lang.Object)protected java.lang.Object createEdgeToSelf(MutableGraphModel gm)
createEdgeToSelf in class SelectionWButtonsgm -
org.argouml.uml.diagram.ui.SelectionWButtons#createEdgeToSelf(org.tigris.gef.graph.MutableGraphModel)
protected java.lang.Object createEdgeUnder(MutableGraphModel gm,
java.lang.Object newNode)
SelectionWButtons
createEdgeUnder in class SelectionWButtonsgm - newNode - The node (modelelement) created by pressing the
quickbutton
org.argouml.uml.diagram.ui.SelectionWButtons#createEdgeUnder(org.tigris.gef.graph.MutableGraphModel,
java.lang.Object)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |