Class CellBrowser.BrowserCellList<T>

    • Constructor Detail

      • BrowserCellList

        public BrowserCellList​(Cell<T> cell,
                               int level,
                               ProvidesKey<T> keyProvider)
    • Method Detail

      • deselectValue

        protected void deselectValue()
      • getCellParent

        protected Element getCellParent​(Element item)
        Description copied from class: CellList
        Get the parent element that wraps the cell from the list item. Override this method if you add structure to the element.
        Overrides:
        getCellParent in class CellList<T>
        Parameters:
        item - the row element that wraps the list item
        Returns:
        the parent element of the cell
      • isKeyboardNavigationSuppressed

        protected boolean isKeyboardNavigationSuppressed()
        Description copied from class: AbstractHasData
        Check if keyboard navigation is being suppressed, such as when the user is editing a cell.
        Overrides:
        isKeyboardNavigationSuppressed in class CellList<T>
        Returns:
        true if suppressed, false if not
      • setKeyboardSelected

        protected void setKeyboardSelected​(int index,
                                           boolean selected,
                                           boolean stealFocus)
        Description copied from class: AbstractHasData
        Update an element to reflect its keyboard selected state.
        Overrides:
        setKeyboardSelected in class CellList<T>
        Parameters:
        index - the index of the element
        selected - true if selected, false if not
        stealFocus - true if the row should steal focus, false if not
      • setSelectedValue

        protected void setSelectedValue​(T value)
        Set the selected value in this list. If there is already a selected value, the old value will be deselected.
        Parameters:
        value - the selected value