
public class SimpleConfiguratorTextField extends com.vaadin.ui.TextField implements OnConfigurationChangedListener
com.vaadin.ui.AbstractTextField.TextChangeEventImpl, com.vaadin.ui.AbstractTextField.TextChangeEventModecom.vaadin.ui.AbstractField.FocusShortcut, com.vaadin.ui.AbstractField.ReadOnlyStatusChangeEventcom.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.ui.Field.ValueChangeEventcom.vaadin.data.Buffered.SourceExceptioncom.vaadin.data.Property.ConversionException, com.vaadin.data.Property.Editor, com.vaadin.data.Property.ReadOnlyException, com.vaadin.data.Property.ReadOnlyStatusChangeListener, com.vaadin.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer| Modifier and Type | Field and Description |
|---|---|
VaadinConfigurationController |
controller |
| Constructor and Description |
|---|
SimpleConfiguratorTextField(SimpleConfigurationOption option,
VaadinConfigurationController controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
configurationChanged(ConfigOptionRegistry registry,
ConfigurationOption option) |
void |
detach() |
SimpleConfigurationOption |
getConfigOption() |
String |
getID() |
boolean |
isValid()
return true if the TextField is valid and the configuration option.
|
getRows, isSecret, isWordwrap, paintContent, setHeight, setHeight, setRows, setSecret, setWordwrapaddListener, addListener, addListener, changeVariables, getColumns, getCursorPosition, getFormat, getFormattedValue, getInputPrompt, getMaxLength, getNullRepresentation, getTextChangeEventMode, getTextChangeTimeout, getType, getValue, isEmpty, isNullSettingAllowed, removeListener, removeListener, removeListener, selectAll, setColumns, setCursorPosition, setFormat, setInputPrompt, setInternalValue, setMaxLength, setNullRepresentation, setNullSettingAllowed, setSelectionRange, setTextChangeEventMode, setTextChangeTimeout, setValueaddListener, addListener, addShortcutListener, addValidator, attach, commit, constructField, discard, fireReadOnlyStatusChange, fireValueChange, focus, getActionManager, getErrorMessage, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isReadThrough, isRequired, isValidationVisible, isWriteThrough, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeShortcutListener, removeValidator, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setReadOnly, setReadThrough, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, setWriteThrough, shouldHideErrors, toString, validate, valueChangeaddListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setStyleName, setVisiblepublic VaadinConfigurationController controller
public SimpleConfiguratorTextField(SimpleConfigurationOption option, VaadinConfigurationController controller)
public SimpleConfigurationOption getConfigOption()
public boolean isValid()
isValid in interface com.vaadin.data.ValidatableisValid in class com.vaadin.ui.AbstractFieldpublic String getID()
public void detach()
detach in interface com.vaadin.ui.Componentdetach in class com.vaadin.ui.AbstractFieldpublic void configurationChanged(ConfigOptionRegistry registry, ConfigurationOption option)
configurationChanged in interface OnConfigurationChangedListenerregistry - is the ConfigurationOptionRegistry from which you can get all
configuration options.option - is the configuration option which was modified.Copyright © 2018 universAAL Consortium. All rights reserved.