Class LoginGUI

  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by cvm.uci.ui.gui.creator.LoginGUI
All Implemented Interfaces:

public class LoginGUI
extends org.eclipse.swt.widgets.Composite

This class is used to create the Composite for Login. In essence it creates all the controls and Graphics for the Login GUI. Date: January 29, 2010

Frank Hernandez, The Fallen of CVM

Field Summary
 boolean m_bLoginFailed
Fields inherited from class org.eclipse.swt.widgets.Control
Constructor Summary
LoginGUI(org.eclipse.swt.widgets.Composite parent, int style)
          Basic Constructor.
LoginGUI(org.eclipse.swt.widgets.Composite parent, int style, boolean loginFailed)
          Basic Constructor
Method Summary
 void displayLoginFailed()
          This method is used to create the Login Failed GUI.
 void dispose()
          Overloaded dipose() method.
static LoginGUI getInstance()
          This method will return a reference the a last initialized instanced of this class.
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public boolean m_bLoginFailed
Constructor Detail


public LoginGUI(org.eclipse.swt.widgets.Composite parent,
                int style)
Basic Constructor.

parent -
style -


public LoginGUI(org.eclipse.swt.widgets.Composite parent,
                int style,
                boolean loginFailed)
Basic Constructor

parent -
style -
loginFailed -
Method Detail


public static LoginGUI getInstance()
This method will return a reference the a last initialized instanced of this class. It is used to keep track of the active GUI. Note: This is not a Singleton Implementation


public void dispose()
Overloaded dipose() method. It sets the static reference of instance to null. Outside of that it does the same as super.dispose()

dispose in class org.eclipse.swt.widgets.Widget


public void displayLoginFailed()
This method is used to create the Login Failed GUI. It sets the visibility of the LoginFailure label to true