Class AbstractGrid

    • Constructor Detail

      • AbstractGrid

        public AbstractGrid()
    • Method Detail

      • getComponentType

        public String getComponentType()
        Retrieve component tag
        Returns:
        grid tag
      • isEditable

        public boolean isEditable()
        Check if grid is editable
        Returns:
        Grid is editable
      • isCheckboxMultiselect

        public boolean isCheckboxMultiselect()
        Check if grid is checkbox multiselect
        Returns:
        Grid is checkbox multiselect
      • isDisablePagination

        public boolean isDisablePagination()
        Check if grid disable pagination
        Returns:
        Grid disable pagination
      • isRowNumbers

        public boolean isRowNumbers()
        Check if grid has row numbers
        Returns:
        Grid has row numbers
      • isSendAll

        public boolean isSendAll()
        Check if grid send all data
        Returns:
        Grid send all data
      • isMultiselect

        public boolean isMultiselect()
        Check if grid is multiselect
        Returns:
        Grid is multiselect
      • isMultioperation

        public boolean isMultioperation()
        Check if grid is multioperation
        Returns:
        Grid is multoperation
      • isValidateOnSave

        public boolean isValidateOnSave()
        Check if grid is validate on save
        Returns:
        Grid is validate on save
      • isShowTotals

        public boolean isShowTotals()
        Check if grid show totals
        Returns:
        Grid show totals
      • isTreegrid

        public boolean isTreegrid()
        Returns if grid is a treegrid or not
        Returns:
        Grid is a treegrid
      • getGridPagerValuesConverter

        public List<Integer> getGridPagerValuesConverter()
        Returns a list with the grid pager values for JSON serialization
        Returns:
        Column names list
      • getGroupHeaderModel

        public List<GroupHeader> getGroupHeaderModel()
        Returns the column list description for JSON serialization
        Returns:
        Column Model List
      • getButtonModelConverter

        public List<Button> getButtonModelConverter()
        Returns a the button list description for JSON serialization
        Returns:
        Button Model List
      • getColumnById

        public ScreenColumn getColumnById​(String name)
        Retrieve column by column id
        Parameters:
        name - column id
        Returns:
        Column found
      • generateHelpTemplate

        public org.stringtemplate.v4.ST generateHelpTemplate​(org.stringtemplate.v4.STGroup group,
                                                             String label,
                                                             boolean developers)
        Description copied from class: Element
        Generates the output HTML of the element
        Overrides:
        generateHelpTemplate in class Element
        Parameters:
        group - String Template Group
        label - Parent label
        developers - Help for developers
        Returns:
        Code
      • getReportStructure

        public List<Element> getReportStructure​(List<Element> printElementList,
                                                String label,
                                                com.fasterxml.jackson.databind.node.ObjectNode parameters,
                                                String dataSuffix)
        Get print element list (to be overwritten)
        Overrides:
        getReportStructure in class AbstractCriteria
        Parameters:
        printElementList - Print element list
        label - Last label
        parameters - Parameters
        dataSuffix - Data suffix
        Returns:
        Print bean