|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.dom.css.CssBase
to.etc.domui.dom.html.NodeBase
to.etc.domui.dom.html.Input
public class Input
The "input" tag as a base class. This one only handles classic, non-image inputs.
Constructor Summary | |
---|---|
Input()
|
Method Summary | |
---|---|
boolean |
acceptRequestParameter(java.lang.String[] values)
The input tag accepts a single value. |
void |
componentHandleWebAction(RequestContextImpl ctx,
java.lang.String action)
The input tag handles Constants.ACMD_LOOKUP_TYPING and Constants.ACMD_LOOKUP_TYPING_DONE browser commands. |
java.lang.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()
|
java.lang.String |
getOnKeyPressJS()
|
ILookupTypingListener<?> |
getOnLookupTyping()
|
IValueChanged<?> |
getOnValueChanged()
|
java.lang.String |
getRawValue()
|
int |
getSize()
|
boolean |
isDisabled()
|
boolean |
isReadOnly()
|
void |
setDisabled(boolean disabled)
|
void |
setMaxLength(int maxLength)
|
void |
setOnKeyPressJS(java.lang.String onKeyPressJS)
|
void |
setOnLookupTyping(ILookupTypingListener<?> onLookupTyping)
|
void |
setOnValueChanged(IValueChanged<?> onValueChanged)
|
void |
setRawValue(java.lang.String value)
|
void |
setReadOnly(boolean readOnly)
|
void |
setSize(int size)
|
void |
visit(INodeVisitor v)
This must visit the appropriate method in the node visitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface to.etc.domui.dom.errors.INodeErrorDelegate |
---|
clearMessage, getMessage, setMessage |
Constructor Detail |
---|
public Input()
Method Detail |
---|
public java.lang.String getInputType()
public void visit(INodeVisitor v) throws java.lang.Exception
NodeBase
visit
in class NodeBase
java.lang.Exception
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public int getMaxLength()
public void setMaxLength(int maxLength)
public int getSize()
public void setSize(int size)
public java.lang.String getRawValue()
public void setRawValue(java.lang.String value)
public java.lang.String getOnKeyPressJS()
public void setOnKeyPressJS(java.lang.String onKeyPressJS)
public boolean acceptRequestParameter(java.lang.String[] values)
acceptRequestParameter
in class NodeBase
NodeBase.acceptRequestParameter(java.lang.String[])
public void componentHandleWebAction(RequestContextImpl ctx, java.lang.String action) throws java.lang.Exception
Constants.ACMD_LOOKUP_TYPING
and Constants.ACMD_LOOKUP_TYPING_DONE
browser commands.
componentHandleWebAction
in class NodeBase
java.lang.Exception
NodeBase.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)
public IValueChanged<?> getOnValueChanged()
getOnValueChanged
in interface IHasChangeListener
IHasChangeListener.getOnValueChanged()
public void setOnValueChanged(IValueChanged<?> onValueChanged)
setOnValueChanged
in interface IHasChangeListener
IHasChangeListener.setOnValueChanged(to.etc.domui.dom.html.IValueChanged)
public ILookupTypingListener<?> getOnLookupTyping()
public void setOnLookupTyping(ILookupTypingListener<?> onLookupTyping)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |