All Implemented Interfaces:
TagBase, GlobalAttributable, Serializable, Cloneable

public class Draggable extends AbstractAttribute implements GlobalAttributable
<element draggable="true|false|auto">

 The draggable attribute specifies whether an element is draggable or not.

 
See Also:
  • Field Details

  • Constructor Details

    • Draggable

      public Draggable()
      the default value auto will be set.
      Since:
      1.0.0
    • Draggable

      public Draggable(String value)
      Parameters:
      value - the value should be either true or false
      Since:
      1.1.4
    • Draggable

      public Draggable(Boolean draggable)
      Parameters:
      draggable - the draggable to set, true/false/null. The null will set auto for draggable value.
      Since:
      1.0.0
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0
    • isDraggable

      public Boolean isDraggable()
      Returns:
      the draggable true/false/null. null means the value is auto.
      Since:
      1.0.0
    • setDraggable

      public void setDraggable(Boolean draggable)
      Parameters:
      draggable - the draggable to set, true/false/null. The null will set auto for draggable value.
      Since:
      1.0.0