|
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.ZLinkEventHandler
ZLinkEventHandler is a simple event handler for interactively creating hyperlinks
| Constructor Summary | |
ZLinkEventHandler(ZNode node,
ZCanvas canvas)
Create a new link event handler. |
|
| Method Summary | |
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)
Invoked when a mouse button is pressed on a node and then dragged. |
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)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(ZMouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
setActive(boolean active)
Specifies whether this event handler is active or not. |
protected void |
updateHilite(ZMouseEvent e)
Internal method to update the hilite on the object the mouse moves over. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ZLinkEventHandler(ZNode node,
ZCanvas canvas)
node - The node this event handler attaches to.canvas - The canvas this event handler attaches to| Method Detail |
public void setActive(boolean active)
active - True to make this event handler activeprotected void updateHilite(ZMouseEvent e)
e - The mouse event that generated the hilite requestpublic 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 mouseMoved(ZMouseEvent e)
public void mousePressed(ZMouseEvent e)
public void mouseDragged(ZMouseEvent e)
public void mouseReleased(ZMouseEvent e)
public void mouseEntered(ZMouseEvent e)
public void mouseExited(ZMouseEvent e)
public void mouseClicked(ZMouseEvent e)
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||