com.webobjects.eoapplication
Class EOModalDialogController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eoapplication.EOWindowController
com.webobjects.eoapplication.EOSimpleWindowController
com.webobjects.eoapplication.EODialogController
com.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. |
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 |
EOModalDialogController
public EOModalDialogController()
-
EOModalDialogController
public EOModalDialogController(EOXMLUnarchiver unarchiver)
-
- Parameters:
unarchiver
-
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
-
Copyright © 2004 Apple Computer, Inc.