Class ContentEditable
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
com.webfirmframework.wffweb.tag.html.html5.attribute.global.ContentEditable
- All Implemented Interfaces:
TagBase,GlobalAttributable,Serializable,Cloneable
<element contenteditable="true|false">
The contenteditable attribute specifies whether the content of an element is editable or not.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionthe default valuefalsewill be set.ContentEditable(boolean editable) ContentEditable(String value) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()invokes only once per objectbooleanvoidsetEditable(boolean editable) 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, setAttributeName, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setModifiedLockless, setOwnerTag, setPreIndexedAttribute, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTagMethods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuildMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
Constructor Details
-
ContentEditable
public ContentEditable()the default valuefalsewill be set.- Since:
- 1.0.0
-
ContentEditable
- Parameters:
value- the value should be either true or false- Since:
- 1.1.4
-
ContentEditable
public ContentEditable(boolean editable) - Parameters:
editable-- Since:
- 1.0.0
-
-
Method Details
-
init
protected void init()invokes only once per object- Since:
- 1.0.0
-
isEditable
public boolean isEditable()- Returns:
- the editable
- Since:
- 1.0.0
-
setEditable
public void setEditable(boolean editable) - Parameters:
editable- the editable to set- Since:
- 1.0.0
-