Class TableRows

    • Field Detail

      • EMPTY_ROWS

        public static final TableRow[] EMPTY_ROWS
        Empty array of rows.
      • EMPTY_CELLS

        public static final TCell[] EMPTY_CELLS
        Empty array of cell contents.
    • Constructor Detail

      • TableRows

        public TableRows()
        Creates the container without name with a null value.
    • Method Detail

      • doPropEqualsArrayValues

        protected boolean doPropEqualsArrayValues()
        Method checking if the property container should do a normal comparison with its contents based on extends framework, atoms, errors, etc.
        Overrides:
        doPropEqualsArrayValues in class PropCnr
        Returns:
        false (default) to perform normal checking, true to compare property values as a plain array container instead.
      • usesPropIndex

        public boolean usesPropIndex()
        Index is important for the rows container.
        Specified by:
        usesPropIndex in interface IPropCnr
        Overrides:
        usesPropIndex in class PropCnr
        Returns:
        true if index is used, false for non-index based container.
      • validateChildPropInValue

        protected void validateChildPropInValue​(GProp<?> child)
                                         throws PropException
        Validates a single child property instance during the call to PropCnr.validatePropValue(Object). This method does nothing and subclasses may use it to validate e.g. the instance type.

        The method validates that the child is a TableRow instance.

        Overrides:
        validateChildPropInValue in class PropCnr
        Parameters:
        child - The child property to validate.
        Throws:
        PropException - If child is not a TableRow.
      • clone

        public TableRows clone()
        Creates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.
        Overrides:
        clone in class PropCnr
      • getTable

        public UITable getTable()
        Gets the table instance.
      • getRows

        public TableRow[] getRows()
        Gets the rows.
        Returns:
        All rows.