@Component(tag="timebox", widgetClass="Timebox", parentTag="*", description="An input box for entering a time value.") public class Timebox extends BaseInputboxComponent<Date>
BaseComponent.SubComponentlog| Constructor and Description |
|---|
Timebox() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_toClient(Date value)
Override to provide alternate serialization format for sending to client.
|
protected String |
_toString(Date value)
Converts a value to a string.
|
protected Date |
_toValue(String value)
Converts a string value to this component's value type.
|
String |
getFormat()
Returns the format for displaying the time.
|
void |
setFormat(String format)
Sets the format for displaying the time.
|
getMaxLength, getMaxValue, getMinValue, getPattern, getPlaceholder, getSynchronized, isReadonly, isRequired, selectAll, selectRange, setMaxLength, setMaxValue, setMinValue, setPattern, setPlaceholder, setReadonly, setRequired, setSynchronized_getValue, _onChange, _setValue, _setValue, 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, onDestroyTracked, 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, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientprotected Date _toValue(String value)
BaseInputComponent_toValue in class BaseInputComponent<Date>value - String value to convert.protected String _toString(Date value)
BaseInputComponent_toString in class BaseInputComponent<Date>value - The value to convert.protected String _toClient(Date value)
BaseInputComponent_toClient in class BaseInputComponent<Date>value - The raw value.@Component.PropertyGetter(value="format", description="Format for displaying the time.") public String getFormat()
SimpleDateFormat@Component.PropertySetter(value="format", defaultValue="HH:mm:ss", description="Format for displaying the time.") public void setFormat(String format)
format - Format for displaying the time.SimpleDateFormatCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.