public class ToggleLineWrapAction extends AbstractViewAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
ENABLED_PROPERTY, VIEW_PROPERTY
Constructor and Description |
---|
ToggleLineWrapAction(Application app,
View view)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
TeddyView |
getActiveView() |
protected void |
updateView()
This method is invoked, when the property changed and when
the view changed.
|
getApplication, getPropertyName, installViewListeners, isEnabled, setEnabled, setPropertyName, uninstallViewListeners, updateEnabled, updateView
public static final java.lang.String ID
public ToggleLineWrapAction(Application app, View view)
public void actionPerformed(java.awt.event.ActionEvent e)
public TeddyView getActiveView()
getActiveView
in class AbstractViewAction
protected void updateView()
AbstractViewAction
updateView
in class AbstractViewAction