

Public Member Functions | |
| DefaultPanel (JFrame frame) | |
| DefaultPanel () | |
| void | setContainerServices (ContainerServices contSvc) |
| boolean | isOMCPlugin () |
| void | start () |
| void | stop () |
| void | setACSContainerServices (ContainerServices cs) |
Protected Attributes | |
| JFrame | frame = null |
| ContainerServices | containerServices = null |
Default implementatio for a IPanel. It is intended to help the developer writing only the code he/she really needs.
The usual way to create a panel is to extend this class.
If you want to create your implementation of a panel from scratch you should pay particular attention to the closing handshake with the main window. The panel in fact can't close the application but it must send a message to the main window asking to close. This must be done to avoid circular dependency for panels that can be executes in standalone or inside the OMC gui (plugin).
| alma::acs::gui::util::panel::DefaultPanel::DefaultPanel | ( | JFrame | frame | ) | [inline] |
Constructor invoked when the panel is executed in stand alone mode
| frame | The frame showings this panel |
| alma::acs::gui::util::panel::DefaultPanel::DefaultPanel | ( | ) | [inline] |
Empty constructor used when executing inside OMC
| boolean alma::acs::gui::util::panel::DefaultPanel::isOMCPlugin | ( | ) | [inline] |
Check if the panel is executed as OMC plugin or as standalone application
Implements alma::acs::gui::util::panel::IPanel.
References frame.
| void alma::acs::gui::util::panel::DefaultPanel::setACSContainerServices | ( | ContainerServices | cs | ) | [inline] |
| void alma::acs::gui::util::panel::DefaultPanel::setContainerServices | ( | ContainerServices | contSvc | ) | [inline] |
Set the ContainerServices
| contSvc | The COntainerServices |
| void alma::acs::gui::util::panel::DefaultPanel::start | ( | ) | [inline] |
Implements alma::acs::gui::util::panel::IPanel.
| void alma::acs::gui::util::panel::DefaultPanel::stop | ( | ) | [inline] |
Implements alma::acs::gui::util::panel::IPanel.
ContainerServices alma::acs::gui::util::panel::DefaultPanel::containerServices = null [protected] |
Referenced by setACSContainerServices().
JFrame alma::acs::gui::util::panel::DefaultPanel::frame = null [protected] |
Referenced by isOMCPlugin().
1.6.2