org.eaglei.datatools.client.ui
Class LoginLogoutPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.eaglei.datatools.client.ui.LoginLogoutPanel
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, ClientRepositoryToolsManager.SessionListener

public class LoginLogoutPanel
extends com.google.gwt.user.client.ui.Composite
implements ClientRepositoryToolsManager.SessionListener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected  com.google.gwt.user.client.ui.Button loginButton
           
protected  com.google.gwt.dom.client.UListElement loginList
           
protected  com.google.gwt.user.client.ui.Anchor logoutAnchor
           
protected  com.google.gwt.user.client.ui.PasswordTextBox passTextBox
           
protected  com.google.gwt.user.client.ui.TextBox userTextBox
           
protected  com.google.gwt.user.client.ui.Label welcomeLabel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
LoginLogoutPanel()
           
 
Method Summary
 void onLogIn(java.lang.String username, java.lang.String userUri)
           
 void onLogOut()
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

welcomeLabel

@UiField
protected com.google.gwt.user.client.ui.Label welcomeLabel

logoutAnchor

@UiField
protected com.google.gwt.user.client.ui.Anchor logoutAnchor

loginList

@UiField
protected com.google.gwt.dom.client.UListElement loginList

userTextBox

@UiField
protected com.google.gwt.user.client.ui.TextBox userTextBox

passTextBox

@UiField
protected com.google.gwt.user.client.ui.PasswordTextBox passTextBox

loginButton

@UiField
protected com.google.gwt.user.client.ui.Button loginButton
Constructor Detail

LoginLogoutPanel

public LoginLogoutPanel()
Method Detail

onLogOut

public void onLogOut()
Specified by:
onLogOut in interface ClientRepositoryToolsManager.SessionListener

onLogIn

public void onLogIn(java.lang.String username,
                    java.lang.String userUri)
Specified by:
onLogIn in interface ClientRepositoryToolsManager.SessionListener


Copyright © 2009-2011 Eagle-I. All Rights Reserved.