WebObjects 5.2.3

com.webobjects.eoapplication
Class EOModalDialogController

java.lang.Object
  extended bycom.webobjects.eoapplication.EOController
      extended bycom.webobjects.eoapplication.EOComponentController
          extended bycom.webobjects.eoapplication.EOWindowController
              extended bycom.webobjects.eoapplication.EOSimpleWindowController
                  extended bycom.webobjects.eoapplication.EODialogController
                      extended bycom.webobjects.eoapplication.EOModalDialogController
All Implemented Interfaces:
ActionListener, ComponentListener, EOAction.Enabling, EOComponentController.Activation, EOComponentController.Modal, EOComponentController.ResetUserInterface, EventListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, WindowListener

public class EOModalDialogController
extends EODialogController
implements EOComponentController.Modal


Nested Class Summary
static interface EOModalDialogController.ModalActions
          The EOModalDialogController.ModalActions interface defines the methods subcontrollers of modal dialog controllers have to implement to handle closing of the dialog.
 
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
EOModalDialogController()
          
EOModalDialogController(EOXMLUnarchiver unarchiver)
          
 
Method Summary
 void activateWindow()
          
 boolean closeWindow()
          
 void finishModal()
          
 boolean isModal()
          
protected  Window newWindow(JComponent component)
          
static void runControllerInNewModalDialog(EOComponentController controller, String windowTitle)
          
 
Methods inherited from class com.webobjects.eoapplication.EODialogController
runControllerInNewDialog, setWindowResizable, setWindowTitle, windowBorderSize
 
Methods inherited from class com.webobjects.eoapplication.EOSimpleWindowController
addComponentOfSubcontroller, componentDidBecomeInvisible, componentDidBecomeVisible, componentHidden, componentMoved, componentResized, componentShown, deactivateWindow, dispose, disposeIfDeactivated, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, makeVisible, newWindow, resetUserInterface, setDisposeIfDeactivated, setLabel, setWindow, startListeningToWindow, stopListeningToWindow, subcontrollerEditedDidChange, subcontrollerMinimumSizeDidChange, verifyContentMinimumSize, window, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class com.webobjects.eoapplication.EOWindowController
actionPerformed, activate, borderedSizeForComponentSize, borderSize, componentShouldBeResizable, componentSizeForBorderedSize, defaultActions, generateBorderSizeForRootPaneContainerClass, generateComponent, integrationComponent, minimumIntegrationComponentSize, removeTransientSubcontroller, setUsesActivationAction, setUsesActivationButton, setUsesUserDefaultsWindowLocation, setUsesUserDefaultsWindowSize, setWindowPosition, usesActivationAction, usesActivationButton, usesUserDefaultsWindowLocation, usesUserDefaultsWindowSize, windowPosition
 
Methods inherited from class com.webobjects.eoapplication.EOComponentController
activateFirstFocusComponent, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, insets, isComponentPrepared, isRootComponentController, isVisible, label, lastFocusComponent, makeInvisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setFirstFocusComponent, setIcon, setInsets, 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, 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

EOModalDialogController

public EOModalDialogController()


EOModalDialogController

public EOModalDialogController(EOXMLUnarchiver unarchiver)

Parameters:
unarchiver -
Method Detail

activateWindow

public void activateWindow()

Overrides:
activateWindow in class EOSimpleWindowController

closeWindow

public boolean closeWindow()

Overrides:
closeWindow in class EOSimpleWindowController
Returns:

finishModal

public void finishModal()

Specified by:
finishModal in interface EOComponentController.Modal
Returns:

isModal

public boolean isModal()

Specified by:
isModal in interface EOComponentController.Modal
Returns:

newWindow

protected Window newWindow(JComponent component)

Overrides:
newWindow in class EODialogController
Parameters:
component -
Returns:

runControllerInNewModalDialog

public static void runControllerInNewModalDialog(EOComponentController controller,
                                                 String windowTitle)

Parameters:
controller -
windowTitle -

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

Copyright © 2004 Apple Computer, Inc.