WebObjects 5.1

com.webobjects.eoapplication
Class EOActionButtonsController

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

public class EOActionButtonsController
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
EOActionButtonsController()
          
EOActionButtonsController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
 JComponent actionWidget()
          
protected  int actionWidgetToSubcontrollerAreaDistance()
          
protected  void createWidgetForActionsAndPlaceInContainer(NSArray actions, JComponent container, int widgetPosition)
          
protected  void disposeActionWidget()
          
 void setUsesLargeButtonRepresentation(boolean flag)
          
protected  void updateActionWidgetEnabling()
          
 boolean usesLargeButtonRepresentation()
          
 
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

EOActionButtonsController

public EOActionButtonsController()

EOActionButtonsController

public EOActionButtonsController(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

setUsesLargeButtonRepresentation

public void setUsesLargeButtonRepresentation(boolean flag)
Parameters:
flag -

updateActionWidgetEnabling

protected void updateActionWidgetEnabling()
Overrides:
updateActionWidgetEnabling in class EOActionWidgetController

usesLargeButtonRepresentation

public boolean usesLargeButtonRepresentation()
Returns:

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

Copyright © 2002 Apple Computer, Inc.