Class OnInput
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
com.webfirmframework.wffweb.tag.html.attribute.event.AbstractEventAttribute
com.webfirmframework.wffweb.tag.html.attribute.event.form.OnInput
- All Implemented Interfaces:
TagBase
,EventAttribute
,GlobalAttributable
,InputAttributable
,TextAreaAttributable
,Serializable
,Cloneable
public class OnInput
extends AbstractEventAttribute
implements InputAttributable, TextAreaAttributable, GlobalAttributable
oninput
attribute for the elements like input
,
textarea
and elements which are editable. OnInput
may be used to catch the even when the content of the element is changed,
for eg: if a content of
input
or textarea
is
changed. If a div
or any other elements contain
contenteditable
attribute then its content will be editable and
oninput
attribute can be used to catch its content change event
(onchange
attribute may not catch event). It's a kind of global
attribute as contenteditable
is a global attribute.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionOnInput()
OnInput
(ServerAsyncMethod serverAsyncMethod) OnInput
(ServerAsyncMethod serverAsyncMethod, Object serverSideData) OnInput
(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody) OnInput
(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody, Object serverSideData) -
Method Summary
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.event.AbstractEventAttribute
getJsFilterFunctionBody, getJsPostFunctionBody, getJsPreFunctionBody, getServerAsyncMethod, getServerSideData, getValue, isPreventDefault, setAttributeName, setJsFilterFunctionBody, setJsPostFunctionBody, setJsPreFunctionBody, setPreIndexedAttribute, setPreventDefault, setServerAsyncMethod, setServerAsyncMethod, setServerAsyncMethod, setServerAsyncMethod, setServerSideData, setValue
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeName, getAttributeValue, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getReadLocks, getValueChangeListeners, getWffPrintStructure, getWriteLocks, lockAndGetReadLocks, lockAndGetReadLocksWithAttrLock, lockAndGetWriteLocks, lockAndGetWriteLocksWithAttrLock, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueMapByKeys, removeFromAttributeValueSet, removeValueChangeListener, replaceAllInAttributeValueSet, replaceAllInAttributeValueSet, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setModifiedLockless, setOwnerTag, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTag
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuild
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
Constructor Details
-
OnInput
public OnInput() -
OnInput
-
OnInput
public OnInput(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody) -
OnInput
-
OnInput
- Parameters:
serverAsyncMethod
-serverSideData
-- Since:
- 3.0.2
-
OnInput
public OnInput(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody, Object serverSideData) - Parameters:
jsPreFunctionBody
-serverAsyncMethod
-jsFilterFunctionBody
-jsPostFunctionBody
-serverSideData
-- Since:
- 3.0.2
-
-
Method Details
-
init
protected void init()invokes only once per object- Overrides:
init
in classAbstractEventAttribute
- Since:
- 2.0.0
-