Class Draggable
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.Draggable
- All Implemented Interfaces:
TagBase
,GlobalAttributable
,Serializable
,Cloneable
<element draggable="true|false|auto">
The draggable attribute specifies whether an element is draggable or not.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
invokes only once per objectvoid
setDraggable
(Boolean draggable) 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, 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
-
Field Details
-
AUTO
- See Also:
-
-
Constructor Details
-
Draggable
public Draggable()the default valueauto
will be set.- Since:
- 1.0.0
-
Draggable
- Parameters:
value
- the value should be either true or false- Since:
- 1.1.4
-
Draggable
- Parameters:
draggable
- the draggable to set, true/false/null. The null will setauto
for draggable value.- Since:
- 1.0.0
-
-
Method Details
-
init
protected void init()invokes only once per object- Since:
- 1.0.0
-
isDraggable
- Returns:
- the draggable true/false/null.
null
means the value isauto
. - Since:
- 1.0.0
-
setDraggable
- Parameters:
draggable
- the draggable to set, true/false/null. The null will setauto
for draggable value.- Since:
- 1.0.0
-