T - The type of numeric value supported.public abstract class BaseNumberboxComponent<T extends Number> extends BaseInputboxComponent<T>
BaseComponent.ComponentReference<T extends BaseComponent>, BaseComponent.SubComponentlog| Modifier | Constructor and Description |
|---|---|
protected |
BaseNumberboxComponent(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_toString(T value)
Converts a value to a string.
|
protected T |
_toValue(String value)
Converts a string value to this component's value type.
|
T |
getStep()
Gets the step value.
|
boolean |
getSynchronized()
Returns the synchronization flag.
|
void |
setStep(T step)
Sets the step value.
|
void |
setSynchronized(boolean synchronize)
Sets the synchronization flag.
|
getMaxLength, getMaxValue, getMinValue, getPattern, getPlaceholder, isReadonly, isRequired, selectAll, selectRange, setMaxLength, setMaxValue, setMinValue, setPattern, setPlaceholder, setReadonly, setRequired_getValue, _onChange, _setValue, _setValue, _toClient, 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, print, print, removeClass, removeMask, removeStyle, reportSize, 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, addComposite, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, detachChildren, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getLastController, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, loadModule, loadModule, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, propertyChange, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireController, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientgetAttribute, hasAttribute, removeAttribute, setAttribute@Component.PropertyGetter(value="synchronized", description="A true value means that the client will notify the server as the value of the input box changes. A false value means that the client will notify server of the new value only when the input element loses focus.") public boolean getSynchronized()
BaseInputboxComponentgetSynchronized in class BaseInputboxComponent<T extends Number>@Component.PropertySetter(value="synchronized", defaultValue="false", description="A true value means that the client will notify the server as the value of the input box changes. A false value means that the client will notify server of the new value only when the input element loses focus.") public void setSynchronized(boolean synchronize)
BaseInputboxComponentsetSynchronized in class BaseInputboxComponent<T extends Number>synchronize - The synchronization flag.@Component.PropertyGetter(value="step", description="The increment or decrement when the spinner element is clicked.") public T getStep()
public void setStep(T step)
step - The step value. Null or zero disables the step function.protected String _toString(T value)
BaseInputComponent_toString in class BaseInputComponent<T extends Number>value - The value to convert.protected T _toValue(String value)
BaseInputComponent_toValue in class BaseInputComponent<T extends Number>value - String value to convert.Copyright © 2018 Fujion Framework. All rights reserved.