Class TableFocusModel<T,TC extends TableColumnBase<T,?>>

    • Constructor Detail

      • TableFocusModel

        public TableFocusModel​()
    • Method Detail

      • focus

        public abstract void focus​(int row,
                                   TC column)
        Causes the item at the given index to receive the focus.
        Parameters:
        row - The row index of the item to give focus to.
        column - The column of the item to give focus to. Can be null.
      • isFocused

        public abstract boolean isFocused​(int row,
                                          TC column)
        Tests whether the row / cell at the given location currently has the focus within the UI control.
        Parameters:
        row - the row
        column - the column
        Returns:
        true if the row / cell at the given location currently has the focus within the UI control
      • focusAboveCell

        public abstract void focusAboveCell​()
        Attempts to move focus to the cell above the currently focused cell.
      • focusBelowCell

        public abstract void focusBelowCell​()
        Attempts to move focus to the cell below the currently focused cell.
      • focusLeftCell

        public abstract void focusLeftCell​()
        Attempts to move focus to the cell to the left of the currently focused cell.
      • focusRightCell

        public abstract void focusRightCell​()
        Attempts to move focus to the cell to the right of the the currently focused cell.