org.jhotdraw.draw.action
Class ToggleGridAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.draw.action.AbstractDrawingViewAction
-
- org.jhotdraw.draw.action.ToggleGridAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class ToggleGridAction extends AbstractDrawingViewAction
Toggles the grid of the current view.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor and Description ToggleGridAction(DrawingEditor editor)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent e)-
Methods inherited from class org.jhotdraw.draw.action.AbstractDrawingViewAction
dispose, isUpdatEnabledState, setUpdateEnabledState
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToggleGridAction
public ToggleGridAction(DrawingEditor editor)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG