WebObjects 5.2.3

com.webobjects.eoapplication
Class EOActionButtonsController

java.lang.Object
  extended bycom.webobjects.eoapplication.EOController
      extended bycom.webobjects.eoapplication.EOComponentController
          extended bycom.webobjects.eoapplication.EOActionWidgetController
              extended bycom.webobjects.eoapplication.EOActionButtonsController
All Implemented Interfaces:
EOAction.Enabling, EOComponentController.ActionCollector, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOActionButtonsController
extends EOActionWidgetController


Nested Class Summary
 
Nested classes inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Nested classes inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Field Summary
 
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, ControllerAndSupercontrollersEnumeration, SubcontrollersEnumeration, SupercontrollersEnumeration
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EOActionButtonsController()
          
EOActionButtonsController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
 NSArray actionWidgets()
          
protected  void createWidgetsForActionsAndPlaceInContainers(NSArray actions, NSArray secondaryActions, JComponent container, JComponent secondaryContainer, int widgetPosition)
          
protected  void disposeActionWidgets()
          
 void setUsesLargeButtonRepresentation(boolean flag)
          
protected  boolean supportsSecondaryActionWidget()
          
protected  void updateActionWidgetEnabling()
          
 boolean usesLargeButtonRepresentation()
          
 
Methods inherited from class com.webobjects.eoapplication.EOActionWidgetController
actionWidgetContainer, actionWidgetPosition, collectedActions, componentDidBecomeVisible, dispose, generateComponent, resetActions, secondaryActionWidgetContainer, setActionWidgetContainer, setActionWidgetPosition, setSecondaryActionWidgetContainer, subcontrollerActionsDidChange, subcontrollerConnectionDidChange
 
Methods inherited from class com.webobjects.eoapplication.EOComponentController
activateFirstFocusComponent, addComponentOfSubcontroller, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, insets, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, lastFocusComponent, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setFirstFocusComponent, setIcon, setInsets, setLabel, setLastFocusComponent, setPrefersIconOnly, setSubcontrollerArea, setToolTip, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toolTip, toolTipComponent, toString, usesHorizontalLayout
 
Methods inherited from class com.webobjects.eoapplication.EOController
actionNames, actions, actionWithName, additionalActions, additionalKeyValuePairs, 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, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, 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

EOActionButtonsController

public EOActionButtonsController()


EOActionButtonsController

public EOActionButtonsController(EOXMLUnarchiver unarchiver)

Parameters:
unarchiver -
Method Detail

actionWidgets

public NSArray actionWidgets()

Specified by:
actionWidgets in class EOActionWidgetController
Returns:

createWidgetsForActionsAndPlaceInContainers

protected void createWidgetsForActionsAndPlaceInContainers(NSArray actions,
                                                           NSArray secondaryActions,
                                                           JComponent container,
                                                           JComponent secondaryContainer,
                                                           int widgetPosition)

Specified by:
createWidgetsForActionsAndPlaceInContainers in class EOActionWidgetController
Parameters:
actions -
container -
widgetPosition -

disposeActionWidgets

protected void disposeActionWidgets()

Specified by:
disposeActionWidgets in class EOActionWidgetController

setUsesLargeButtonRepresentation

public void setUsesLargeButtonRepresentation(boolean flag)

Parameters:
flag -

supportsSecondaryActionWidget

protected boolean supportsSecondaryActionWidget()

Overrides:
supportsSecondaryActionWidget in class EOActionWidgetController
Returns:

updateActionWidgetEnabling

protected void updateActionWidgetEnabling()

Specified by:
updateActionWidgetEnabling in class EOActionWidgetController

usesLargeButtonRepresentation

public boolean usesLargeButtonRepresentation()

Returns:

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.