WebObjects 5.1

com.webobjects.eoapplication
Class EOActionMenuController

java.lang.Object
  |
  +--com.webobjects.eoapplication.EOController
        |
        +--com.webobjects.eoapplication.EOComponentController
              |
              +--com.webobjects.eoapplication.EOActionWidgetController
                    |
                    +--com.webobjects.eoapplication.EOActionMenuController
All Implemented Interfaces:
EOAction.Enabling, EOComponentController.ActionCollector, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOActionMenuController
extends EOActionWidgetController


Inner classes inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Inner classes inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Fields inherited from class com.webobjects.eoapplication.EOComponentController
Bottom, BottomLeft, BottomRight, Center, Left, Right, Top, TopLeft, TopRight
 
Fields inherited from class com.webobjects.eoapplication.EOController
ControllerAndSubcontrollersEnumeration, SubcontrollersEnumeration, SupercontrollersEnumeration
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EOActionMenuController()
          
EOActionMenuController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
 JComponent actionWidget()
          
protected  int actionWidgetToSubcontrollerAreaDistance()
          
protected  void createWidgetForActionsAndPlaceInContainer(NSArray actions, JComponent container, int widgetPosition)
          
protected  void disposeActionWidget()
          
protected  void updateActionWidgetEnabling()
          
 
Methods inherited from class com.webobjects.eoapplication.EOActionWidgetController
actionWidgetContainer, actionWidgetPosition, collectedActions, componentDidBecomeVisible, dispose, generateComponent, resetActions, setActionWidgetContainer, setActionWidgetPosition, subcontrollerActionsDidChange, subcontrollerConnectionDidChange
 
Methods inherited from class com.webobjects.eoapplication.EOComponentController
addComponentOfSubcontroller, alignmentWidth, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignmentWidth, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setIcon, setLabel, setPrefersIconOnly, setSubcontrollerArea, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toString, usesHorizontalLayout
 
Methods inherited from class com.webobjects.eoapplication.EOController
actionNames, actions, actionWithName, addSubcontroller, breakConnection, breakConnectionToSubcontrollers, canAccessFieldsDirectly, canPerformActionNamed, connectionWasBroken, connectionWasEstablished, controllerEnumeration, controllersInEnumeration, controllersWithKeyValuePair, controllersWithKeyValuePairs, controllerWithKeyValuePair, controllerWithKeyValuePairs, defaultActions, disableActionNamed, disposableRegistry, disposeIfTransient, enableActionNamed, enabledActions, establishConnection, establishConnectionToSupercontrollers, handleQueryWithUnboundKey, hierarchicalControllerForKey, hierarchicalValueForKey, invokeMethod, isActionNamedEnabled, isAncestorOfController, isConnected, isSupercontrollerOfController, isTransientExplicitlyForbidden, prepareForNewTask, removeFromSupercontroller, removeSubcontroller, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOActionMenuController

public EOActionMenuController()

EOActionMenuController

public EOActionMenuController(EOXMLUnarchiver unarchiver)
Parameters:
unarchiver -
Method Detail

actionWidget

public JComponent actionWidget()
Overrides:
actionWidget in class EOActionWidgetController
Returns:

actionWidgetToSubcontrollerAreaDistance

protected int actionWidgetToSubcontrollerAreaDistance()
Overrides:
actionWidgetToSubcontrollerAreaDistance in class EOActionWidgetController
Returns:

createWidgetForActionsAndPlaceInContainer

protected void createWidgetForActionsAndPlaceInContainer(NSArray actions,
                                                         JComponent container,
                                                         int widgetPosition)
Overrides:
createWidgetForActionsAndPlaceInContainer in class EOActionWidgetController
Parameters:
actions -
container -
widgetPosition -

disposeActionWidget

protected void disposeActionWidget()
Overrides:
disposeActionWidget in class EOActionWidgetController

updateActionWidgetEnabling

protected void updateActionWidgetEnabling()
Overrides:
updateActionWidgetEnabling in class EOActionWidgetController

Last updated Thu Jan 10 18:10:21 PST 2002.

Copyright © 2002 Apple Computer, Inc.