Class TabLayoutTransform

    • Field Detail

      • colorPickerName

        public FormalParameter colorPickerName
        Indicates the id of a system picker that contains the possible color options for fill colors
      • FP_COLOR_PICKER_NAME

        public static final java.lang.String FP_COLOR_PICKER_NAME
        Constant specifying the name of the formal parameter for defining the id of a system picker that contains the possible background/fill color options. Value is colorPickerId.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TabLayoutTransform

        public TabLayoutTransform()
    • Method Detail

      • renderContentsBody

        public void renderContentsBody​(MarkupOutput out)
        Description copied from class: AbstractTabTransform
        Method that renders the main contents of the transform, according to the information available on the bean. This method can be customized if users would like to obtain a different output for the same given bean.
        Specified by:
        renderContentsBody in class AbstractTabTransform
        Parameters:
        out - MarkupOutput instance where the HTML contents to render will be saved.
      • renderNameSection

        protected void renderNameSection​(MarkupOutput out)
        Generates the HTML output for the Name of the object in the layout editor tab.
        Parameters:
        out - MarkupOutput instance where the HTML contents to render will be saved.
      • renderMasterPageHeaderFooterSection

        protected void renderMasterPageHeaderFooterSection​(MarkupOutput out)
        Generates the HTML output for the master page header/footer in the layout editor tab.
        Parameters:
        out - MarkupOutput instance where the HTML contents to render will be saved.
      • renderTabColorSection

        public void renderTabColorSection​(MarkupOutput out)
        Displays the interface for allowing the user to modify the fill color setting on the currently selected tab.
        Parameters:
        out - MarkupOutput instance where the HTML contents to render will be saved.
      • getColorPicker

        public ShortcutList getColorPicker()
        Returns the background color picker. If a non-null instance have been registered through the setColorPicker method, it will return that one, otherwise, it will search for a system picker with the name specified in FP_COLOR_PICKER_NAME.
        Returns:
        ShortcutList to use for the color-picker.
      • setColorPicker

        public void setColorPicker​(ShortcutList picker)

        Register the color picker for background, i.e. Fill color This allows the transform to use a ShortcutList that is not defined inside the pageConfig.

        Parameters:
        picker - The colorPicker to set.