com.glaivestone.toolbox.mv.text
Class TextWindow
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.TextWindow
- public class TextWindow
- extends BasicTextWindow
A simple text window containing plain (unstyled) text.
Constructor Summary |
TextWindow()
Create a new text window with a default title. |
TextWindow(java.lang.String windowTitle)
Create a new text window with window title windowTitle . |
Method Summary |
static TextWindow |
createWindow(java.lang.String windowTitle)
Create and open a new text window with the specified window title. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_WINDOW_TITLE
public static java.lang.String DEFAULT_WINDOW_TITLE
- The default window title
TextWindow
public TextWindow()
- Create a new text window with a default title.
TextWindow
public TextWindow(java.lang.String windowTitle)
- Create a new text window with window title
windowTitle
.
createWindow
public static TextWindow createWindow(java.lang.String windowTitle)
- Create and open a new text window with the specified window title.
Answer the text window.
open
public static ApplicationView open()
- Open a view on a new text window.
Answer the view.
open
public static ApplicationView open(java.lang.String windowTitle)
- Open a view on a new text window with the specified window title.
Answer the view.
main
public static void main(java.lang.String[] args)