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:
- EOAction.Enabling, EOComponentController.Activation, EOComponentController.ResetUserInterface, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, ActionListener, ComponentListener, WindowListener, EventListener
- 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
-
dispose
public void dispose()
-
- Specified by:
dispose
in interface NSDisposable
- Overrides:
dispose
in class EOWindowController
addComponentOfSubcontroller
protected void addComponentOfSubcontroller(EOComponentController controller)
-
- Overrides:
addComponentOfSubcontroller
in class EOComponentController
- Parameters:
controller
-
newWindow
protected Window newWindow()
-
- Returns:
resetUserInterface
public void resetUserInterface()
-
- Specified by:
resetUserInterface
in interface EOComponentController.ResetUserInterface
setLabel
public void setLabel(String string)
-
- Overrides:
setLabel
in class EOComponentController
- Parameters:
string
-
activateWindow
public void activateWindow()
-
- Specified by:
activateWindow
in class EOWindowController
deactivateWindow
public void deactivateWindow()
-
subcontrollerMinimumSizeDidChange
public void subcontrollerMinimumSizeDidChange(EOComponentController controller,
JComponent component,
Dimension updateMinimumSize)
-
- Overrides:
subcontrollerMinimumSizeDidChange
in class EOComponentController
- Parameters:
controller
- component
- updateMinimumSize
-
setDisposeIfDeactivated
public void setDisposeIfDeactivated(boolean flag)
-
- Parameters:
flag
-
disposeIfDeactivated
public boolean disposeIfDeactivated()
-
- Returns:
integrationComponentDidBecomeVisible
protected void integrationComponentDidBecomeVisible()
-
- Overrides:
integrationComponentDidBecomeVisible
in class EOComponentController
integrationComponentDidBecomeInvisible
protected void integrationComponentDidBecomeInvisible()
-
- Overrides:
integrationComponentDidBecomeInvisible
in class EOComponentController
componentDidBecomeVisible
protected void componentDidBecomeVisible()
-
- Overrides:
componentDidBecomeVisible
in class EOComponentController
componentDidBecomeInvisible
protected void componentDidBecomeInvisible()
-
- Overrides:
componentDidBecomeInvisible
in class EOWindowController
makeVisible
public boolean makeVisible()
-
- Overrides:
makeVisible
in class EOComponentController
- Returns:
subcontrollerEditedDidChange
public void subcontrollerEditedDidChange(EOController controller)
-
- Parameters:
controller
-
newWindow
protected abstract Window newWindow(JComponent component)
-
- Parameters:
component
-
- Returns:
verifyContentMinimumSize
protected Dimension verifyContentMinimumSize(Window window,
Dimension size)
-
- Parameters:
window
- size
-
- Returns:
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()
-
setWindow
public void setWindow(Window window)
-
window
public Window window()
-
- Returns:
closeWindow
public boolean closeWindow()
-
- Returns:
windowOpened
public void windowOpened(WindowEvent event)
-
- Specified by:
windowOpened
in interface WindowListener
- Parameters:
event
-
windowClosing
public void windowClosing(WindowEvent event)
-
- Specified by:
windowClosing
in interface WindowListener
- Parameters:
event
-
windowClosed
public void windowClosed(WindowEvent event)
-
- Specified by:
windowClosed
in interface WindowListener
- Parameters:
event
-
windowActivated
public void windowActivated(WindowEvent event)
-
- Specified by:
windowActivated
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
-
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
-
Copyright © 2000-2008 Apple Inc.