applications.proxy.dialog
Class LoginDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--applications.proxy.dialog.ProxyDialog
                                      |
                                      +--applications.proxy.dialog.LoginDialog

public class LoginDialog
extends ProxyDialog
implements ActionListener

Create a panel for logging into the system.


Inner classes inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog

Field Summary
 private JPanelm_buttonPanel
           
 private Stringm_cancelSoundName
           
 protected JButtonm_loginButton
           
 private LoginDatam_loginData
           
 private LoginDialogListenerm_loginDialogListener
           
 private Stringm_loginSoundName
           
 private Stringm_okSoundName
           
 protected JPasswordFieldm_passwordField
           
 JTextFieldm_userNameField
           

Fields inherited from class applications.proxy.dialog.ProxyDialog
m_mainPanel

Fields inherited from class javax.swing.JDialog
rootPane, rootPaneCheckingEnabled, accessibleContext

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
LoginDialog()
           

Method Summary
 voidactionPerformed(ActionEvent e)
           
 voidaddListener(LoginDialogListener LoginDialogListener)
           
 private voidbuildGUI()
           
 protected StringgetCancelSoundName()
           
 protected StringgetLoginSoundName()
           
 protected StringgetOkSoundName()
           
 static voidmain(String[] args)
           
 protected voidsetCancelSoundName(String sCancelSoundName)
           
 protected voidsetLoginSoundName(String sLoginSoundName)
           
 protected voidsetOkSoundName(String okSoundName)
           
 voidshow()
           

Methods inherited from class applications.proxy.dialog.ProxyDialog
getDefaultHeight, getDefaultWidth, getException, getTraitedSoundSystem, getValid, playTraitedEventSound, resizeDialog, setDefaultHeight, setDefaultWidth, setException, setTraitedSoundSystem, setValid

Methods inherited from class javax.swing.JDialog
dialogInit, createRootPane, processKeyEvent, processWindowEvent, setDefaultCloseOperation, getDefaultCloseOperation, update, setJMenuBar, getJMenuBar, isRootPaneCheckingEnabled, setRootPaneCheckingEnabled, addImpl, remove, setLayout, getRootPane, setRootPane, getContentPane, setContentPane, getLayeredPane, setLayeredPane, getGlassPane, setGlassPane, setLocationRelativeTo, paramString, getAccessibleContext

Methods inherited from class java.awt.Dialog
addNotify, isModal, setModal, getTitle, setTitle, hide, dispose, isResizable, setResizable

Methods inherited from class java.awt.Window
finalize, pack, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, processEvent, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, removeAll, getLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, print, paintComponents, printComponents, addContainerListener, removeContainerListener, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait

Field Detail

m_buttonPanel

private JPanel m_buttonPanel

m_cancelSoundName

private String m_cancelSoundName

m_loginButton

protected JButton m_loginButton

m_loginData

private LoginData m_loginData

m_loginDialogListener

private LoginDialogListener m_loginDialogListener

m_loginSoundName

private String m_loginSoundName

m_okSoundName

private String m_okSoundName

m_passwordField

protected JPasswordField m_passwordField

m_userNameField

public JTextField m_userNameField
Constructor Detail

LoginDialog

public LoginDialog()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

addListener

public void addListener(LoginDialogListener LoginDialogListener)

buildGUI

private void buildGUI()

getCancelSoundName

protected String getCancelSoundName()

getLoginSoundName

protected String getLoginSoundName()

getOkSoundName

protected String getOkSoundName()

main

public static void main(String[] args)

setCancelSoundName

protected void setCancelSoundName(String sCancelSoundName)

setLoginSoundName

protected void setLoginSoundName(String sLoginSoundName)

setOkSoundName

protected void setOkSoundName(String okSoundName)

show

public void show()