org.eaglei.datatools.client.ui
Class TopPanel

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.TopPanel
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 TopPanel
extends com.google.gwt.user.client.ui.Composite
implements ClientRepositoryToolsManager.SessionListener

The top panel, header logo, sign in, etc


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
static java.util.Map<java.lang.String,java.lang.Boolean> accessMap
           
protected  com.google.gwt.user.client.ui.Anchor changePassword
           
protected  com.google.gwt.user.client.ui.Label changePasswordSeparator
           
protected  com.google.gwt.user.client.ui.Anchor glossaryLink
           
protected  com.google.gwt.user.client.ui.Anchor helpLink
           
protected  com.google.gwt.user.client.ui.Button loginButton
           
protected  com.google.gwt.dom.client.UListElement loginList
           
protected  com.google.gwt.user.client.ui.Image logo
           
protected  com.google.gwt.user.client.ui.Anchor logoutAnchor
           
protected  com.google.gwt.user.client.ui.Label logoutSeparator
           
protected  com.google.gwt.user.client.ui.PasswordTextBox passTextBox
           
protected  com.google.gwt.user.client.ui.Anchor searchLink
           
protected  com.google.gwt.user.client.ui.TextBox userTextBox
           
protected  com.google.gwt.user.client.ui.Label welcomeLabel
           
static java.lang.String[] wfStates
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TopPanel()
           
 
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

logoutSeparator

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

changePassword

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

changePasswordSeparator

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

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

logo

@UiField
protected com.google.gwt.user.client.ui.Image logo

searchLink

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

glossaryLink

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

helpLink

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

wfStates

public static java.lang.String[] wfStates

accessMap

public static java.util.Map<java.lang.String,java.lang.Boolean> accessMap
Constructor Detail

TopPanel

public TopPanel()
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.