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
-
dispose
public void dispose()
-
- Specified by:
dispose
in interface NSDisposable
- Overrides:
dispose
in class EOComponentController
disposeActionWidgets
protected abstract void disposeActionWidgets()
-
setActionWidgetPosition
public void setActionWidgetPosition(int position)
-
- Parameters:
position
-
actionWidgetPosition
public int actionWidgetPosition()
-
- Returns:
setActionWidgetContainer
public void setActionWidgetContainer(JComponent component)
-
- Parameters:
component
-
actionWidgetContainer
public JComponent actionWidgetContainer()
-
- Returns:
setSecondaryActionWidgetContainer
public void setSecondaryActionWidgetContainer(JComponent component)
-
- Parameters:
component
-
secondaryActionWidgetContainer
public JComponent secondaryActionWidgetContainer()
-
- Returns:
generateComponent
protected void generateComponent()
-
- Overrides:
generateComponent
in class EOComponentController
supportsSecondaryActionWidget
protected boolean supportsSecondaryActionWidget()
-
- Returns:
actionWidgets
public abstract NSArray actionWidgets()
-
- Returns:
updateActionWidgetEnabling
protected abstract void updateActionWidgetEnabling()
-
createWidgetsForActionsAndPlaceInContainers
protected abstract void createWidgetsForActionsAndPlaceInContainers(NSArray actions,
NSArray secondaryActions,
JComponent container,
JComponent secondaryContainer,
int widgetPosition)
-
- Parameters:
actions
- container
- widgetPosition
-
componentDidBecomeVisible
protected void componentDidBecomeVisible()
-
- Overrides:
componentDidBecomeVisible
in class EOComponentController
subcontrollerConnectionDidChange
public void subcontrollerConnectionDidChange(EOController controller)
-
- Parameters:
controller
-
subcontrollerActionsDidChange
public void subcontrollerActionsDidChange(EOController controller)
-
- Parameters:
controller
-
collectedActions
public NSArray collectedActions()
-
- Specified by:
collectedActions
in interface EOComponentController.ActionCollector
- Returns:
resetActions
public void resetActions()
-
- Overrides:
resetActions
in class EOController
Copyright © 2000-2008 Apple Inc.