

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 | |
| static Logger | logger |
This is simple choose panel, which is used in configuration window. This class has titled panel with 2 radio buttons
| 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
| borderTitle | border title for this component | |
| leftRadioTitle | ||
| rightRadioTitle |
References initComponent().
| cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::SimpleChoosePanel | ( | String | borderTitle, | |
| String | leftRadioTitle, | |||
| String | rightRadioTitle, | |||
| String | defaultChecked | |||
| ) | [inline] |
Contructor
| borderTitle | border title for this component | |
| leftRadioTitle | ||
| rightRadioTitle | ||
| defaultChecked | which radio should be checked ("left" or "right") |
References initComponent().
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::actionPerformed | ( | java.awt.event.ActionEvent | actionEvent | ) | [inline] |
References confChangeListener, leftRadio, logger, and rightRadio.
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::addConfigurationChangeListener | ( | java.awt.event.ActionListener | listener | ) | [inline] |
References confChangeListener.
Referenced by cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::initComponent().
| String cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::getChoosenButton | ( | ) | [inline] |
This method tells, which button is selected.
References leftRadio.
Referenced by cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::isAlarmAutoKlaxon(), cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::isAlarmAutoTerminated(), cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::isAlarmDistinguished(), and cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::isReducedMaskedFlagOn().
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::initComponent | ( | String | borderTitle, | |
| String | leftRadioTitle, | |||
| String | rightRadioTitle | |||
| ) | [inline, private] |
This method initializes component.
References initComponent().
| 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.
| defaultChecked | - which radio button should be default checked "left" for left, "right" for right or null |
References leftRadio, and rightRadio.
Referenced by initComponent(), and SimpleChoosePanel().
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setLeftText | ( | String | text | ) | [inline] |
References leftRadio.
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setRightText | ( | String | text | ) | [inline] |
References rightRadio.
| void cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::setSelected | ( | String | whichOne | ) | [inline] |
This method set checked left of right radio button.
| whichOne | - "left" for left radio button, "right" for right radio button |
References leftRadio, and rightRadio.
Referenced by cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::reset(), and cern::laser::guiplatform::windows::behaviour::ConfigureBehaviourPanel::updateBehaviour().
ActionListener cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::confChangeListener = null [private] |
listener which is able to change Save button on ConfigurationPanel
Referenced by actionPerformed(), and addConfigurationChangeListener().
JRadioButton cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::leftRadio = null [private] |
left rafio button
Referenced by actionPerformed(), getChoosenButton(), initComponent(), setLeftText(), and setSelected().
Logger cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::logger [static, private] |
LogFactory.getLogger(SimpleChoosePanel.class.getName())
logger
Referenced by actionPerformed().
JRadioButton cern::laser::guiplatform::windows::behaviour::SimpleChoosePanel::rightRadio = null [private] |
rght rafio button
Referenced by actionPerformed(), initComponent(), setRightText(), and setSelected().
1.6.2