public abstract class AbstractInputControl<VALUE_TYPE> extends ControlWrapper implements IInputControl<VALUE_TYPE>
| Constructor and Description |
|---|
AbstractInputControl(IControl control) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputListener(IInputListener listener)
Adds an input listener
|
void |
addValidationConditionListener(IValidationConditionListener listener)
Adds a validation condition listener
|
void |
addValidator(IValidator<VALUE_TYPE> validator)
Adds a validator to the input component
|
protected abstract IValidationResult |
createValidationResult() |
protected void |
fireInputChanged() |
void |
removeInputListener(IInputListener listener)
Removes an input listener
|
void |
removeValidationConditionListener(IValidationConditionListener listener)
Removes a validation condition listener
|
protected void |
setValidationCacheDirty() |
IValidationResult |
validate()
Does the validation
|
addParentListener, getDragSource, getDropTarget, getLayoutConstraints, getMaxSize, getMinSize, getParent, getPreferredSize, getRoot, getWidget, removeParentListener, setLayoutConstraints, setMaxSize, setMinSize, setParent, setPreferredSize, setToolTipTextaddComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addPopupDetectionListener, addShowingStateListener, createPopupMenu, fromComponent, getBackgroundColor, getBounds, getForegroundColor, getPosition, getSize, hasFocus, isReparentable, isShowing, isVisible, redraw, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePopupDetectionListener, removeShowingStateListener, requestFocus, setBackgroundColor, setBounds, setCursor, setForegroundColor, setPopupMenu, setPosition, setPosition, setRedrawEnabled, setSize, setSize, setVisible, toComponent, toLocal, toScreenaddDisposeListener, dispose, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDragSource, getDropTarget, getParent, getRoot, setMaxSize, setMinSize, setParent, setPreferredSizegetLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipTextaddParentListener, removeParentListenerhasModifications, isEditable, resetModificationStatecreatePopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListenergetValue, setValuesetEditablegetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListenerpublic AbstractInputControl(IControl control)
protected abstract IValidationResult createValidationResult()
public final void addValidator(IValidator<VALUE_TYPE> validator)
IInputComponentaddValidator in interface IInputComponent<VALUE_TYPE>validator - The validator to add, must not be nullpublic final IValidationResult validate()
IValidateablevalidate in interface IValidateablepublic final void addValidationConditionListener(IValidationConditionListener listener)
IValidateableaddValidationConditionListener in interface IValidateablelistener - The listener to addpublic final void removeValidationConditionListener(IValidationConditionListener listener)
IValidateableremoveValidationConditionListener in interface IValidateablelistener - The listener to removepublic final void addInputListener(IInputListener listener)
IInputObservableaddInputListener in interface IInputObservablelistener - The listener to addpublic final void removeInputListener(IInputListener listener)
IInputObservableremoveInputListener in interface IInputObservablelistener - The listener to removeprotected final void setValidationCacheDirty()
protected final void fireInputChanged()
Siehe auch Jowidgets Nutzerhandbuch