|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.event.ZSelectionScaleHandler
ZSelectionScaleHandler is a selection handler for use with a
ZSelectionManager. ZSelectionScaleHandler
allows
the user to scale the current selection using the PgUp / PgDn keys.
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.
ZSelectionManager
,
ZCompositeSelectionHandler
, Serialized FormConstructor Summary | |
ZSelectionScaleHandler(ZCamera camera,
ZCanvas canvas)
Construct a new ZSelectionScaleHandler. |
|
ZSelectionScaleHandler(ZCanvas canvas)
Construct a new ZSelectionScaleHandler. |
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 |
setActive(boolean active)
Specifies whether this event handler is active |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZSelectionScaleHandler(ZCanvas canvas)
node
- The node this event handler attaches tocanvas
- The canvas on which this event handler is activepublic ZSelectionScaleHandler(ZCamera camera, ZCanvas canvas)
node
- The node this event handler attaches tocamera
- The camera on which this event handler operatescanvas
- The canvas on which this event handler is activeMethod 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 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |