|
Jazz API Documentation | |||||||||
| 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
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)
Constructs a new ZSelectionEventHandler. |
|
| Method Summary | |
boolean |
isActive()
Determines if this event handler is active. |
void |
keyPressed(java.awt.event.KeyEvent e)
Key press event handler |
void |
keyReleased(java.awt.event.KeyEvent e)
Key release event handler |
void |
keyTyped(java.awt.event.KeyEvent e)
Key typed event handler |
void |
mouseClicked(ZMouseEvent e)
Invoked when the mouse has been clicked on a component. |
void |
mouseDragged(ZMouseEvent e)
Mouse drag event handler |
void |
mouseEntered(ZMouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(ZMouseEvent e)
Invoked when the mouse exits a component. |
void |
mouseMoved(ZMouseEvent e)
Invoked when the mouse button has been moved on a node (with no buttons no down). |
void |
mousePressed(ZMouseEvent e)
Mouse press event handler |
void |
mouseReleased(ZMouseEvent e)
Mouse release event handler |
void |
setActive(boolean active)
Specifies whether this event handler is active or not. |
void |
setMarqueeLayer(ZGroup layer)
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 on| Method Detail |
public void setActive(boolean active)
active - True to make this event handler activepublic boolean isActive()
public void setMarqueeLayer(ZGroup layer)
layer - The node that the marquee should be put underpublic void keyPressed(java.awt.event.KeyEvent e)
e - The event.public void keyReleased(java.awt.event.KeyEvent e)
e - The event.public void keyTyped(java.awt.event.KeyEvent e)
e - The event.public void mousePressed(ZMouseEvent e)
e - The event.public void mouseDragged(ZMouseEvent e)
e - The event.public void mouseReleased(ZMouseEvent e)
e - The event.public void mouseEntered(ZMouseEvent e)
public void mouseExited(ZMouseEvent e)
public void mouseClicked(ZMouseEvent e)
public void mouseMoved(ZMouseEvent e)
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||