Class Grid.StaticSection<ROWTYPE extends Grid.StaticSection.StaticRow<?>>

    • Constructor Detail

      • StaticSection

        public StaticSection()
        Deprecated.
    • Method Detail

      • setVisible

        public void setVisible​(boolean visible)
        Deprecated.
        Sets the visibility of the whole section.
        Parameters:
        visible - true to show this section, false to hide
      • isVisible

        public boolean isVisible()
        Deprecated.
        Returns the visibility of this section.
        Returns:
        true if visible, false otherwise.
      • getRow

        public ROWTYPE getRow​(int rowIndex)
        Deprecated.
        Gets row at given index.
        Parameters:
        rowIndex - 0 based index for row. Counted from top to bottom
        Returns:
        row at given index
      • getRowCount

        public int getRowCount()
        Deprecated.
        Gets the amount of rows in this section.
        Returns:
        row count
      • createRow

        protected abstract ROWTYPE createRow()
        Deprecated.
      • markAsDirty

        protected void markAsDirty()
        Deprecated.
        Informs the grid that state has changed and it should be redrawn.
      • removeColumn

        protected void removeColumn​(Object propertyId)
        Deprecated.
        Removes a column for given property id from the section.
        Parameters:
        propertyId - property to be removed
      • addColumn

        protected void addColumn​(Object propertyId)
        Deprecated.
        Adds a column for given property id to the section.
        Parameters:
        propertyId - property to be added
      • sanityCheck

        protected void sanityCheck()
                            throws IllegalStateException
        Deprecated.
        Performs a sanity check that section is in correct state.
        Throws:
        IllegalStateException - if merged cells are not i n continuous range
      • writeDesign

        protected void writeDesign​(org.jsoup.nodes.Element tableSectionElement,
                                   DesignContext designContext)
        Deprecated.
        Writes the declarative design to the given table section element.
        Parameters:
        tableSectionElement - Element to write design to
        designContext - the design context
        Since:
        7.5.0
      • readDesign

        protected void readDesign​(org.jsoup.nodes.Element tableSectionElement,
                                  DesignContext designContext)
                           throws DesignException
        Deprecated.
        Writes the declarative design from the given table section element.
        Parameters:
        tableSectionElement - Element to read design from
        designContext - the design context
        Throws:
        DesignException - if the table section contains unexpected children
        Since:
        7.5.0