org.jhotdraw.app.action.edit
Class AbstractFindAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.app.action.AbstractViewAction
-
- org.jhotdraw.app.action.edit.AbstractFindAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- FindAction
public abstract class AbstractFindAction extends AbstractViewAction
Presents a find dialog to the user and then highlights the found items in the active view.This action is called when the user selects the Find item in the Edit menu. The menu item is automatically created by the application.
If you want this behavior in your application, you have to create an action with this ID and put it in your
ApplicationModelin methodApplicationModel.initApplication(org.jhotdraw.app.Application).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID-
Fields inherited from class org.jhotdraw.app.action.AbstractViewAction
ENABLED_PROPERTY, VIEW_PROPERTY
-
-
Constructor Summary
Constructors Constructor and Description AbstractFindAction(Application app, View view)Creates a new instance.
-
Method Summary
-
Methods inherited from class org.jhotdraw.app.action.AbstractViewAction
getActiveView, getApplication, isEnabled, setEnabled
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractFindAction
public AbstractFindAction(Application app, @Nullable View view)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG