|
![]() |
||||||||||
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
uk.org.iscream.cms.conient.Conient
This is the main class of the Conient client. This sets up the control panel, the data panel and its own display.
Nested Class Summary | |
private class |
Conient.Splash
An inner class to display a splash screen |
Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
(package private) static JLabel |
_controlStatus
Displays information about the data link |
(package private) static JLabel |
_dataStatus
Displays information about the data link |
(package private) static JTextArea |
_messages
The place where system messages are written. |
(package private) static JLabel |
_queueStatus
Displays information about the inbound data queue. |
private static Frame |
conientFrame
Holds a reference to the root frame for Conient This is only used by dialogs (specifically the configurationn dialog) so that it can be modal, please use the accessor. |
static String |
DEFAULT_CONFIG_FILE
The default configuration fle This can be specified on the command line |
private int |
DEFAULT_HEIGHT
The initial height of the window |
private int |
DEFAULT_WIDTH
The initial width of the window |
static int |
DISPLAY_SPLASH_TIME_SECONDS
The time in seconds to display the splash screen for |
String |
REVISION
The current CVS revision of this class |
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.Window |
|
Fields inherited from class java.awt.Container |
|
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 | |
private |
Conient(JSplitPane data,
ControlPanel control)
Creates a new Swing Client Frame |
Method Summary | |
static void |
addMessage(String message)
Adds a system message to the messages list |
static Frame |
getFrame()
A static accessor, allowing components of the system to get hold of the root frame of the system. |
static void |
main(String[] args)
The first method that is called. |
static void |
setControlStatus(String status)
Sets the control link status. |
static void |
setDataStatus(String status)
Sets the data link status. |
static void |
setQueueStatus(int currentQueue,
int numElements)
Updates the queue status. |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public final String REVISION
private final int DEFAULT_WIDTH
private final int DEFAULT_HEIGHT
public static final String DEFAULT_CONFIG_FILE
public static final int DISPLAY_SPLASH_TIME_SECONDS
static JLabel _controlStatus
static JLabel _dataStatus
static JLabel _queueStatus
static JTextArea _messages
private static Frame conientFrame
Constructor Detail |
private Conient(JSplitPane data, ControlPanel control)
Method Detail |
public static void main(String[] args)
args
- the command line argumentspublic static Frame getFrame()
public static void setControlStatus(String status)
status
- the messagepublic static void setDataStatus(String status)
status
- the messagepublic static void setQueueStatus(int currentQueue, int numElements)
currentQueue
- numElements
- public static void addMessage(String message)
message
- the new message
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |