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 final String
    prefix for the CSS Class
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the mime-type accept patterns
    Returns the DD groups for this target
    Returns the id for the drop target element.
    Returns the name of this drop target
    Returns a map of additional parameters to be set on the target node
    Returns the property name to use for this drop target.

    Methods inherited from interface com.day.cq.commons.JSONItem

    write
  • Field Details

  • Method Details

    • getName

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

      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

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

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

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

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