public class CmsPasswordForm extends com.vaadin.v7.ui.VerticalLayout
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Constructor and Description |
|---|
CmsPasswordForm()
Constructor.
|
CmsPasswordForm(java.util.Locale locale)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOldPassword()
Returns the old password value.
|
com.vaadin.v7.ui.PasswordField |
getOldPasswordField()
Returns the old password field.
|
java.lang.String |
getPassword1()
Returns the password 1 value.
|
com.vaadin.v7.ui.PasswordField |
getPassword1Field()
Returns the password 1 field.
|
java.lang.String |
getPassword2()
Returns the password 2 value.
|
com.vaadin.v7.ui.PasswordField |
getPassword2Field()
Returns the password 2 field.
|
void |
hideOldPassword()
Hides the old password field.
|
void |
setAdditionalText(java.lang.String text)
Displays an additional message.
|
void |
setEnabled(boolean enabled) |
void |
setErrorOldPassword(com.vaadin.server.UserError error,
java.lang.String style)
Sets the old password error.
|
void |
setErrorPassword1(com.vaadin.server.UserError error,
java.lang.String style)
Sets the password 1 error.
|
void |
setErrorPassword2(com.vaadin.server.UserError error,
java.lang.String style)
Sets the password 2 error.
|
void |
setHeaderVisible(boolean visible)
Sets the visibility of the head message.
|
void |
setSecurityHint(java.lang.String hint)
Sets the security hint.
|
addComponentsAndExpand, getState, getStateaddComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddComponents, getComponentIterator, moveComponentsFrom, removeAllComponentsaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerpublic CmsPasswordForm()
public CmsPasswordForm(java.util.Locale locale)
locale - the user localepublic java.lang.String getOldPassword()
public com.vaadin.v7.ui.PasswordField getOldPasswordField()
public java.lang.String getPassword1()
public com.vaadin.v7.ui.PasswordField getPassword1Field()
public java.lang.String getPassword2()
public com.vaadin.v7.ui.PasswordField getPassword2Field()
public void hideOldPassword()
public void setAdditionalText(java.lang.String text)
text - the messagepublic void setEnabled(boolean enabled)
setEnabled in interface com.vaadin.ui.ComponentsetEnabled in class com.vaadin.ui.AbstractComponentpublic void setErrorOldPassword(com.vaadin.server.UserError error, java.lang.String style)
error - the errorstyle - the style classpublic void setErrorPassword1(com.vaadin.server.UserError error, java.lang.String style)
error - the errorstyle - the style classpublic void setErrorPassword2(com.vaadin.server.UserError error, java.lang.String style)
error - the errorstyle - the style classpublic void setHeaderVisible(boolean visible)
visible - true -> head is visible, false notpublic void setSecurityHint(java.lang.String hint)
hint - the hint to display