WebObjects 5.4.2

com.webobjects.eoapplication
Class EOProgrammaticSwitchController

java.lang.Object
  extended by com.webobjects.eoapplication.EOController
      extended by com.webobjects.eoapplication.EOComponentController
          extended by com.webobjects.eoapplication.EOSwitchController
              extended by com.webobjects.eoapplication.EOProgrammaticSwitchController
All Implemented Interfaces:
EOAction.Enabling, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOProgrammaticSwitchController
extends EOSwitchController


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Nested classes/interfaces inherited from interface 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.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EOProgrammaticSwitchController()
          
EOProgrammaticSwitchController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
protected  void addBorderComponentForControllerToDisplayComponent(EOComponentController controller, JComponent borderComponent, JComponent displayComponent)
          
protected  JComponent newDisplayComponent()
          
protected  void removeBorderComponentForControllerFromDisplayComponent(EOComponentController controller, JComponent borderComponent, JComponent displayComponent, int index)
          
protected  JComponent selectedBorderComponentInDisplayComponent(JComponent displayComponent)
          
protected  void showBorderComponentAtIndexInDisplayComponent(JComponent borderComponent, JComponent displayComponent, int index)
          
 
Methods inherited from class com.webobjects.eoapplication.EOSwitchController
addComponentOfSubcontroller, borderComponents, borderedSizeForComponentSize, borderSize, componentDidBecomeInvisible, componentDidBecomeVisible, componentShouldChange, componentSizeForBorderedSize, componentSwitched, displayComponentBorderSize, dispose, generateComponent, hideSubcontroller, minimumComponentSize, removeComponentOfSubcontroller, removeTransientSubcontroller, resetUserInterface, showBorderComponentAtIndex, showSubcontroller, subcontrollerMinimumSizeDidChange, subcontrollerVisibilityDidChange, switchedControllers, visibleBorderComponentIndex
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOProgrammaticSwitchController

public EOProgrammaticSwitchController()


EOProgrammaticSwitchController

public EOProgrammaticSwitchController(EOXMLUnarchiver unarchiver)

Parameters:
unarchiver -
Method Detail

newDisplayComponent

protected JComponent newDisplayComponent()

Specified by:
newDisplayComponent in class EOSwitchController
Returns:

selectedBorderComponentInDisplayComponent

protected JComponent selectedBorderComponentInDisplayComponent(JComponent displayComponent)

Specified by:
selectedBorderComponentInDisplayComponent in class EOSwitchController
Parameters:
displayComponent -
Returns:

addBorderComponentForControllerToDisplayComponent

protected void addBorderComponentForControllerToDisplayComponent(EOComponentController controller,
                                                                 JComponent borderComponent,
                                                                 JComponent displayComponent)

Specified by:
addBorderComponentForControllerToDisplayComponent in class EOSwitchController
Parameters:
controller -
borderComponent -
displayComponent -

removeBorderComponentForControllerFromDisplayComponent

protected void removeBorderComponentForControllerFromDisplayComponent(EOComponentController controller,
                                                                      JComponent borderComponent,
                                                                      JComponent displayComponent,
                                                                      int index)

Specified by:
removeBorderComponentForControllerFromDisplayComponent in class EOSwitchController
Parameters:
controller -
borderComponent -
displayComponent -
index -

showBorderComponentAtIndexInDisplayComponent

protected void showBorderComponentAtIndexInDisplayComponent(JComponent borderComponent,
                                                            JComponent displayComponent,
                                                            int index)

Specified by:
showBorderComponentAtIndexInDisplayComponent in class EOSwitchController
Parameters:
borderComponent -
displayComponent -
index -

Last updated June 2008

Copyright © 2000-2008 Apple Inc.