Package com.day.cq.wcm.api.designer
Interface ComponentStyle
- All Superinterfaces:
JSONItem
Defines a component style that is usually stored in the design. The component
styles are stored in the "cq:cssClass" property and automatically
added to the component css during the component include.
- Since:
- 5.4
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacedefine a selectable style option -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdefault property name to store component style cssc class names -
Method Summary
Modifier and TypeMethodDescriptionReturns the display description of this component style.getName()Returns the name of this component styleReturns an array of selectable style optionsgetPath()Returns the path where this component style is stored.getTitle()Returns the display title of this component style.
-
Field Details
-
PN_CSS_CLASS
default property name to store component style cssc class names- See Also:
-
-
Method Details
-
getName
String getName()Returns the name of this component style- Returns:
- the name
-
getPath
String getPath()Returns the path where this component style is stored.- Returns:
- the path.
-
getTitle
String getTitle()Returns the display title of this component style.- Returns:
- the title
-
getDescription
String getDescription()Returns the display description of this component style.- Returns:
- the description
-
getOptions
ComponentStyle.Option[] getOptions()Returns an array of selectable style options- Returns:
- the options.
-