All Implemented Interfaces:
TagBase, GlobalAttributable, Serializable, Cloneable

public class Dropzone extends AbstractAttribute implements GlobalAttributable
<element dropzone="copy|move|link">
 The dropzone attribute specifies whether the dragged data is copied, moved,
 or linked, when it is dropped on an element.
 
See Also:
  • Field Details

    • COPY

      public static final String COPY
      Dropping the data will result in a copy of the dragged data
      See Also:
    • MOVE

      public static final String MOVE
      Dropping the data will result in that the dragged data is moved to the new location
      See Also:
  • Constructor Details

    • Dropzone

      public Dropzone()
      the default value copy will be set.
      Since:
      1.0.0
    • Dropzone

      public Dropzone(String value)
  • Method Details

    • init

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

      public String getValue()
      Returns:
      the value
      Since:
      1.0.0
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
      Since:
      1.0.0
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value for the attribute.
      Since:
      2.1.15