Class OnKeyPress
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.keyboard.OnKeyPress
- All Implemented Interfaces:
TagBase
,EventAttribute
,InputAttributable
,TextAreaAttributable
,Serializable
,Cloneable
public class OnKeyPress
extends AbstractEventAttribute
implements InputAttributable, TextAreaAttributable
onkeypress
attribute for the element. This attribute is
supported by multiple tags.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionOnKeyPress
(ServerAsyncMethod serverAsyncMethod) OnKeyPress
(ServerAsyncMethod serverAsyncMethod, Object serverSideData) OnKeyPress
(String value) OnKeyPress
(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody) OnKeyPress
(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
-
OnKeyPress
public OnKeyPress() -
OnKeyPress
-
OnKeyPress
public OnKeyPress(String jsPreFunctionBody, ServerAsyncMethod serverAsyncMethod, String jsFilterFunctionBody, String jsPostFunctionBody) -
OnKeyPress
-
OnKeyPress
- Parameters:
serverAsyncMethod
-serverSideData
-- Since:
- 3.0.2
-
OnKeyPress
public OnKeyPress(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
-