WebObjects 5.4.2

com.webobjects.eoapplication
Class EOModalDialogController

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

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

runControllerInNewModalDialog

public static void runControllerInNewModalDialog(EOComponentController controller,
                                                 String windowTitle)

Parameters:
controller -
windowTitle -

isModal

public boolean isModal()

Specified by:
isModal in interface EOComponentController.Modal
Returns:

finishModal

public void finishModal()

Specified by:
finishModal in interface EOComponentController.Modal

newWindow

protected Window newWindow(JComponent component)

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

activateWindow

public void activateWindow()

Overrides:
activateWindow in class EOSimpleWindowController

closeWindow

public boolean closeWindow()

Overrides:
closeWindow in class EOSimpleWindowController
Returns:

Last updated June 2008

Copyright © 2000-2008 Apple Inc.