WebObjects 5.2.3

com.webobjects.eoapplication
Class EOActionWidgetController

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

public abstract class EOActionWidgetController
extends EOComponentController
implements EOComponentController.ActionCollector


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
EOActionWidgetController()
          
EOActionWidgetController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
 JComponent actionWidgetContainer()
          
 int actionWidgetPosition()
          
abstract  NSArray actionWidgets()
          
 NSArray collectedActions()
          
protected  void componentDidBecomeVisible()
          
protected abstract  void createWidgetsForActionsAndPlaceInContainers(NSArray actions, NSArray secondaryActions, JComponent container, JComponent secondaryContainer, int widgetPosition)
          
 void dispose()
          
protected abstract  void disposeActionWidgets()
          
protected  void generateComponent()
          
 void resetActions()
          
 JComponent secondaryActionWidgetContainer()
          
 void setActionWidgetContainer(JComponent component)
          
 void setActionWidgetPosition(int position)
          
 void setSecondaryActionWidgetContainer(JComponent component)
          
 void subcontrollerActionsDidChange(EOController controller)
          
 void subcontrollerConnectionDidChange(EOController controller)
          
protected  boolean supportsSecondaryActionWidget()
          
protected abstract  void updateActionWidgetEnabling()
          
 
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

EOActionWidgetController

public EOActionWidgetController()


EOActionWidgetController

public EOActionWidgetController(EOXMLUnarchiver unarchiver)

Parameters:
unarchiver -
Method Detail

actionWidgetContainer

public JComponent actionWidgetContainer()

Returns:

actionWidgetPosition

public int actionWidgetPosition()

Returns:

actionWidgets

public abstract NSArray actionWidgets()

Returns:

collectedActions

public NSArray collectedActions()

Specified by:
collectedActions in interface EOComponentController.ActionCollector
Returns:

componentDidBecomeVisible

protected void componentDidBecomeVisible()

Overrides:
componentDidBecomeVisible in class EOComponentController

createWidgetsForActionsAndPlaceInContainers

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

Parameters:
actions -
container -
widgetPosition -

dispose

public void dispose()

Specified by:
dispose in interface NSDisposable
Overrides:
dispose in class EOComponentController

disposeActionWidgets

protected abstract void disposeActionWidgets()


generateComponent

protected void generateComponent()

Overrides:
generateComponent in class EOComponentController

resetActions

public void resetActions()

Overrides:
resetActions in class EOController

secondaryActionWidgetContainer

public JComponent secondaryActionWidgetContainer()

Returns:

setActionWidgetContainer

public void setActionWidgetContainer(JComponent component)

Parameters:
component -

setActionWidgetPosition

public void setActionWidgetPosition(int position)

Parameters:
position -

setSecondaryActionWidgetContainer

public void setSecondaryActionWidgetContainer(JComponent component)

Parameters:
component -

subcontrollerActionsDidChange

public void subcontrollerActionsDidChange(EOController controller)

Parameters:
controller -

subcontrollerConnectionDidChange

public void subcontrollerConnectionDidChange(EOController controller)

Parameters:
controller -

supportsSecondaryActionWidget

protected boolean supportsSecondaryActionWidget()

Returns:

updateActionWidgetEnabling

protected abstract void updateActionWidgetEnabling()


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

Copyright © 2004 Apple Computer, Inc.