com.webobjects.eoapplication
Class EOSimpleWindowController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eoapplication.EOWindowController
com.webobjects.eoapplication.EOSimpleWindowController
- All Implemented Interfaces:
- ActionListener, ComponentListener, EOAction.Enabling, EOComponentController.Activation, EOComponentController.ResetUserInterface, EventListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, WindowListener
- Direct Known Subclasses:
- EODialogController, EOFrameController
- public abstract class EOSimpleWindowController
- extends EOWindowController
- implements WindowListener, ComponentListener, EOComponentController.ResetUserInterface
| 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, windowBorderSize, 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 |
EOSimpleWindowController
public EOSimpleWindowController()
-
EOSimpleWindowController
public EOSimpleWindowController(EOXMLUnarchiver unarchiver)
-
- Parameters:
unarchiver -
activateWindow
public void activateWindow()
-
- Specified by:
activateWindow in class EOWindowController
addComponentOfSubcontroller
protected void addComponentOfSubcontroller(EOComponentController controller)
-
- Overrides:
addComponentOfSubcontroller in class EOComponentController
- Parameters:
controller -
closeWindow
public boolean closeWindow()
-
- Returns:
componentDidBecomeInvisible
protected void componentDidBecomeInvisible()
-
- Overrides:
componentDidBecomeInvisible in class EOWindowController
componentDidBecomeVisible
protected void componentDidBecomeVisible()
-
- Overrides:
componentDidBecomeVisible in class EOComponentController
componentHidden
public void componentHidden(ComponentEvent event)
-
- Specified by:
componentHidden in interface ComponentListener
- Parameters:
event -
componentMoved
public void componentMoved(ComponentEvent event)
-
- Specified by:
componentMoved in interface ComponentListener
- Parameters:
event -
componentResized
public void componentResized(ComponentEvent event)
-
- Specified by:
componentResized in interface ComponentListener
- Parameters:
event -
componentShown
public void componentShown(ComponentEvent event)
-
- Specified by:
componentShown in interface ComponentListener
- Parameters:
event -
deactivateWindow
public void deactivateWindow()
-
dispose
public void dispose()
-
- Specified by:
dispose in interface NSDisposable- Overrides:
dispose in class EOWindowController
disposeIfDeactivated
public boolean disposeIfDeactivated()
-
- Returns:
integrationComponentDidBecomeInvisible
protected void integrationComponentDidBecomeInvisible()
-
- Overrides:
integrationComponentDidBecomeInvisible in class EOComponentController
integrationComponentDidBecomeVisible
protected void integrationComponentDidBecomeVisible()
-
- Overrides:
integrationComponentDidBecomeVisible in class EOComponentController
makeVisible
public boolean makeVisible()
-
- Overrides:
makeVisible in class EOComponentController
- Returns:
newWindow
protected Window newWindow()
-
- Returns:
newWindow
protected abstract Window newWindow(JComponent component)
-
- Parameters:
component -
- Returns:
resetUserInterface
public void resetUserInterface()
-
- Specified by:
resetUserInterface in interface EOComponentController.ResetUserInterface
setDisposeIfDeactivated
public void setDisposeIfDeactivated(boolean flag)
-
- Parameters:
flag -
setLabel
public void setLabel(String string)
-
- Overrides:
setLabel in class EOComponentController
- Parameters:
string -
setWindow
public void setWindow(Window window)
-
setWindowResizable
protected abstract void setWindowResizable(Window window,
boolean flag)
-
- Parameters:
window - flag -
setWindowTitle
protected abstract void setWindowTitle(Window window,
String title)
-
- Parameters:
window - title -
startListeningToWindow
protected void startListeningToWindow()
-
stopListeningToWindow
protected void stopListeningToWindow()
-
subcontrollerEditedDidChange
public void subcontrollerEditedDidChange(EOController controller)
-
- Parameters:
controller -
subcontrollerMinimumSizeDidChange
public void subcontrollerMinimumSizeDidChange(EOComponentController controller,
JComponent component,
Dimension updateMinimumSize)
-
- Overrides:
subcontrollerMinimumSizeDidChange in class EOComponentController
- Parameters:
controller - component - updateMinimumSize -
verifyContentMinimumSize
protected Dimension verifyContentMinimumSize(Window window,
Dimension size)
-
- Parameters:
window - size -
- Returns:
window
public Window window()
-
- Returns:
windowActivated
public void windowActivated(WindowEvent event)
-
- Specified by:
windowActivated in interface WindowListener
- Parameters:
event -
windowClosed
public void windowClosed(WindowEvent event)
-
- Specified by:
windowClosed in interface WindowListener
- Parameters:
event -
windowClosing
public void windowClosing(WindowEvent event)
-
- Specified by:
windowClosing in interface WindowListener
- Parameters:
event -
windowDeactivated
public void windowDeactivated(WindowEvent event)
-
- Specified by:
windowDeactivated in interface WindowListener
- Parameters:
event -
windowDeiconified
public void windowDeiconified(WindowEvent event)
-
- Specified by:
windowDeiconified in interface WindowListener
- Parameters:
event -
windowIconified
public void windowIconified(WindowEvent event)
-
- Specified by:
windowIconified in interface WindowListener
- Parameters:
event -
windowOpened
public void windowOpened(WindowEvent event)
-
- Specified by:
windowOpened in interface WindowListener
- Parameters:
event -
Copyright © 2004 Apple Computer, Inc.