com.webobjects.eogeneration
Class EOEnterAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--com.webobjects.eoapplication.EOAction
|
+--com.webobjects.eogeneration.EOEnterAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public abstract class EOEnterAction
- extends EOAction
- See Also:
- Serialized Form
Fields inherited from class com.webobjects.eoapplication.EOAction |
ActivatePreviousWindowActionPriority, AppendActionPriority, BringAllWindowsToFrontActionPriority, CancelActionPriority, ClearActionPriority, CloseWindowActionPriority, DeleteActionPriority, DescriptionPathSeparator, DocumentCategoryPriority, EditCategoryPriority, FindActionPriority, HelpActionPriority, HelpCategoryPriority, InfoActionPriority, InsertActionPriority, ListActionPriority, MinimizeActiveWindowActionPriority, ModalActionsCategoryPriority, NavigationActionPriority, NavigationActionsCategoryPriority, NewMultipleWindowActionPriority, NewSingleWindowActionPriority, ObjectActionPriority, ObjectActionsCategoryPriority, OkayActionPriority, OpenActionPriority, PasteboardCopyActionPriority, PasteboardCutActionPriority, PasteboardDeleteActionPriority, PasteboardPasteActionPriority, PasteboardSelectAllActionPriority, QuitActionPriority, RedoActionPriority, RefreshActionPriority, RevertActionPriority, SaveActionPriority, SaveAllActionPriority, SaveAsActionPriority, SearchActionPriority, ToolsCategoryPriority, UndoActionPriority, WindowCategoryPriority |
Method Summary |
void |
actionPerformed(ActionEvent event)
This method is called when an action is triggered, that is, the user
presses the action's button or selects its menu item. |
protected abstract boolean |
canPerformAction(String name)
|
protected abstract void |
performAction(String name)
|
static EOAction |
standardActionForHelpWindowActivation(KeyStroke menuAccelerator,
boolean multipleWindowsAvailable,
String taskName)
|
static EOAction |
standardActionForInsertWithEntityName(String entityName)
|
static EOAction |
standardActionForListWithEntityName(String entityName)
|
static EOAction |
standardActionForOpenWithEntityName(String entityName)
|
static EOAction |
standardActionForQueryWithEntityName(String entityName)
|
static EOAction |
standardActionForToolWindowActivation(KeyStroke menuAccelerator,
boolean multipleWindowsAvailable,
String taskName)
|
static EOAction |
standardActionForWindowActivation(String descriptionPath,
String shortDescription,
KeyStroke menuAccelerator,
int categoryPriority,
int actionPriority,
String taskName)
|
Methods inherited from class com.webobjects.eoapplication.EOAction |
actionCanBePerformedInContextOfController, actionForControllerHierarchy, actionForFocusComponent, actionForObject, actionForSupercontrollers, actionName, actionPriority, actionTitle, addPropertyChangeListener, categoryPriority, descriptionPath, descriptionPathComponents, equals, firePropertyChange, icon, keyStrokeWithKeyCode, keyStrokeWithKeyCodeAndModifiers, keyStrokeWithKeyCodeAndShiftModifier, keyStrokeWithString, menuAccelerator, mergedActions, removePropertyChangeListener, setActionName, setActionPriority, setCategoryPriority, setDescriptionPath, setIcon, setMenuAccelerator, setShortDescription, setSmallIcon, setToolTip, shortDescription, smallIcon, sortedActions, standardActionForFocusComponent, standardActivatePreviousWindowActionForWindowObserver, standardAddActionForControllerHierarchy, standardAppendActionForControllerHierarchy, standardBringAllWindowsToFrontActionForWindowObserver, standardCancelActionForControllerHierarchy, standardClearActionForControllerHierarchy, standardCloseWindowActionForControllerHierarchy, standardDeleteActionForControllerHierarchy, standardDeselectActionForControllerHierarchy, standardDocumentActionForApplication, standardDocumentActionForControllerHierarchy, standardDocumentActionForControllerHierarchy, standardEditActionForControllerHierarchy, standardEditActionsForFocusComponent, standardFindActionForControllerHierarchy, standardInsertActionForControllerHierarchy, standardInsertWithTaskActionForControllerHierarchy, standardMinimizeActiveWindowActionForWindowObserver, standardOkActionForControllerHierarchy, standardOkAndSaveActionForControllerHierarchy, standardOpenWithTaskActionForControllerHierarchy, standardQuitActionForApplication, standardRedoActionForControllerHierarchy, standardRefreshActionForApplication, standardRemoveActionForControllerHierarchy, standardRevertActionForControllerHierarchy, standardSaveActionForControllerHierarchy, standardSaveAllActionForApplication, standardSaveAsActionForControllerHierarchy, standardSelectActionForControllerHierarchy, standardUndoActionForControllerHierarchy, toolTip, toString |
EOEnterAction
public EOEnterAction(String descriptionPath,
String shortDescription,
Icon icon,
Icon smallIcon,
KeyStroke menuAccelerator,
int categoryPriority,
int actionPriority,
String name)
actionPerformed
public void actionPerformed(ActionEvent event)
- Description copied from class:
EOAction
- This method is called when an action is triggered, that is, the user
presses the action's button or selects its menu item.
This method must be overridden by subclasses.
- Overrides:
actionPerformed
in class EOAction
- Following copied from class:
com.webobjects.eoapplication.EOAction
- Parameters:
event
- the ActionEvent
canPerformAction
protected abstract boolean canPerformAction(String name)
performAction
protected abstract void performAction(String name)
standardActionForHelpWindowActivation
public static EOAction standardActionForHelpWindowActivation(KeyStroke menuAccelerator,
boolean multipleWindowsAvailable,
String taskName)
standardActionForInsertWithEntityName
public static EOAction standardActionForInsertWithEntityName(String entityName)
standardActionForListWithEntityName
public static EOAction standardActionForListWithEntityName(String entityName)
standardActionForOpenWithEntityName
public static EOAction standardActionForOpenWithEntityName(String entityName)
standardActionForQueryWithEntityName
public static EOAction standardActionForQueryWithEntityName(String entityName)
standardActionForToolWindowActivation
public static EOAction standardActionForToolWindowActivation(KeyStroke menuAccelerator,
boolean multipleWindowsAvailable,
String taskName)
standardActionForWindowActivation
public static EOAction standardActionForWindowActivation(String descriptionPath,
String shortDescription,
KeyStroke menuAccelerator,
int categoryPriority,
int actionPriority,
String taskName)
Copyright © 2003 Apple Computer, Inc.