|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
edu.mines.jtk.awt.Mode
edu.mines.jtk.mosaic.TileZoomMode
public class TileZoomMode
A mode for zooming tiles and tile axes.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
TileZoomMode(ModeManager modeManager)
Constructs a tile zoom mode with specified manager. |
|
| Method Summary | |
|---|---|
protected void |
setActive(java.awt.Component component,
boolean active)
Activates or deactivates this mode for the specified component. |
| Methods inherited from class edu.mines.jtk.awt.Mode |
|---|
actionPerformed, getCursor, isActive, isExclusive, loadCursor, loadIcon, setAcceleratorKey, setActive, setCursor, setEnabled, setIcon, setLongDescription, setMnemonicKey, setName, setShortDescription |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TileZoomMode(ModeManager modeManager)
modeManager - the mode manager for this mode.| Method Detail |
|---|
protected void setActive(java.awt.Component component,
boolean active)
ModeThis method should not be called directly. The mode's manager calls this method for all of its components. Implementations of this method should do nothing for components for which the mode is inapplicable.
setActive in class Modecomponent - the component for which to enable the mode.active - true, to activate; false, to deactivate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||