WebObjects 5.2.3

com.webobjects.eoapplication
Class EOSplitController

java.lang.Object
  extended bycom.webobjects.eoapplication.EOController
      extended bycom.webobjects.eoapplication.EOComponentController
          extended bycom.webobjects.eoapplication.EOSplitController
All Implemented Interfaces:
EOAction.Enabling, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOSplitController
extends EOComponentController
implements EOComponentController.ResetUserInterface


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
EOSplitController()
           
EOSplitController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
protected  void addComponentOfSubcontroller(EOComponentController controller)
          Adds the integration component for the receiver's subcontroller, controller, to the user interface for the receiver.
 boolean allowsOneTouchExpandable()
           
 boolean allowsSnapToZero()
           
protected  void generateComponent()
          Invoked when it's necessary to create the receiver's component, including setting up the subcontroller area.
 Dimension minimumComponentSize()
          Returns the current minimum size required to display the receiver's component, including the size required for its subcontroller area.
protected  void removeComponentOfSubcontroller(EOComponentController controller)
          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.
protected  boolean removeTransientSubcontroller(EOController controller)
          See the method description for removeTransientSubcontroller in the EOController class specification.
 void resetUserInterface()
          Invoked to explicitly reset a controller's user interface to an original state.
 double resizeWeight()
           
 void setAllowsOneTouchExpandable(boolean allowsOneTouchExpandable)
           
 void setAllowsSnapToZero(boolean allowsSnapToZero)
           
 void setResizeWeight(double resizeWeight)
           
 void setUsesContinuousLayout(boolean usesContinuousLayout)
           
 void subcontrollerMinimumSizeDidChange(EOComponentController controller, JComponent component, Dimension updateMinimumSize)
          Updates the receiver's user interface to accommodate a change to a subcontroller's minimum size.
 boolean usesContinuousLayout()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOSplitController

public EOSplitController()

EOSplitController

public EOSplitController(EOXMLUnarchiver unarchiver)
Method Detail

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 changed
component - the integration component of the subcontroller
updateMinimumSize - the new minimum size of the integration component

usesContinuousLayout

public boolean usesContinuousLayout()

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

Copyright © 2004 Apple Computer, Inc.