WebObjects 5.2

com.webobjects.eoapplication
Class EOMenuSwitchController

java.lang.Object
  |
  +--com.webobjects.eoapplication.EOController
        |
        +--com.webobjects.eoapplication.EOComponentController
              |
              +--com.webobjects.eoapplication.EOSwitchController
                    |
                    +--com.webobjects.eoapplication.EOMenuSwitchController
All Implemented Interfaces:
EOAction.Enabling, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOMenuSwitchController
extends EOSwitchController


Inner classes inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Inner classes inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
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
EOMenuSwitchController()
          
EOMenuSwitchController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
protected  void addBorderComponentForControllerToDisplayComponent(EOComponentController controller, JComponent borderComponent, JComponent displayComponent)
          
protected  Dimension displayComponentBorderSize()
           
 void dispose()
          
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, 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

EOMenuSwitchController

public EOMenuSwitchController()

EOMenuSwitchController

public EOMenuSwitchController(EOXMLUnarchiver unarchiver)
Parameters:
unarchiver -
Method Detail

addBorderComponentForControllerToDisplayComponent

protected void addBorderComponentForControllerToDisplayComponent(EOComponentController controller,
                                                                 JComponent borderComponent,
                                                                 JComponent displayComponent)
Overrides:
addBorderComponentForControllerToDisplayComponent in class EOSwitchController
Parameters:
controller -
borderComponent -
displayComponent -

displayComponentBorderSize

protected Dimension displayComponentBorderSize()
Overrides:
displayComponentBorderSize in class EOSwitchController

dispose

public void dispose()
Overrides:
dispose in class EOSwitchController

newDisplayComponent

protected JComponent newDisplayComponent()
Overrides:
newDisplayComponent in class EOSwitchController
Returns:

removeBorderComponentForControllerFromDisplayComponent

protected void removeBorderComponentForControllerFromDisplayComponent(EOComponentController controller,
                                                                      JComponent borderComponent,
                                                                      JComponent displayComponent,
                                                                      int index)
Overrides:
removeBorderComponentForControllerFromDisplayComponent in class EOSwitchController
Parameters:
controller -
borderComponent -
displayComponent -
index -

selectedBorderComponentInDisplayComponent

protected JComponent selectedBorderComponentInDisplayComponent(JComponent displayComponent)
Overrides:
selectedBorderComponentInDisplayComponent in class EOSwitchController
Parameters:
displayComponent -
Returns:

showBorderComponentAtIndexInDisplayComponent

protected void showBorderComponentAtIndexInDisplayComponent(JComponent borderComponent,
                                                            JComponent displayComponent,
                                                            int index)
Overrides:
showBorderComponentAtIndexInDisplayComponent in class EOSwitchController
Parameters:
borderComponent -
displayComponent -
index -

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.