Class TableViewHeader

    • Constructor Detail

      • TableViewHeader

        public TableViewHeader()
      • TableViewHeader

        public TableViewHeader​(TableView tableView)
    • Method Detail

      • setSkin

        protected void setSkin​(Skin skin)
        Description copied from class: Component
        Sets the skin, replacing any previous skin.
        Overrides:
        setSkin in class Component
        Parameters:
        skin - The new skin.
      • getTableView

        public TableView getTableView()
      • setTableView

        public void setTableView​(TableView tableView)
      • pressHeader

        public void pressHeader​(int index)
      • getHeaderAt

        public int getHeaderAt​(int x)
        Returns the index of the header at a given location.
        Parameters:
        x - The x-coordinate of the header to identify.
        Returns:
        The column index, or -1 if there is no column at the given x-coordinate.
      • getHeaderBounds

        public Bounds getHeaderBounds​(int index)
        Returns the bounding area of a given header.
        Parameters:
        index - The index of the header.
        Returns:
        The bounding area of the header.