uci.gef
Class SelectionRotate
java.lang.Object
|
+--uci.gef.Selection
|
+--uci.gef.SelectionRotate
- public class SelectionRotate
- extends Selection
Selection object that allows the user to rotate the selected Fig.
Needs-more-work: not implemented yet.
- See Also:
- Serialized Form
|
Constructor Summary |
SelectionRotate(Fig f)
Construct a new SelectionRotate around the given DiagramElement |
|
Method Summary |
void |
dragHandle(int mx,
int my,
int an_x,
int an_y,
Handle h)
Rotate the Fig when the user drags the roataion
handle(s). |
void |
hitHandle(Rectangle r,
Handle h)
Returns -2 to indicate that the user did not click on a handle
or the body of the Fig. |
void |
paint(Graphics g)
Paint the selection. |
| Methods inherited from class uci.gef.Selection |
contains,
contains,
contains,
damage,
delete,
dispose,
endTrans,
getBounds,
getContent,
getContentBounds,
getLocation,
getLocked,
hit,
hitHandle,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseDragged,
mouseEntered,
mouseExited,
mouseMoved,
mousePressed,
mouseReleased,
print,
reorder,
setcontent,
startTrans,
stuffBounds,
translate |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SelectionRotate
public SelectionRotate(Fig f)
- Construct a new SelectionRotate around the given DiagramElement
paint
public void paint(Graphics g)
- Paint the selection.
- Overrides:
- paint in class Selection
dragHandle
public void dragHandle(int mx,
int my,
int an_x,
int an_y,
Handle h)
- Rotate the Fig when the user drags the roataion
handle(s). Needs-more-work: not implemented yet.
- Overrides:
- dragHandle in class Selection
hitHandle
public void hitHandle(Rectangle r,
Handle h)
- Returns -2 to indicate that the user did not click on a handle
or the body of the Fig. Needs-more-work.
- Overrides:
- hitHandle in class Selection