WebObjects 5.2.3

com.webobjects.eoapplication
Class EOMenuSwitchController

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

public class EOMenuSwitchController
extends EOSwitchController


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
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)

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

displayComponentBorderSize

protected Dimension displayComponentBorderSize()
Overrides:
displayComponentBorderSize in class EOSwitchController

dispose

public void dispose()

Specified by:
dispose in interface NSDisposable
Overrides:
dispose in class EOSwitchController

newDisplayComponent

protected JComponent newDisplayComponent()

Specified by:
newDisplayComponent in class EOSwitchController
Returns:

removeBorderComponentForControllerFromDisplayComponent

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

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

selectedBorderComponentInDisplayComponent

protected JComponent selectedBorderComponentInDisplayComponent(JComponent displayComponent)

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

showBorderComponentAtIndexInDisplayComponent

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

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

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

Copyright © 2004 Apple Computer, Inc.