Interface DropTarget

  • All Superinterfaces:
    JSONItem

    public interface DropTarget
    extends JSONItem
    Specifies a drop target as configured in the edit config.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CSS_CLASS_PREFIX
      prefix for the CSS Class
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String[] getAccept()
      Returns the mime-type accept patterns
      java.lang.String[] getGroups()
      Returns the DD groups for this target
      java.lang.String getId()
      Returns the id for the drop target element.
      java.lang.String getName()
      Returns the name of this drop target
      java.util.Map<java.lang.String,​java.lang.String> getParameters()
      Returns a map of additional parameters to be set on the target node
      java.lang.String getPropertyName()
      Returns the property name to use for this drop target.
    • Field Detail

      • CSS_CLASS_PREFIX

        static final java.lang.String CSS_CLASS_PREFIX
        prefix for the CSS Class
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of this drop target
        Returns:
        drop target name
      • getId

        java.lang.String getId()
        Returns the id for the drop target element. this is currently the same as the name, prefixed with the CSS_CLASS_PREFIX
        Returns:
        drop target id
      • getGroups

        java.lang.String[] getGroups()
        Returns the DD groups for this target
        Returns:
        the DD groups.
      • getAccept

        java.lang.String[] getAccept()
        Returns the mime-type accept patterns
        Returns:
        the accept patterns
      • getPropertyName

        java.lang.String getPropertyName()
        Returns the property name to use for this drop target.
        Returns:
        the property name.
      • getParameters

        java.util.Map<java.lang.String,​java.lang.String> getParameters()
        Returns a map of additional parameters to be set on the target node
        Returns:
        a map of additional parameters.