Package org.zkoss.zul.ext

## Interface TristateModel<E>

- All Known Implementing Classes:
    `DefaultTristateTreeModel`

      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 class` | `TristateModel.State` | States of the tri-state selection designed to assist users in defining states effectively.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<E>` | `getPartials()` | Returns the current partial selection.
    `boolean` | `isPartial​(E item)` | Returns whether the item is partially selected.

- - ### Method Detail

    - #### getPartials

          java.util.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