com.webobjects.eoapplication
Class EOActionWidgetController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.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
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 |
EOActionWidgetController
public EOActionWidgetController()
-
EOActionWidgetController
public EOActionWidgetController(EOXMLUnarchiver unarchiver)
-
- Parameters:
unarchiver
-
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()
-
Copyright © 2004 Apple Computer, Inc.