T - The value type for the input box.public abstract class BaseInputboxComponent<T> extends BaseInputComponent<T>
BaseComponent.SubComponent| Constructor and Description |
|---|
BaseInputboxComponent() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength()
Returns the maximum character length of input.
|
T |
getMaxValue()
Returns the maximum allowable value, if any.
|
T |
getMinValue()
Returns the minimum allowable value, if any.
|
String |
getPattern()
Returns the regular expression that constrains the input format.
|
String |
getPlaceholder()
Returns the placeholder message that is displayed when the input box is empty.
|
protected boolean |
getSynchronized()
Returns the synchronization flag.
|
boolean |
isReadonly()
Returns true if the input box is read-only.
|
boolean |
isRequired()
Returns true if input is required for this component.
|
void |
selectAll()
Selects the entire contents of the input box.
|
void |
selectRange(int start,
int end)
Selects a range of characters in the input box.
|
void |
setMaxLength(int maxLength)
Sets the maximum character length of input.
|
void |
setMaxValue(T maxvalue)
Sets the maximum allowable value.
|
void |
setMinValue(T minvalue)
Sets the minimum allowable value.
|
void |
setPattern(String pattern)
Sets the regular expression that constrains the input format.
|
void |
setPlaceholder(String placeholder)
Sets the placeholder message that is displayed when the input box is empty.
|
void |
setReadonly(boolean readonly)
Sets the read-only state of the input box.
|
void |
setRequired(boolean required)
Sets the required state of the input box.
|
protected void |
setSynchronized(boolean synchronize)
Sets the synchronization flag.
|
_getValue, _onChange, _setValue, _setValue, _toClient, _toString, _toValue, clear, getValue, setValue_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, removeClass, removeMask, removeStyle, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasEventListener, hasEventListener, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireControllerprotected boolean getSynchronized()
protected void setSynchronized(boolean synchronize)
synchronize - The synchronization flag.@Component.PropertyGetter(value="minvalue") public T getMinValue()
public void setMinValue(T minvalue)
minvalue - The minimum allowable value. Null indicates no minimum.@Component.PropertyGetter(value="maxvalue") public T getMaxValue()
public void setMaxValue(T maxvalue)
maxvalue - The maximum allowable value. Null indicates no maximum.@Component.PropertyGetter(value="pattern") public String getPattern()
@Component.PropertySetter(value="pattern") public void setPattern(String pattern)
pattern - Regular expression that constrains the input format.@Component.PropertyGetter(value="placeholder") public String getPlaceholder()
@Component.PropertySetter(value="placeholder") public void setPlaceholder(String placeholder)
placeholder - The placeholder message.@Component.PropertyGetter(value="maxlength") public int getMaxLength()
@Component.PropertySetter(value="maxlength") public void setMaxLength(int maxLength)
maxLength - The maximum character length of input.@Component.PropertyGetter(value="readonly") public boolean isReadonly()
@Component.PropertySetter(value="readonly") public void setReadonly(boolean readonly)
readonly - If true, the contents of the input box may not be changed by the user.@Component.PropertyGetter(value="required") public boolean isRequired()
@Component.PropertySetter(value="required") public void setRequired(boolean required)
required - True if input is required for this component.public void selectAll()
public void selectRange(int start,
int end)
start - Start of range.end - End of range.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.