Class LayoutFunctions


  • public class LayoutFunctions
    extends Object
    Provides helper methods, declared as static, to be used by the rendering framework.
    Since:
    5.5
    • Constructor Detail

      • LayoutFunctions

        public LayoutFunctions()
    • Method Detail

      • getFieldDefinitionsAsString

        public static String getFieldDefinitionsAsString​(FieldDefinition[] defs)
        Returns a String representing each of the field definitions property name, separated by a space.
      • getSelectedRows

        public static List<LayoutRow> getSelectedRows​(Layout layout,
                                                      List<String> selectedRowNames,
                                                      boolean showAlwaysSelected)
      • getDefaultSelectedRowNames

        public static List<String> getDefaultSelectedRowNames​(Layout layout,
                                                              boolean showAlwaysSelected)
      • computeLayoutDefinitionId

        public static String computeLayoutDefinitionId​(LayoutDefinition layoutDef)
        Returns an identifier computed from this definition so that an identical definition will have the same id.
        Since:
        5.5
      • computeLayoutRowDefinitionId

        public static String computeLayoutRowDefinitionId​(LayoutRowDefinition layoutRowDef)
        Returns an identifier computed from this definition so that an identical definition will have the same id.
        Since:
        5.5
      • computeWidgetDefinitionId

        public static String computeWidgetDefinitionId​(WidgetDefinition widgetDef)
        Returns an identifier computed from this definition so that an identical definition will have the same id.
        Since:
        5.5