com.webobjects.eoapplication
Class EOSplitController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eoapplication.EOSplitController
- All Implemented Interfaces:
- EOAction.Enabling, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- public class EOSplitController
- extends EOComponentController
- implements EOComponentController.ResetUserInterface
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
activateFirstFocusComponent, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, dispose, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, 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, showSubcontroller, 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 |
EOSplitController
public EOSplitController()
EOSplitController
public EOSplitController(EOXMLUnarchiver unarchiver)
addComponentOfSubcontroller
protected void addComponentOfSubcontroller(EOComponentController controller)
- Description copied from class:
EOComponentController
- Adds the integration component for the receiver's subcontroller,
controller
, to the user interface for the receiver.
- Overrides:
addComponentOfSubcontroller
in class EOComponentController
- Parameters:
controller
- the subcontroller to be added
allowsOneTouchExpandable
public boolean allowsOneTouchExpandable()
allowsSnapToZero
public boolean allowsSnapToZero()
generateComponent
protected void generateComponent()
- Description copied from class:
EOComponentController
Invoked when it's necessary to create the receiver's component,
including setting up the subcontroller area. Subclass implementations
of this method usually invoke setComponent
and if necessary
setSubcontrollerArea
. EOComponentController's default implementation
creates an empty EOView to hold subcontroller components.
The layout mechanisms used to integrate the components of controllers
expect that the component is generated with the minimum size possible.
- Overrides:
generateComponent
in class EOComponentController
minimumComponentSize
public Dimension minimumComponentSize()
- Description copied from class:
EOComponentController
- Returns the current minimum size required to display the receiver's
component, including the size required for its subcontroller area.
- Overrides:
minimumComponentSize
in class EOComponentController
- Returns:
- the minimum size of the controller's component
removeComponentOfSubcontroller
protected void removeComponentOfSubcontroller(EOComponentController controller)
- Description copied from class:
EOComponentController
- Removes the user interface for the receiver's subcontroller,
controller
, from the receiver's user interface and informs
controller that its integration component became invisible.
- Overrides:
removeComponentOfSubcontroller
in class EOComponentController
- Parameters:
controller
- the subcontroller to be removed
removeTransientSubcontroller
protected boolean removeTransientSubcontroller(EOController controller)
- Description copied from class:
EOComponentController
- See the method description for
removeTransientSubcontroller
in
the EOController class specification. EOComponentController's
implementation performs additional user interface cleanup for
controllers that become transient.
- Overrides:
removeTransientSubcontroller
in class EOComponentController
- Parameters:
controller
- the subcontroller becoming transient
- Returns:
true
if the subcontroller can be allowed to become transient; false
otherwise
resetUserInterface
public void resetUserInterface()
- Description copied from interface:
EOComponentController.ResetUserInterface
- Invoked to explicitly reset a controller's user interface to an original state.
- Specified by:
resetUserInterface
in interface EOComponentController.ResetUserInterface
resizeWeight
public double resizeWeight()
setAllowsOneTouchExpandable
public void setAllowsOneTouchExpandable(boolean allowsOneTouchExpandable)
setAllowsSnapToZero
public void setAllowsSnapToZero(boolean allowsSnapToZero)
setResizeWeight
public void setResizeWeight(double resizeWeight)
setUsesContinuousLayout
public void setUsesContinuousLayout(boolean usesContinuousLayout)
subcontrollerMinimumSizeDidChange
public void subcontrollerMinimumSizeDidChange(EOComponentController controller,
JComponent component,
Dimension updateMinimumSize)
- Description copied from class:
EOComponentController
- Updates the receiver's user interface to accommodate a change
to a subcontroller's minimum size. This method is invoked by
subcontrollers when they change in a way that might affect their
component's minimum size. A subcontroller sends this method with itself,
its integration component, and its new minimum size as the arguments.
The expectation is that the supercontroller will make space for the
subcontroller if it needs to.
- Overrides:
subcontrollerMinimumSizeDidChange
in class EOComponentController
- Parameters:
controller
- the subcontroller which changedcomponent
- the integration component of the subcontrollerupdateMinimumSize
- the new minimum size of the integration component
usesContinuousLayout
public boolean usesContinuousLayout()
Copyright © 2004 Apple Computer, Inc.