Public Member Functions | |
Frame (String[] params) throws PanelException | |
void | disconnectACSComponentClient () |
Static Public Member Functions | |
void | printUsage (String cmd) |
void | main (String[] args) |
Private Member Functions | |
void | initialize (IPanel pnl) throws PanelException |
IPanel | loadPanel (String className) throws PanelException |
void | connectACSComponentClient (String className) throws PanelException |
void | close () |
Private Attributes | |
IPanel | panel |
AdvancedComponentClient | client = null |
Logger | logger = null |
ContainerServices | contSvc = null |
FrameWindowListener | windowListener = new FrameWindowListener() |
The panel must implement the IPanel interface and extend JComponent. It can also be a JRootPane in order to define its own menu bar.
|
Build the main window with the component inside. The main window catches window events in order to be able to close the panel before closing.
|
|
Release all the resources This is the last operation before closing |
|
Connect to ACS as component client. It connects the client and the logger.
|
|
Disconnect from ACS |
|
Init the GUI
|
|
Load the panel whose class name is in the parameter
|
|
The starting point of the application: build the window and load the panel.
|
|
Print the usage message on the stdout
|
|
|
|
|
|
|
|
|
|
|