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

cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel Class Reference

List of all members.

Public Member Functions

 SimpleChoosePanel ()
 SimpleChoosePanel (String borderTitle, String leftRadioTitle, String rightRadioTitle)
 SimpleChoosePanel (String borderTitle, String leftRadioTitle, String rightRadioTitle, String defaultChecked)
void actionPerformed (java.awt.event.ActionEvent actionEvent)
String getChoosenButton ()
void setSelected (String whichOne)
void setLeftText (String text)
void setRightText (String text)
void addConfigurationChangeListener (java.awt.event.ActionListener listener)

Private Member Functions

void initComponent (String borderTitle, String leftRadioTitle, String rightRadioTitle, String defaultChecked)
void initComponent (String borderTitle, String leftRadioTitle, String rightRadioTitle)

Private Attributes

JRadioButton leftRadio = null
JRadioButton rightRadio = null
ActionListener confChangeListener = null

Static Private Attributes

Logger logger

Detailed Description

This is simple choose panel, which is used in configuration window. This class has titled panel with 2 radio buttons


Constructor & Destructor Documentation

cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::SimpleChoosePanel  )  [inline]
 

Create simple choose panel with 2 radio buttons

cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::SimpleChoosePanel String  borderTitle,
String  leftRadioTitle,
String  rightRadioTitle
[inline]
 

Contructor

Parameters:
borderTitle border title for this component
leftRadioTitle 
rightRadioTitle 

cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::SimpleChoosePanel String  borderTitle,
String  leftRadioTitle,
String  rightRadioTitle,
String  defaultChecked
[inline]
 

Contructor

Parameters:
borderTitle border title for this component
leftRadioTitle 
rightRadioTitle 
defaultChecked which radio should be checked ("left" or "right")


Member Function Documentation

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::actionPerformed java.awt.event.ActionEvent  actionEvent  )  [inline]
 

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::addConfigurationChangeListener java.awt.event.ActionListener  listener  )  [inline]
 

String cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::getChoosenButton  )  [inline]
 

This method tells, which button is selected.

Returns:
"left" if left radio button is selected "right" is right radion button is selected

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::initComponent String  borderTitle,
String  leftRadioTitle,
String  rightRadioTitle
[inline, private]
 

This method initializes component.

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::initComponent String  borderTitle,
String  leftRadioTitle,
String  rightRadioTitle,
String  defaultChecked
[inline, private]
 

This methid initialize all component. Creates TitleBorder, radio button and all necesary components.

Parameters:
defaultChecked - which radio button should be default checked "left" for left, "right" for right or null

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setLeftText String  text  )  [inline]
 

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setRightText String  text  )  [inline]
 

void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setSelected String  whichOne  )  [inline]
 

This method set checked left of right radio button.

Parameters:
whichOne - "left" for left radio button, "right" for right radio button


Member Data Documentation

ActionListener cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::confChangeListener = null [private]
 

listener which is able to change Save button on ConfigurationPanel

JRadioButton cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::leftRadio = null [private]
 

left rafio button

Logger cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::logger [static, private]
 

Initial value:

LogFactory.getLogger(SimpleChoosePanel.class.getName())
logger

JRadioButton cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::rightRadio = null [private]
 

rght rafio button


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