|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame PIRL.Conductor.Manager
public class Manager
A Manager is a GUI for managing a Conductor.
The following configuration parameters may be used by a Conductor Manager:
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 boolean |
DEFAULT_LOG_WHILE_CLOSED
|
static int |
DEFAULT_MAX_SOURCES_ROWS
|
static boolean |
DEFAULT_STATUS_ANNUNCIATOR
|
static int |
EXITING
|
static String |
FAILURE_ICON_NAME
|
static String |
ICONS_DIRECTORY
Class-relative name of the directory containing icon/image files. |
static String |
ID
Class identification name with source code version and date. |
static String |
MANAGER_HEIGHT_PARAMETER_NAME
Configuration parameters. |
static String |
MANAGER_LOCATION_X_PARAMETER_NAME
Configuration parameters. |
static String |
MANAGER_LOCATION_Y_PARAMETER_NAME
Configuration parameters. |
static String |
MANAGER_WIDTH_PARAMETER_NAME
Configuration parameters. |
static String |
MONITOR_HEIGHT_PARAMETER_NAME
Configuration parameters. |
static String |
MONITOR_WIDTH_PARAMETER_NAME
Configuration parameters. |
static int |
SPLASH_SCREEN_MINIMUM_TIME
Minimum splash screen display time (seconds) if enabled. |
static String |
SPLASH_SCREEN_PARAMETER_NAME
Configuration parameters. |
static String |
SUCCESS_ICON_NAME
|
static String |
TOOLTIPS_PARAMETER_NAME
Configuration parameters. |
static int |
WARNING
|
static String |
WARNING_ICON_NAME
|
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 | |
---|---|
Manager(Management management)
|
|
Manager(Management management,
Configuration configuration)
Constructs a Conductor Manager. |
Method Summary | |
---|---|
void |
Close()
Close and dispose of this Manager. |
String |
Config_Pathname(String name)
Get the configuration pathname for a parameter name. |
String |
Config_Value(String name)
Get the String value of a configuration parameter. |
int |
Default_Max_Sources_Rows()
|
Manager |
Default_Max_Sources_Rows(int rows)
|
void |
Disable()
|
static boolean |
Local_Management(Management management)
Test for a Management interface local to a Conductor. |
Management |
Management()
|
int |
Max_Sources_Rows()
|
Manager |
Max_Sources_Rows(int rows)
|
void |
Processing_Event_Occurred(Processing_Event event)
A Conductor Processing_Event occured. |
void |
Quit_Conductor()
Signal the Conductor to quit. |
void |
Stop_Conductor()
|
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 SPLASH_SCREEN_PARAMETER_NAME
public static final String MANAGER_WIDTH_PARAMETER_NAME
public static final String MANAGER_HEIGHT_PARAMETER_NAME
public static final String MANAGER_LOCATION_X_PARAMETER_NAME
public static final String MANAGER_LOCATION_Y_PARAMETER_NAME
public static final String TOOLTIPS_PARAMETER_NAME
public static final String MONITOR_WIDTH_PARAMETER_NAME
public static final String MONITOR_HEIGHT_PARAMETER_NAME
public static final String ICONS_DIRECTORY
public static final int SPLASH_SCREEN_MINIMUM_TIME
public static final int DEFAULT_MAX_SOURCES_ROWS
public static final int WARNING
public static final int EXITING
public static final String SUCCESS_ICON_NAME
public static final String FAILURE_ICON_NAME
public static final String WARNING_ICON_NAME
public static final boolean DEFAULT_STATUS_ANNUNCIATOR
public static final boolean DEFAULT_LOG_WHILE_CLOSED
Constructor Detail |
---|
public Manager(Management management, Configuration configuration) throws Remote_Management_Exception
The Configuration object is expected to contain all the necessary information Conductor needs to connect to the database as well as any other Conductor parameters it might use.
management
- A Condcutor_Mangement object that is a Conductor
or a proxy - such as a Stage_Manager system - for managing a
Conductor.
IllegalArgumentException
- If the management is null.
Remote_Management_Exception
- If a Conductor Management protocol
error occurs. This can only happen if the management is not
local
to a Conductor.public Manager(Management management) throws Remote_Management_Exception
Remote_Management_Exception
Method Detail |
---|
public Management Management()
public int Default_Max_Sources_Rows()
public Manager Default_Max_Sources_Rows(int rows)
public int Max_Sources_Rows()
public Manager Max_Sources_Rows(int rows)
public String Config_Pathname(String name)
If the name is not an absolute pathname
the Conductor.CONDUCTOR_GROUP
name is
prepended to the name to form an absolute pathname.
name
- A parameter name String.
public String Config_Value(String name)
The first value of a Parameter with an Array Value will be returned.
name
- The name of the parameter from which to obtain
the value. If the name may be qualified
before use.
public void Stop_Conductor()
public void Quit_Conductor()
If the Conductor is in the running processing state
a confirmation
dialog is presented before source processing is aborted.
Caution: If the Conductor is polling for sources it is possible that it will acquire a source and begin processing it before the quit signal is received causing the processing of the source to be aborted.
public void Close()
If the Conductor Management interface is a Conductor it will be told
to quit
. Otherwise the Conductor Log stream
and processing event
listeners are unregistered and the Conductor is
left in its current state.
public void Disable()
public void Processing_Event_Occurred(Processing_Event event)
Processing_Listener
Whenever a significant processing event occurs by a Conductor it
sends a Processing_Event to all registered
listeners.
Processing_Event_Occurred
in interface Processing_Listener
event
- A Conductor Processing_Event.Processing_Event
public static boolean Local_Management(Management management)
A local Management interface is implemented by the Conductor class; if the management is an instance of the Conductor class it is local.
management
- A Management interface instance to test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |