Package com.day.cq.wcm.api.components
Interface DropTarget
- All Superinterfaces:
JSONItem
Specifies a drop target as configured in the edit config.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the mime-type accept patternsString[]Returns the DD groups for this targetgetId()Returns the id for the drop target element.getName()Returns the name of this drop targetReturns a map of additional parameters to be set on the target nodeReturns the property name to use for this drop target.
-
Field Details
-
CSS_CLASS_PREFIX
prefix for the CSS Class- See Also:
-
-
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 theCSS_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
Returns a map of additional parameters to be set on the target node- Returns:
- a map of additional parameters.
-