Package org.jboss.hal.ballroom.form
Class TextBoxItem
- java.lang.Object
-
- org.jboss.hal.ballroom.form.AbstractFormItem<String>
-
- org.jboss.hal.ballroom.form.TextBoxItem
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.TakesValue<String>,com.google.gwt.user.client.ui.Focusable,com.google.gwt.user.client.ui.HasEnabled,com.google.gwt.user.client.ui.HasName,com.google.gwt.user.client.ui.HasValue<String>,Attachable,FormItem<String>
- Direct Known Subclasses:
PreTextItem,URLItem
public class TextBoxItem extends AbstractFormItem<String>
-
-
Constructor Summary
Constructors Constructor Description TextBoxItem(String name)TextBoxItem(String name, String label)TextBoxItem(String name, String label, String hint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach()CallsSuggestHandler.attach()in case there was one registered.booleanisEmpty()voidonSuggest(String suggestion)booleansupportsExpressions()-
Methods inherited from class org.jboss.hal.ballroom.form.AbstractFormItem
addEncryptExpressionHandler, addResolveExpressionHandler, addValidationHandler, addValueChangeHandler, assignDefaultValue, clearError, clearValue, detach, element, fireEvent, getExpressionValue, getId, getLabel, getName, getTabIndex, getValue, isDeprecated, isEnabled, isExpressionAllowed, isExpressionValue, isModified, isRequired, isRestricted, isUndefined, mask, registerSuggestHandler, setAccessKey, setDeprecated, setEnabled, setExpressionAllowed, setExpressionValue, setFocus, setId, setLabel, setModified, setName, setRequired, setRestricted, setTabIndex, setUndefined, setValue, setValue, showError, unmask, validate
-
-
-
-
Method Detail
-
attach
public void attach()
Description copied from class:AbstractFormItemCallsSuggestHandler.attach()in case there was one registered. If you override this method, please callsuper.attach()to keep this behaviour.- Specified by:
attachin interfaceAttachable- Overrides:
attachin classAbstractFormItem<String>
-
isEmpty
public boolean isEmpty()
- Returns:
- if this form item has no value.
-
supportsExpressions
public boolean supportsExpressions()
-
onSuggest
public void onSuggest(String suggestion)
- Overrides:
onSuggestin classAbstractFormItem<String>
-
-