|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.glaivestone.javax.util.EventManager | +--com.glaivestone.mv.ApplicationModel | +--com.glaivestone.mv.FrameWindowApplicationModel | +--com.glaivestone.toolbox.mv.text.BasicTextWindow | +--com.glaivestone.toolbox.mv.text.TextLogWindow
A simple text log window containing plain (unstyled) text.
Field Summary | |
static java.lang.String |
DEFAULT_WINDOW_TITLE
The default window title |
Fields inherited from class com.glaivestone.toolbox.mv.text.BasicTextWindow |
NEW_LINE, TEXT_PRINT_TARGET_SPECIFICATION, TEXT_PROPERTIES_UNSTYLED, TEXT_PROPERTIES_UNSTYLED_LOG, TEXT_TYPE_SPECIFICATION, TEXT_TYPE_STYLED, TEXT_TYPE_UNSTYLED |
Constructor Summary | |
TextLogWindow()
|
|
TextLogWindow(java.lang.String windowTitle)
|
Method Summary | |
static TextLogWindow |
createWindow(java.lang.String windowTitle)
Create a new window with the specified window title. |
void |
flush()
Flush the contents of the output stream. |
java.io.PrintStream |
getPrintStream()
Answer the print strea on the log window text. |
java.io.PrintWriter |
getPrintWriter()
Answer the print writer on the log window text. |
static void |
main(java.lang.String[] args)
|
static ApplicationView |
open()
Open a view on a new text window. |
static ApplicationView |
open(java.lang.String windowTitle)
Open a view on a new text window with the specified window title. |
void |
print(java.lang.String text)
Append the given text to the text. |
void |
println()
Append an empty line to the text. |
void |
println(java.lang.String text)
Append a line containing the given text to the text. |
Methods inherited from class com.glaivestone.toolbox.mv.text.BasicTextWindow |
appendString, appendString, getCurrentAttributes, getText, getTextHolder, getTextSpecifications, setCurrentAttributes, setText, setText |
Methods inherited from class com.glaivestone.mv.FrameWindowApplicationModel |
getIconReference, getSubjectDescriptionHolder, getTitle |
Methods inherited from class com.glaivestone.mv.ApplicationModel |
closeWindow, getAllViews, getAllViews, getAllViews, getView, getWindow, openWindow, openWindow, requestCloseWindow, resolveResourceReference |
Methods inherited from class com.glaivestone.javax.util.EventManager |
addFirstListener, addListener, getEventTable, getEventTableForEdit, getListeners, removeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String DEFAULT_WINDOW_TITLE
Constructor Detail |
public TextLogWindow()
public TextLogWindow(java.lang.String windowTitle)
Method Detail |
public static TextLogWindow createWindow(java.lang.String windowTitle)
public static ApplicationView open()
public static ApplicationView open(java.lang.String windowTitle)
public java.io.PrintStream getPrintStream()
public java.io.PrintWriter getPrintWriter()
public void flush()
public void print(java.lang.String text)
public void println()
public void println(java.lang.String text)
public static void main(java.lang.String[] args)
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |