public class HelpButton<T>
extends com.vaadin.ui.CustomComponent
implements com.vaadin.v7.ui.Field<T>, com.vaadin.ui.Button.ClickListener
com.vaadin.v7.ui.Field.ValueChangeEventcom.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.DetachListenercom.vaadin.server.Sizeable.Unitcom.vaadin.v7.data.Buffered.SourceExceptioncom.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeEvent, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener| Constructor and Description |
|---|
HelpButton(com.vaadin.v7.ui.Field<T> field) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
Deprecated.
|
void |
addValidator(com.vaadin.v7.data.Validator validator) |
void |
addValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
void |
buttonClick(com.vaadin.ui.Button.ClickEvent event) |
void |
clear() |
void |
commit() |
void |
discard() |
void |
focus() |
com.vaadin.v7.data.Property |
getPropertyDataSource() |
String |
getRequiredError() |
int |
getTabIndex() |
Class<? extends T> |
getType() |
Collection<com.vaadin.v7.data.Validator> |
getValidators() |
T |
getValue() |
boolean |
isBuffered() |
boolean |
isEmpty() |
boolean |
isInvalidAllowed() |
boolean |
isInvalidCommitted() |
boolean |
isModified() |
boolean |
isReadOnly() |
boolean |
isRequired() |
boolean |
isValid() |
void |
removeAllValidators() |
void |
removeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
Deprecated.
|
void |
removeValidator(com.vaadin.v7.data.Validator validator) |
void |
removeValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
void |
setBuffered(boolean buffered) |
void |
setInvalidAllowed(boolean invalidValueAllowed) |
void |
setInvalidCommitted(boolean isCommitted) |
void |
setPropertyDataSource(com.vaadin.v7.data.Property newDataSource) |
void |
setReadOnly(boolean readOnly) |
void |
setRequired(boolean required) |
void |
setRequiredError(String requiredMessage) |
void |
setTabIndex(int tabIndex) |
void |
setValue(T newValue) |
void |
validate() |
void |
valueChange(com.vaadin.v7.data.Property.ValueChangeEvent event) |
getComponentCount, getCompositionRoot, getState, getState, iterator, setCompositionRootaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesignaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedforEach, spliteratorpublic HelpButton(com.vaadin.v7.ui.Field<T> field)
@Deprecated public void addListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
addListener in interface com.vaadin.v7.data.Property.ValueChangeNotifierpublic void addValidator(com.vaadin.v7.data.Validator validator)
addValidator in interface com.vaadin.v7.data.Validatablepublic void addValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
addValueChangeListener in interface com.vaadin.v7.data.Property.ValueChangeNotifierpublic void buttonClick(com.vaadin.ui.Button.ClickEvent event)
buttonClick in interface com.vaadin.ui.Button.ClickListenerpublic void clear()
clear in interface com.vaadin.v7.ui.Field<T>public void commit()
throws com.vaadin.v7.data.Buffered.SourceException,
com.vaadin.v7.data.Validator.InvalidValueException
commit in interface com.vaadin.v7.data.Bufferedcom.vaadin.v7.data.Buffered.SourceExceptioncom.vaadin.v7.data.Validator.InvalidValueExceptionpublic void discard()
throws com.vaadin.v7.data.Buffered.SourceException
discard in interface com.vaadin.v7.data.Bufferedcom.vaadin.v7.data.Buffered.SourceExceptionpublic void focus()
focus in interface com.vaadin.ui.Component.Focusablefocus in class com.vaadin.ui.AbstractComponentpublic com.vaadin.v7.data.Property getPropertyDataSource()
getPropertyDataSource in interface com.vaadin.v7.data.Property.Viewerpublic String getRequiredError()
getRequiredError in interface com.vaadin.v7.ui.Field<T>public int getTabIndex()
getTabIndex in interface com.vaadin.ui.Component.Focusablepublic Class<? extends T> getType()
getType in interface com.vaadin.v7.data.Property<T>public Collection<com.vaadin.v7.data.Validator> getValidators()
getValidators in interface com.vaadin.v7.data.Validatablepublic boolean isBuffered()
isBuffered in interface com.vaadin.v7.data.Bufferedpublic boolean isEmpty()
isEmpty in interface com.vaadin.v7.ui.Field<T>public boolean isInvalidAllowed()
isInvalidAllowed in interface com.vaadin.v7.data.Validatablepublic boolean isInvalidCommitted()
isInvalidCommitted in interface com.vaadin.v7.data.BufferedValidatablepublic boolean isModified()
isModified in interface com.vaadin.v7.data.Bufferedpublic boolean isReadOnly()
isReadOnly in interface com.vaadin.v7.data.Property<T>isReadOnly in class com.vaadin.ui.AbstractComponentpublic boolean isRequired()
isRequired in interface com.vaadin.v7.ui.Field<T>public boolean isValid()
isValid in interface com.vaadin.v7.data.Validatablepublic void removeAllValidators()
removeAllValidators in interface com.vaadin.v7.data.Validatable@Deprecated public void removeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
removeListener in interface com.vaadin.v7.data.Property.ValueChangeNotifierpublic void removeValidator(com.vaadin.v7.data.Validator validator)
removeValidator in interface com.vaadin.v7.data.Validatablepublic void removeValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
removeValueChangeListener in interface com.vaadin.v7.data.Property.ValueChangeNotifierpublic void setBuffered(boolean buffered)
setBuffered in interface com.vaadin.v7.data.Bufferedpublic void setInvalidAllowed(boolean invalidValueAllowed)
throws UnsupportedOperationException
setInvalidAllowed in interface com.vaadin.v7.data.ValidatableUnsupportedOperationExceptionpublic void setInvalidCommitted(boolean isCommitted)
setInvalidCommitted in interface com.vaadin.v7.data.BufferedValidatablepublic void setPropertyDataSource(com.vaadin.v7.data.Property newDataSource)
setPropertyDataSource in interface com.vaadin.v7.data.Property.Viewerpublic void setReadOnly(boolean readOnly)
setReadOnly in interface com.vaadin.v7.data.Property<T>setReadOnly in class com.vaadin.ui.AbstractComponentpublic void setRequired(boolean required)
setRequired in interface com.vaadin.v7.ui.Field<T>public void setRequiredError(String requiredMessage)
setRequiredError in interface com.vaadin.v7.ui.Field<T>public void setTabIndex(int tabIndex)
setTabIndex in interface com.vaadin.ui.Component.Focusablepublic void setValue(T newValue) throws com.vaadin.v7.data.Property.ReadOnlyException
setValue in interface com.vaadin.v7.data.Property<T>com.vaadin.v7.data.Property.ReadOnlyExceptionpublic void validate()
throws com.vaadin.v7.data.Validator.InvalidValueException
validate in interface com.vaadin.v7.data.Validatablecom.vaadin.v7.data.Validator.InvalidValueExceptionpublic void valueChange(com.vaadin.v7.data.Property.ValueChangeEvent event)
valueChange in interface com.vaadin.v7.data.Property.ValueChangeListenerCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.