org.exoplatform.gwtframework.ui.client.component
Class PasswordField

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.exoplatform.gwtframework.ui.client.component.TextItemBase
                      extended by org.exoplatform.gwtframework.ui.client.component.PasswordField
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<java.lang.String>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<java.lang.String>, com.google.gwt.user.client.ui.HasValue<java.lang.String>, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>, TextFieldItem

public class PasswordField
extends TextItemBase
implements TextFieldItem

Field to enter password (when entered letters are not seen). In HTML it is represented as element and it is possible to display label with field's title near it.

Version:
$Id: Nov 30, 2010 $
Author:
Ann Zhuleva

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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class org.exoplatform.gwtframework.ui.client.component.TextItemBase
resource
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
PasswordField()
          Default constructor.
PasswordField(java.lang.String name)
           
PasswordField(java.lang.String name, java.lang.String title)
           
 
Method Summary
 void focus()
          Sets focus in password field.
 void setPasswordFieldId(java.lang.String id)
          Sets ID attribute to Password Field element.
 
Methods inherited from class org.exoplatform.gwtframework.ui.client.component.TextItemBase
addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addValueChangeHandler, clearValue, disable, enable, focusInItem, getHeight, getId, getName, getTextElement, getTitle, getTitleAlign, getTitleElement, getTitleOrientation, getTitleWidth, getValue, getWidth, hasBorder, hide, isEnabled, isShowDisabled, isShowTitle, redraw, selectValue, setDisabled, setEnabled, setHasBorder, setHeight, setId, setName, setReadOnly, setShowDisabled, setShowTitle, setTextItemHeight, setTitle, setTitleAlign, setTitleOrientation, setTitleOrientation, setTitleWidth, setValue, setValue, setWidth, setWidth, show
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.HasValue
getValue, setValue, setValue
 
Methods inherited from interface com.google.gwt.event.logical.shared.HasValueChangeHandlers
addValueChangeHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasKeyUpHandlers
addKeyUpHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasKeyDownHandlers
addKeyDownHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasKeyPressHandlers
addKeyPressHandler
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

PasswordField

public PasswordField()
Default constructor.


PasswordField

public PasswordField(java.lang.String name)
Parameters:
name - field name

PasswordField

public PasswordField(java.lang.String name,
                     java.lang.String title)
Parameters:
name - field name
title - field title
Method Detail

setPasswordFieldId

public void setPasswordFieldId(java.lang.String id)
Sets ID attribute to Password Field element. This method is required to use in UI Binder.

Parameters:
id -

focus

public void focus()
Sets focus in password field.



Copyright © 2012 eXo Platform SAS. All Rights Reserved.