Interface TristateModel<E>


public interface TristateModel<E>
Indicate a model that supports tristate checkbox.
Since:
10.0.0
Author:
jumperchen
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    States of the tri-state selection designed to assist users in defining states effectively.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current partial selection.
    boolean
    isPartial(E item)
    Returns whether the item is partially selected.
  • Method Details

    • getPartials

      Set<E> getPartials()
      Returns the current partial selection.
    • isPartial

      boolean isPartial(E item)
      Returns whether the item is partially selected.
      Parameters:
      item - a data item