

Public Member Functions | |
| AlarmConsoleLoginWindow () | |
| boolean | canClose (Workspace workspace, boolean last) |
Protected Member Functions | |
| void | componentClosed () |
Private Member Functions | |
| void | initComponents () |
| void | guestButtonActionPerformed (java.awt.event.ActionEvent evt) |
| void | passwordPasswordFieldKeyReleased (java.awt.event.KeyEvent evt) |
| void | loginNameTextFieldKeyReleased (java.awt.event.KeyEvent evt) |
| void | enableOrDisableLoginButton () |
| void | cancelButtonActionPerformed (java.awt.event.ActionEvent evt) |
| void | loginButtonActionPerformed (java.awt.event.ActionEvent evt) |
| void | postInitComponents () |
| void | login () |
Private Attributes | |
| javax.swing.JPanel | butonsPanel |
| javax.swing.JButton | cancelButton |
| javax.swing.JButton | guestButton |
| javax.swing.JLabel | iconLabel |
| javax.swing.JPanel | iconPanel |
| javax.swing.JPanel | labelPanel |
| javax.swing.JButton | loginButton |
| javax.swing.JLabel | loginNameLabel |
| javax.swing.JTextField | loginNameTextField |
| javax.swing.JPanel | mainPanel |
| javax.swing.JLabel | passwordLabel |
| javax.swing.JPasswordField | passwordPasswordField |
| javax.swing.JPanel | southPanel |
| javax.swing.JPanel | textFieldPanel |
| javax.swing.JLabel | titleLabel |
Static Private Attributes | |
| static Logger | logger |
| cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::AlarmConsoleLoginWindow | ( | ) | [inline] |
Creates new form TestAlarmConsoleLoginWindow
References initComponents(), and postInitComponents().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::cancelButtonActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [inline, private] |
References org::openide::windows::TopComponent::close().
Referenced by initComponents().
| boolean cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::canClose | ( | Workspace | workspace, | |
| boolean | last | |||
| ) | [inline] |
This method is called when top component is about to close. Allows subclasses to decide if top component is ready for closing or not.
Default implementation always return true.
| workspace | the workspace on which we are about to close or null which means that component will be closed on all workspaces where it is opened (CLOSE_EACH mode) | |
| last | true if this is last workspace where top component is opened, false otherwise. If close operation is set to CLOSE_EACH, then this param is always true |
Reimplemented from org::openide::windows::TopComponent.
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::componentClosed | ( | ) | [inline, protected] |
Called only when top component was closed so that now it is closed on all workspaces in the system. The intent is to provide subclasses information about TopComponent's life cycle across workspaces. Subclasses will usually perform cleaning tasks here.
Reimplemented from org::openide::windows::TopComponent.
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::enableOrDisableLoginButton | ( | ) | [inline, private] |
This method enables or disables login button
References loginButton, loginNameTextField, and passwordPasswordField.
Referenced by loginNameTextFieldKeyReleased(), and passwordPasswordFieldKeyReleased().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::guestButtonActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [inline, private] |
References login(), loginNameTextField, and passwordPasswordField.
Referenced by initComponents().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::initComponents | ( | ) | [inline, private] |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
References butonsPanel, cancelButton, cancelButtonActionPerformed(), guestButton, guestButtonActionPerformed(), iconLabel, iconPanel, labelPanel, loginButton, loginButtonActionPerformed(), loginNameLabel, loginNameTextField, loginNameTextFieldKeyReleased(), mainPanel, passwordLabel, passwordPasswordField, passwordPasswordFieldKeyReleased(), southPanel, textFieldPanel, and titleLabel.
Referenced by AlarmConsoleLoginWindow().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::login | ( | ) | [inline, private] |
References org::openide::windows::TopComponent::close(), cern::laser::console::User::createConfiguration(), cern::laser::console::Behaviour::getColumnsToDisplay(), cern::laser::console::User::getConfiguration(), cern::laser::console::User::getDefaultConfiguration(), cern::laser::console::Configuration::getName(), cern::laser::console::User::getName(), cern::laser::console::User::getPassword(), cern::laser::client::services::selection::Selection::getReducedMaskedSelection(), cern::laser::client::LaserException::getRootCause(), cern::laser::console::Configuration::getSelection(), cern::laser::console::UserHandler::getUser(), logger, loginButton, loginNameTextField, org::openide::windows::TopComponent::open(), passwordPasswordField, cern::laser::console::User::removeConfiguration(), and cern::laser::client::services::selection::AlarmSelectionHandler::select().
Referenced by guestButtonActionPerformed(), and loginButtonActionPerformed().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::loginButtonActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [inline, private] |
References login().
Referenced by initComponents().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::loginNameTextFieldKeyReleased | ( | java.awt.event.KeyEvent | evt | ) | [inline, private] |
References enableOrDisableLoginButton().
Referenced by initComponents().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::passwordPasswordFieldKeyReleased | ( | java.awt.event.KeyEvent | evt | ) | [inline, private] |
References enableOrDisableLoginButton().
Referenced by initComponents().
| void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::postInitComponents | ( | ) | [inline, private] |
This method should be invoked after initComponet() method
References cancelButton, cern::laser::client::LaserException::getRootCause(), logger, loginButton, loginNameLabel, passwordLabel, cern::laser::client::services::selection::AlarmSelectionHandler::resetSelection(), org::openide::windows::TopComponent::setCloseOperation(), org::openide::windows::TopComponent::setName(), and titleLabel.
Referenced by AlarmConsoleLoginWindow().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::butonsPanel [private] |
Referenced by initComponents().
javax.swing.JButton cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::cancelButton [private] |
Referenced by initComponents(), and postInitComponents().
javax.swing.JButton cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::guestButton [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::iconLabel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::iconPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::labelPanel [private] |
Referenced by initComponents().
Logger cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::logger [static, private] |
LogFactory.getLogger(AlarmConsoleLoginWindow.class.getName())
logger
Referenced by login(), and postInitComponents().
javax.swing.JButton cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::loginButton [private] |
Referenced by enableOrDisableLoginButton(), initComponents(), login(), and postInitComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::loginNameLabel [private] |
Referenced by initComponents(), and postInitComponents().
javax.swing.JTextField cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::loginNameTextField [private] |
Referenced by enableOrDisableLoginButton(), guestButtonActionPerformed(), initComponents(), and login().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::mainPanel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::passwordLabel [private] |
Referenced by initComponents(), and postInitComponents().
javax.swing.JPasswordField cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::passwordPasswordField [private] |
Referenced by enableOrDisableLoginButton(), guestButtonActionPerformed(), initComponents(), and login().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::southPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::textFieldPanel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::titleLabel [private] |
Referenced by initComponents(), and postInitComponents().
1.6.2