Class TableRows

    • Field Detail

      • EMPTY_ROWS

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

        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.
        doPropEqualsArrayValues in class PropCnr
        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
        usesPropIndex in class PropCnr
        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.

        validateChildPropInValue in class PropCnr
        child - The child property to validate.
        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.
        clone in class PropCnr
      • getTable

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

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