cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow Class Reference

Inheritance diagram for cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::AlarmConsoleLoginWindow (  )  [inline]

Creates new form TestAlarmConsoleLoginWindow

References initComponents(), and postInitComponents().


Member Function Documentation

void cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::cancelButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]
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.

Parameters:
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
Returns:
true if top component is ready to close, false otherwise.

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.

Since:
2.18

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]
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]
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]

Member Data Documentation

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Initial value:
    LogFactory.getLogger(AlarmConsoleLoginWindow.class.getName())

logger

Referenced by login(), and postInitComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2