org.argouml.uml.diagram.sequence.ui
Class SelectionMessage

java.lang.Object
  extended byorg.tigris.gef.base.Selection
      extended byorg.tigris.gef.base.SelectionReshape
          extended byorg.argouml.uml.diagram.sequence.ui.SelectionMessage
All Implemented Interfaces:
EventListener, KeyListener, MouseListener, MouseMotionListener, Serializable

public class SelectionMessage
extends SelectionReshape

A custom select object to handle the special requirements of reshaping a and dragging a message.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.gef.base.Selection
BORDER_WIDTH, HAND_SIZE
 
Constructor Summary
SelectionMessage(Fig f)
          The constructor.
 
Method Summary
 void dragHandle(int mX, int mY, int anX, int anY, Handle h)
          Override drag handle so that it no longer allows dragging of handles.
 
Methods inherited from class org.tigris.gef.base.SelectionReshape
hitHandle, keyPressed, keyReleased, paint, updateEdgeEnds
 
Methods inherited from class org.tigris.gef.base.Selection
contains, contains, contains, damage, delete, dispose, endTrans, getBounds, getBounds, getContent, getContentBounds, getLocation, getLocked, hit, hitHandle, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, print, reorder, setContent, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.KeyListener
keyTyped
 

Constructor Detail

SelectionMessage

public SelectionMessage(Fig f)
The constructor.

Parameters:
f - The Fig.
Method Detail

dragHandle

public void dragHandle(int mX,
                       int mY,
                       int anX,
                       int anY,
                       Handle h)
Override drag handle so that it no longer allows dragging of handles. TODO: Need to figure out how I can get this to drag the fig up and down.

See Also:
Selection.dragHandle(int, int, int, int, org.tigris.gef.presentation.Handle)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook