public class ToggleGridAction extends AbstractDrawingViewAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
| Constructor and Description |
|---|
ToggleGridAction(DrawingEditor editor)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected void |
updateViewState()
This method is called when the active drawing view of the
drawing editor changed.
|
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState, updateEnabledStatepublic static final java.lang.String ID
public ToggleGridAction(DrawingEditor editor)
public void actionPerformed(java.awt.event.ActionEvent e)
protected void updateViewState()
AbstractDrawingViewActionupdateViewState in class AbstractDrawingViewAction