com.webobjects.eoapplication
Class EOSwitchController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eoapplication.EOSwitchController
- All Implemented Interfaces:
- EOAction.Enabling, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- Direct Known Subclasses:
- EOMenuSwitchController, EOProgrammaticSwitchController, EOTabSwitchController
public abstract class EOSwitchController
- extends EOComponentController
- implements EOComponentController.ResetUserInterface
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
activateFirstFocusComponent, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, icon, insets, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, lastFocusComponent, makeInvisible, makeVisible, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setFirstFocusComponent, setIcon, setInsets, setLabel, setLastFocusComponent, setPrefersIconOnly, setSubcontrollerArea, setToolTip, setUsesHorizontalLayout, setVisible, showInSupercontroller, subcontrollerArea, 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, resetActions, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EOSwitchController
public EOSwitchController()
-
EOSwitchController
public EOSwitchController(EOXMLUnarchiver unarchiver)
-
- Parameters:
unarchiver
-
dispose
public void dispose()
-
- Specified by:
dispose
in interface NSDisposable
- Overrides:
dispose
in class EOComponentController
addComponentOfSubcontroller
protected void addComponentOfSubcontroller(EOComponentController controller)
-
- Overrides:
addComponentOfSubcontroller
in class EOComponentController
- Parameters:
controller
-
removeComponentOfSubcontroller
protected void removeComponentOfSubcontroller(EOComponentController controller)
-
- Overrides:
removeComponentOfSubcontroller
in class EOComponentController
- Parameters:
controller
-
removeTransientSubcontroller
protected boolean removeTransientSubcontroller(EOController controller)
-
- Overrides:
removeTransientSubcontroller
in class EOComponentController
- Parameters:
controller
-
- Returns:
- See Also:
EOController.disposeIfTransient()
newDisplayComponent
protected abstract JComponent newDisplayComponent()
-
- Returns:
generateComponent
protected void generateComponent()
-
- Overrides:
generateComponent
in class EOComponentController
minimumComponentSize
public Dimension minimumComponentSize()
-
- Overrides:
minimumComponentSize
in class EOComponentController
- Returns:
resetUserInterface
public void resetUserInterface()
-
- Specified by:
resetUserInterface
in interface EOComponentController.ResetUserInterface
subcontrollerVisibilityDidChange
public void subcontrollerVisibilityDidChange(EOComponentController controller)
-
- Parameters:
controller
-
componentDidBecomeVisible
protected void componentDidBecomeVisible()
-
- Overrides:
componentDidBecomeVisible
in class EOComponentController
componentDidBecomeInvisible
protected void componentDidBecomeInvisible()
-
- Overrides:
componentDidBecomeInvisible
in class EOComponentController
showSubcontroller
protected boolean showSubcontroller(EOComponentController controller)
-
- Overrides:
showSubcontroller
in class EOComponentController
- Parameters:
controller
-
- Returns:
hideSubcontroller
protected boolean hideSubcontroller(EOComponentController controller)
-
- Overrides:
hideSubcontroller
in class EOComponentController
- Parameters:
controller
-
- Returns:
displayComponentBorderSize
protected Dimension displayComponentBorderSize()
borderSize
public Dimension borderSize()
borderedSizeForComponentSize
public Dimension borderedSizeForComponentSize(Dimension componentSize)
-
- Parameters:
componentSize
-
- Returns:
componentSizeForBorderedSize
public Dimension componentSizeForBorderedSize(Dimension componentSize)
-
- Parameters:
componentSize
-
- Returns:
subcontrollerMinimumSizeDidChange
public void subcontrollerMinimumSizeDidChange(EOComponentController controller,
JComponent component,
Dimension updateMinimumSize)
-
- Overrides:
subcontrollerMinimumSizeDidChange
in class EOComponentController
- Parameters:
controller
- component
- updateMinimumSize
-
switchedControllers
protected NSArray switchedControllers()
-
- Returns:
borderComponents
protected NSArray borderComponents()
-
- Returns:
showBorderComponentAtIndex
protected void showBorderComponentAtIndex(int index)
-
- Parameters:
index
-
visibleBorderComponentIndex
protected int visibleBorderComponentIndex()
-
- Returns:
selectedBorderComponentInDisplayComponent
protected abstract JComponent selectedBorderComponentInDisplayComponent(JComponent displayComponent)
-
- Parameters:
displayComponent
-
- Returns:
addBorderComponentForControllerToDisplayComponent
protected abstract void addBorderComponentForControllerToDisplayComponent(EOComponentController controller,
JComponent borderComponent,
JComponent displayComponent)
-
- Parameters:
controller
- borderComponent
- displayComponent
-
removeBorderComponentForControllerFromDisplayComponent
protected abstract void removeBorderComponentForControllerFromDisplayComponent(EOComponentController controller,
JComponent borderComponent,
JComponent displayComponent,
int index)
-
- Parameters:
controller
- borderComponent
- displayComponent
- index
-
showBorderComponentAtIndexInDisplayComponent
protected abstract void showBorderComponentAtIndexInDisplayComponent(JComponent borderComponent,
JComponent displayComponent,
int index)
-
- Parameters:
borderComponent
- displayComponent
- index
-
componentShouldChange
public boolean componentShouldChange(int newIndex)
-
- Parameters:
newIndex
-
- Returns:
componentSwitched
public void componentSwitched(int selectedIndex)
-
- Parameters:
selectedIndex
-
Copyright © 2000-2008 Apple Inc.