@Component(tag="memobox", widgetClass="Memobox", parentTag="*", description="Component for entering multiple lines of text.") public class Memobox extends BaseInputboxComponent<String>
| Modifier and Type | Class and Description |
|---|---|
static class |
Memobox.WrapMode
Wrap mode for memo box.
|
BaseComponent.ComponentReference<T extends BaseComponent>, BaseComponent.SubComponentlog| Constructor and Description |
|---|
Memobox() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_toString(String value)
Converts a value to a string.
|
protected String |
_toValue(String value)
Converts a string value to this component's value type.
|
int |
getCols()
Returns the visible width of the input area in characters.
|
int |
getRows()
Returns the visible number of rows in the input area.
|
boolean |
getSynchronized()
Returns the synchronization flag.
|
Memobox.WrapMode |
getWrap()
Returns the wrap mode.
|
boolean |
isAutoScroll()
Returns the auto-scroll setting.
|
void |
setAutoScroll(boolean autoScroll)
Sets the auto-scroll setting.
|
void |
setCols(int cols)
Sets the visible width of the input area in characters.
|
void |
setRows(int rows)
Sets the visible number of rows in the input area.
|
void |
setSynchronized(boolean synchronize)
Sets the synchronization flag.
|
void |
setWrap(Memobox.WrapMode wrap)
Sets the wrap mode.
|
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<String>@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<String>synchronize - The synchronization flag.@Component.PropertyGetter(value="autoScroll", description="If true, the control will ensure that the last line of input is always visible, scrolling if necessary.") public boolean isAutoScroll()
@Component.PropertySetter(value="autoScroll", defaultValue="false", description="If true, the control will ensure that the last line of input is always visible, scrolling if necessary.") public void setAutoScroll(boolean autoScroll)
autoScroll - The auto-scroll setting.@Component.PropertyGetter(value="wrap", description="Text wrapping behavior when submitting a form.") public Memobox.WrapMode getWrap()
Memobox.WrapMode@Component.PropertySetter(value="wrap", defaultValue="soft", description="Text wrapping behavior when submitting a form.") public void setWrap(Memobox.WrapMode wrap)
wrap - The wrap mode.Memobox.WrapMode@Component.PropertyGetter(value="cols", description="The visible width of the input area in characters.") public int getCols()
@Component.PropertySetter(value="cols", defaultValue="20", description="The visible width of the input area in characters.") public void setCols(int cols)
cols - The visible width of the input area in characters.@Component.PropertyGetter(value="rows", description="The visible number of rows in the input area.") public int getRows()
@Component.PropertySetter(value="rows", defaultValue="2", description="The visible number of rows in the input area.") public void setRows(int rows)
rows - The visible number of rows in the input area.protected String _toValue(String value)
BaseInputComponent_toValue in class BaseInputComponent<String>value - String value to convert.protected String _toString(String value)
BaseInputComponent_toString in class BaseInputComponent<String>value - The value to convert.Copyright © 2018 Fujion Framework. All rights reserved.