Class TableRow

    • Constructor Detail

      • TableRow

        public TableRow()
        Creates the container without name with a null value.
      • TableRow

        public TableRow​(Atom propertyAtom)
        Creates the container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • usesPropIndex

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

        public TableRow 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.
      • getRowIndex

        public int getRowIndex()
        Gets the row index in the table.
        Returns:
        This row's index in the table, or -1 if not added to the table.
      • isSelected

        public boolean isSelected()
        Returns the selection state of the row.
        Returns:
        true if the row is selected, false otherwise.
      • getCells

        public TableCell[] getCells()
        Gets the row cells.
        Returns:
        The cells.