|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.glaivestone.mv.WindowEventAdaptor | +--com.glaivestone.toolbox.mv.text.SessionStreamWindowController
Installed on a window used as the system output or error stream. Provides services to install a log stream application as the standard system output or error stream. Ensures that the system stream is reset to something suitable when the stream window is closed.
Constructor Summary | |
SessionStreamWindowController(java.io.PrintStream appPrintStream,
java.awt.Frame aWindow)
|
Method Summary | |
void |
confirmWindowClose(WindowEvent event)
Confirmation event that a window is about to be closed if the operation is not vetoed by a listener. |
void |
installInSessionStreams()
Install the print target window as the current session output streams. |
void |
installInSessionStreams(boolean captureSysOut,
boolean captureSysErr)
Install the print target window as the current session output streams. |
void |
mustBeLastOpenWindow(boolean mustBeLastOpenWindow)
Specify whether the session output target window should insist on being the last guy standing in the current UI session. |
void |
windowClosing(WindowEvent event)
Notification event that a window is going to be closed. |
Methods inherited from class com.glaivestone.mv.WindowEventAdaptor |
windowClosed, windowOpened |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SessionStreamWindowController(java.io.PrintStream appPrintStream, java.awt.Frame aWindow)
Method Detail |
public void confirmWindowClose(WindowEvent event) throws VetoException
confirmWindowClose
in interface WindowEventListener
confirmWindowClose
in class WindowEventAdaptor
VetoException
WindowEventListener.confirmWindowClose(WindowEvent)
public void installInSessionStreams()
public void installInSessionStreams(boolean captureSysOut, boolean captureSysErr)
public void mustBeLastOpenWindow(boolean mustBeLastOpenWindow)
public void windowClosing(WindowEvent event)
windowClosing
in interface WindowEventListener
windowClosing
in class WindowEventAdaptor
WindowEventListener.windowClosing(com.glaivestone.mv.WindowEvent)
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |