WebObjects 5.2

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

Inner classes inherited from class com.webobjects.eoapplication.EOAction
EOAction.ActiveWindowDependentAction, EOAction.Enabling
 
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
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EOEnterAction(String descriptionPath, String shortDescription, Icon icon, Icon smallIcon, KeyStroke menuAccelerator, int categoryPriority, int actionPriority, String name)
           
 
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
 
Methods inherited from class javax.swing.AbstractAction
clone, getKeys, getValue, isEnabled, putValue, setEnabled
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOEnterAction

public EOEnterAction(String descriptionPath,
                     String shortDescription,
                     Icon icon,
                     Icon smallIcon,
                     KeyStroke menuAccelerator,
                     int categoryPriority,
                     int actionPriority,
                     String name)
Method Detail

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)

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.