Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveWindowChangedNotification
public static final String ActiveWindowChangedNotification
LastWindowClosedNotification
public static final String LastWindowClosedNotification
EOWindowObserver
protected EOWindowObserver()
activateBestWindow
public void activateBestWindow()
activatePreviousWindow
public void activatePreviousWindow()
- Activates the previously active window. The user can usually
trigger this method from the Window menu.
activeWindow
public Window activeWindow()
- Returns:
blockActiveWindowChangedNotification
public void blockActiveWindowChangedNotification()
bringAllWindowsToFront
public void bringAllWindowsToFront()
canPerformActionNamed
public boolean canPerformActionNamed(String actionName)
- Implemented to handle window observer specific action enabling and disabling.
- Specified by:
canPerformActionNamed
in interface EOAction.Enabling
- Parameters:
actionName
- the action method name- Returns:
true
if the action should be enabled; false
otherwise- See Also:
EOAction.Enabling
controllerForActiveWindow
public EOController controllerForActiveWindow()
- Returns:
controllerForLatestDeactivatedWindow
public EOController controllerForLatestDeactivatedWindow()
- Returns:
controllerForWindow
public EOController controllerForWindow(Window window)
- Parameters:
window
- - Returns:
dispose
public void dispose()
- Specified by:
dispose
in interface NSDisposable
latestDeactivatedWindow
public Window latestDeactivatedWindow()
- Returns:
minimizeActiveWindow
public void minimizeActiveWindow()
previousWindowToActivate
public Window previousWindowToActivate()
- Returns:
registerWindow
public void registerWindow(Window window,
EOController controller)
- Parameters:
window
- controller
-
registerWindow
public void registerWindow(Window window)
- Parameters:
window
-
registeredWindows
public NSArray registeredWindows()
- Returns:
unblockActiveWindowChangedNotification
public void unblockActiveWindowChangedNotification()
unregisterWindow
public void unregisterWindow(Window window)
- Parameters:
window
-
unregisterWindowOfController
public void unregisterWindowOfController(EOController controller)
- Parameters:
controller
-
visibleWindows
public NSArray visibleWindows()
- 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
-
windowDidBecomeActive
protected void windowDidBecomeActive(Window window)
- Parameters:
window
-
windowDidBecomeInactive
protected void windowDidBecomeInactive(Window window)
- Parameters:
window
-
windowDidBecomeInvisible
protected void windowDidBecomeInvisible(Window window)
- Parameters:
window
-
windowDidBecomeVisible
protected void windowDidBecomeVisible(Window window)
- Parameters:
window
-
windowForController
public Window windowForController(EOController controller)
- Parameters:
controller
- - Returns:
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 © 2003 Apple Computer, Inc.