public class Input extends NodeBase implements INativeChangeListener, IHasChangeListener, INodeErrorDelegate, IHtmlInput
| Constructor and Description |
|---|
Input() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptRequestParameter(String[] values)
The input tag accepts a single value.
|
void |
componentHandleWebAction(RequestContextImpl ctx,
String action)
The input tag handles
Constants.ACMD_LOOKUP_TYPING and Constants.ACMD_LOOKUP_TYPING_DONE browser commands. |
String |
getDisabledBecause() |
String |
getInputType()
Returns the input type= string which defaults to 'text' but which can be changed to 'password' by the HiddenText<T> control.
|
int |
getMaxLength() |
String |
getOnKeyPressJS() |
ILookupTypingListener<?> |
getOnLookupTyping() |
IValueChanged<?> |
getOnValueChanged() |
String |
getRawValue() |
int |
getSize() |
boolean |
isDisabled() |
boolean |
isReadOnly() |
void |
setDisabled(boolean disabled) |
void |
setDisabledBecause(String msg) |
void |
setMaxLength(int maxLength) |
protected void |
setOnKeyPressJS(String onKeyPressJS) |
void |
setOnLookupTyping(ILookupTypingListener<?> onLookupTyping) |
void |
setOnValueChanged(IValueChanged<?> onValueChanged) |
void |
setRawValue(String value) |
void |
setReadOnly(boolean readOnly) |
void |
setSize(int size) |
void |
visit(INodeVisitor v)
This must visit the appropriate method in the node visitor.
|
$, addBinding, addCssClass, addGlobalMessage, addNotificationListener, afterCreateContent, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, appendTreeErrors, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createContent, createStatement, findComponentBundle, findParent, forceRebuild, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSharedContext, getSharedContextFactory, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTestRepeatId, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasError, hasParent, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnBeforeRender, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, internalShelve, internalUnshelve, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, lc, notify, notifyParentOrOpenerPage, onAddedToPage, onBeforeFullRender, onBeforeRender, onForceRebuild, onHeaderContributors, onRefresh, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setCssClass, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearMessage, getMessage, setMessagepublic String getInputType()
public void visit(INodeVisitor v) throws Exception
NodeBasepublic boolean isDisabled()
isDisabled in interface IHtmlInputpublic void setDisabled(boolean disabled)
setDisabled in interface IHtmlInputpublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public int getMaxLength()
public void setMaxLength(int maxLength)
public int getSize()
public void setSize(int size)
public String getRawValue()
public void setRawValue(String value)
public String getOnKeyPressJS()
protected void setOnKeyPressJS(String onKeyPressJS)
public boolean acceptRequestParameter(@Nonnull String[] values)
acceptRequestParameter in class NodeBaseNodeBase.acceptRequestParameter(java.lang.String[])public void componentHandleWebAction(@Nonnull RequestContextImpl ctx, @Nonnull String action) throws Exception
Constants.ACMD_LOOKUP_TYPING and Constants.ACMD_LOOKUP_TYPING_DONE browser commands.componentHandleWebAction in class NodeBaseExceptionNodeBase.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)public IValueChanged<?> getOnValueChanged()
getOnValueChanged in interface IHasChangeListenergetOnValueChanged in interface INativeChangeListenerIHasChangeListener.getOnValueChanged()public void setOnValueChanged(IValueChanged<?> onValueChanged)
setOnValueChanged in interface IHasChangeListenerIHasChangeListener.setOnValueChanged(to.etc.domui.dom.html.IValueChanged)public ILookupTypingListener<?> getOnLookupTyping()
public void setOnLookupTyping(ILookupTypingListener<?> onLookupTyping)
Copyright © 2017 etc.to. All rights reserved.