Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::gui::util::panel::DefaultPanel Class Reference

Inheritance diagram for alma::acs::gui::util::panel::DefaultPanel:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::gui::util::panel::DefaultPanel:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

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).

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::gui::util::panel::DefaultPanel::DefaultPanel JFrame  frame  )  [inline]
 

Constructor invoked when the panel is executed in stand alone mode

Parameters:
frame The frame showings this panel

alma::acs::gui::util::panel::DefaultPanel::DefaultPanel  )  [inline]
 

Empty constructor used when executing inside OMC


Member Function Documentation

boolean alma::acs::gui::util::panel::DefaultPanel::isOMCPlugin  )  [inline]
 

Check if the panel is executed as OMC plugin or as standalone application

Returns:
true if the panel is running inside the OMC

Implements alma::acs::gui::util::panel::IPanel.

void alma::acs::gui::util::panel::DefaultPanel::setACSContainerServices ContainerServices  cs  )  [inline]
 

See also:
IPanel

Implements alma::acs::gui::util::panel::IPanel.

void alma::acs::gui::util::panel::DefaultPanel::setContainerServices ContainerServices  contSvc  )  [inline]
 

Set the ContainerServices

Parameters:
contSvc The COntainerServices

void alma::acs::gui::util::panel::DefaultPanel::start  )  [inline]
 

See also:
IPanel

Implements alma::acs::gui::util::panel::IPanel.

void alma::acs::gui::util::panel::DefaultPanel::stop  )  [inline]
 

See also:
IPanel

Implements alma::acs::gui::util::panel::IPanel.


Member Data Documentation

ContainerServices alma::acs::gui::util::panel::DefaultPanel::containerServices = null [protected]
 

JFrame alma::acs::gui::util::panel::DefaultPanel::frame = null [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:04 2009 for ACS Java API by doxygen 1.3.8