|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
PIRL.Viewers.Stream_Viewer
public class Stream_Viewer
A Stream_Viewer provides a viewer application attached to stdin.
This is a demonstration application for the use of a Stream_Monitor with a Stream_Logger.
Stream_Monitor,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
DEFAULT_CONFIGURATION_PATHNAME
|
static int |
EXIT_COMMAND_LINE_SYNTAX
Exit status when a command line syntax problem occurs. |
static int |
EXIT_CONFIGURATION_PROBLEM
Exit status when a configuration problem occurs. |
static int |
EXIT_SUCCESS
Exit status on success. |
static String |
ID
Class name and version identification. |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Stream_Viewer()
Constructs a default Stream_Viewer. |
|
Stream_Viewer(String title,
InputStream source,
Configuration configuration)
Constructs a Stream_Viewer. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Start a Stream_Viewer. |
static void |
Usage()
Prints the command line usage syntax. |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final String ID
public static final String DEFAULT_CONFIGURATION_PATHNAME
public static final int EXIT_SUCCESS
public static final int EXIT_COMMAND_LINE_SYNTAX
public static final int EXIT_CONFIGURATION_PROBLEM
| Constructor Detail |
|---|
public Stream_Viewer(String title,
InputStream source,
Configuration configuration)
title - The title String for the window. If null,
the default "Stream Viewer" title will be used.source - An InputStream used as the source of text to
be viewed. If null System.in will be used.configuration - A Configuration (not currently used).public Stream_Viewer()
Stream_Viewer(String, InputStream, Configuration)| Method Detail |
|---|
public static void main(String[] args)
args - The application command line arguments.Usage()public static void Usage()
Usage: Stream_Viewer <Options> Options - [-Configuration <source>] [-Help]
N.B.This method always results in a System.exit with a status
of EXIT_COMMAND_LINE_SYNTAX.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||