|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.event.ZSelectionEventHandler
ZSelectionDeleteHandler
,
ZSelectionModifyHandler
,
ZSelectionMoveHandler
,
and ZSelectionScaleHandler
ZSelectionEventHandler provides event handlers for basic
selection interaction.
Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.
Constructor Summary | |
ZSelectionEventHandler(ZNode node,
ZCanvas canvas,
ZGroup marqueeLayer)
Deprecated. Constructs a new ZSelectionEventHandler. |
Method Summary | |
boolean |
isActive()
Deprecated. Determines if this event handler is active. |
void |
keyPressed(java.awt.event.KeyEvent e)
Deprecated. Key press event handler |
void |
keyReleased(java.awt.event.KeyEvent e)
Deprecated. Key release event handler |
void |
keyTyped(java.awt.event.KeyEvent e)
Deprecated. Key typed event handler |
void |
mouseClicked(ZMouseEvent e)
Deprecated. Invoked when the mouse has been clicked on a component. |
void |
mouseDragged(ZMouseEvent e)
Deprecated. Mouse drag event handler |
void |
mouseEntered(ZMouseEvent e)
Deprecated. Invoked when the mouse enters a component. |
void |
mouseExited(ZMouseEvent e)
Deprecated. Invoked when the mouse exits a component. |
void |
mouseMoved(ZMouseEvent e)
Deprecated. Invoked when the mouse button has been moved on a node (with no buttons no down). |
void |
mousePressed(ZMouseEvent e)
Deprecated. Mouse press event handler |
void |
mouseReleased(ZMouseEvent e)
Deprecated. Mouse release event handler |
void |
setActive(boolean active)
Deprecated. Specifies whether this event handler is active or not. |
void |
setMarqueeLayer(ZGroup layer)
Deprecated. Specify the node that the selection "marquee" should be put on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZSelectionEventHandler(ZNode node, ZCanvas canvas, ZGroup marqueeLayer)
node
- The node this event handler attaches to.canvas
- The canvas this event handler attaches tomarqueeLayer
- The layer to draw the marquee onMethod Detail |
public void setActive(boolean active)
setActive
in interface ZEventHandler
active
- True to make this event handler activepublic boolean isActive()
isActive
in interface ZEventHandler
public void setMarqueeLayer(ZGroup layer)
layer
- The node that the marquee should be put underpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- The event.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- The event.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- The event.public void mousePressed(ZMouseEvent e)
mousePressed
in interface ZMouseListener
e
- The event.public void mouseDragged(ZMouseEvent e)
mouseDragged
in interface ZMouseMotionListener
e
- The event.public void mouseReleased(ZMouseEvent e)
mouseReleased
in interface ZMouseListener
e
- The event.public void mouseEntered(ZMouseEvent e)
mouseEntered
in interface ZMouseListener
public void mouseExited(ZMouseEvent e)
mouseExited
in interface ZMouseListener
public void mouseClicked(ZMouseEvent e)
mouseClicked
in interface ZMouseListener
public void mouseMoved(ZMouseEvent e)
mouseMoved
in interface ZMouseMotionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |