WebObjects 5.4.2

com.webobjects.eoapplication
Class EOActionButtonsController

java.lang.Object
  extended by com.webobjects.eoapplication.EOController
      extended by com.webobjects.eoapplication.EOComponentController
          extended by com.webobjects.eoapplication.EOActionWidgetController
              extended by com.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/interfaces inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Nested classes/interfaces inherited from interface 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.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

disposeActionWidgets

protected void disposeActionWidgets()

Specified by:
disposeActionWidgets in class EOActionWidgetController

setUsesLargeButtonRepresentation

public void setUsesLargeButtonRepresentation(boolean flag)

Parameters:
flag -

usesLargeButtonRepresentation

public boolean usesLargeButtonRepresentation()

Returns:

supportsSecondaryActionWidget

protected boolean supportsSecondaryActionWidget()

Overrides:
supportsSecondaryActionWidget in class EOActionWidgetController
Returns:

actionWidgets

public NSArray actionWidgets()

Specified by:
actionWidgets in class EOActionWidgetController
Returns:

updateActionWidgetEnabling

protected void updateActionWidgetEnabling()

Specified by:
updateActionWidgetEnabling in class EOActionWidgetController

createWidgetsForActionsAndPlaceInContainers

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

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

Last updated June 2008

Copyright © 2000-2008 Apple Inc.