Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.modama.gui.mgraph.actions
Class ToggleZoomCursor  view ToggleZoomCursor download ToggleZoomCursor.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.modama.gui.mgraph.actions.AbstractDefaultAction
          extended byorg.modama.gui.mgraph.actions.ToggleZoomCursor
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ToggleZoomCursor
extends AbstractDefaultAction

toggles the ZoomCursor to the viewer


Field Summary
 
Fields inherited from class org.modama.gui.mgraph.actions.AbstractDefaultAction
app
 
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
ToggleZoomCursor(org.modama.gui.mgraph.MApp app)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is invoked when an action occurs.
 boolean isCheckBox()
          let this return true if this action is a checkbox
 boolean isChecked(java.lang.Object onThisModel)
          if ifCheckBox returns true, than this method also should be overriden so it returns the state of the checkbox for the given model object
 
Methods inherited from class org.modama.gui.mgraph.actions.AbstractDefaultAction
getApp, getAsButton, getAsMenuItem, getCurrentDoc, getCurrentGraph, getName, isActive, setApp, update
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleZoomCursor

public ToggleZoomCursor(org.modama.gui.mgraph.MApp app)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.


isCheckBox

public boolean isCheckBox()
Description copied from class: AbstractDefaultAction
let this return true if this action is a checkbox

Overrides:
isCheckBox in class AbstractDefaultAction

isChecked

public boolean isChecked(java.lang.Object onThisModel)
Description copied from class: AbstractDefaultAction
if ifCheckBox returns true, than this method also should be overriden so it returns the state of the checkbox for the given model object

Overrides:
isChecked in class AbstractDefaultAction