Interface ComponentStyle

  • All Superinterfaces:
    JSONItem

    public interface ComponentStyle
    extends 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
    • Field Detail

      • PN_CSS_CLASS

        static final String PN_CSS_CLASS
        default property name to store component style cssc class names
        See Also:
        Constant Field Values
    • Method Detail

      • 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.