uci.uml.visual
Class SelectionInterface
java.lang.Object
|
+--uci.gef.Selection
|
+--uci.gef.SelectionResize
|
+--uci.uml.visual.SelectionNodeClarifiers
|
+--uci.uml.visual.SelectionWButtons
|
+--uci.uml.visual.SelectionInterface
- public class SelectionInterface
- extends SelectionWButtons
- See Also:
- Serialized Form
| Methods inherited from class uci.uml.visual.SelectionWButtons |
getBounds,
hideButtons,
hitAbove,
hitBelow,
hitLeft,
hitRight,
intersectsRect,
mouseEntered,
mouseExited,
mousePressed,
mouseReleased,
paint,
paintButton,
paintButtonAbove,
paintButtonBelow,
paintButtonLeft,
paintButtonRight,
toggleShowRapidButtons |
| Methods inherited from class uci.gef.Selection |
contains,
contains,
contains,
damage,
delete,
dispose,
endTrans,
getContent,
getContentBounds,
getLocation,
getLocked,
hit,
hitHandle,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseDragged,
mouseMoved,
print,
reorder,
setcontent,
startTrans,
stuffBounds,
translate |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
realiz
public static Icon realiz
SelectionInterface
public SelectionInterface(Fig f)
- Construct a new SelectionInterface for the given Fig
hitHandle
public void hitHandle(Rectangle r,
Handle h)
- Return a handle ID for the handle under the mouse, or -1 if
none. Needs-More-Work: in the future, return a Handle instance or
null.
0-------1-------2
| |
3 4
| |
5-------6-------7
- Overrides:
- hitHandle in class SelectionResize
paintButtons
public void paintButtons(Graphics g)
- Paint the handles at the four corners and midway along each edge
of the bounding box.
- Overrides:
- paintButtons in class SelectionWButtons
dragHandle
public void dragHandle(int mX,
int mY,
int anX,
int anY,
Handle hand)
- Overrides:
- dragHandle in class SelectionResize
buttonClicked
public void buttonClicked(int buttonCode)
- Overrides:
- buttonClicked in class SelectionWButtons
addRealization
public Object addRealization(MutableGraphModel mgm,
Interface cls,
MMClass newCls)