public class SimpleConfiguratorTextField extends com.vaadin.ui.TextField implements OnConfigurationChangedListener
com.vaadin.ui.AbstractTextField.TextChangeEventImpl, com.vaadin.ui.AbstractTextField.TextChangeEventMode
com.vaadin.ui.AbstractField.FocusShortcut, com.vaadin.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Field.ValueChangeEvent
com.vaadin.data.Buffered.SourceException
com.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, setWordwrap
addListener, 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, setValue
addListener, 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, valueChange
addListener, 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, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setStyleName, setVisible
public VaadinConfigurationController controller
public SimpleConfiguratorTextField(SimpleConfigurationOption option, VaadinConfigurationController controller)
public SimpleConfigurationOption getConfigOption()
public boolean isValid()
isValid
in interface com.vaadin.data.Validatable
isValid
in class com.vaadin.ui.AbstractField
public String getID()
public void detach()
detach
in interface com.vaadin.ui.Component
detach
in class com.vaadin.ui.AbstractField
public void configurationChanged(ConfigOptionRegistry registry, ConfigurationOption option)
configurationChanged
in interface OnConfigurationChangedListener
registry
- 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.