Package hec.ui

Class TristateCheckBoxRenderer

java.lang.Object
hec.ui.TristateDecorator
hec.ui.TristateCheckBoxRenderer
All Implemented Interfaces:
ItemSelectable, ButtonModel, TableCellRenderer

public class TristateCheckBoxRenderer extends TristateDecorator implements TableCellRenderer
The Class TristateCheckBoxRenderer. * Author: Shannon Larson JTable cell renderer for the TristateCheckBox UI object. Uses the TristateCheckBoxData object to get information on the TristateCheckBox. If the selected JTable rows are NOT row or column headers, the check box will behave like a regular check box (i.e. only two states - selected, not selected)
  • Field Details

    • _component

      protected TristateCheckBox _component
      the component that gets rendered.
  • Constructor Details

    • TristateCheckBoxRenderer

      public TristateCheckBoxRenderer()
      Instantiates a new tristate check box renderer.
    • TristateCheckBoxRenderer

      public TristateCheckBoxRenderer(TristateCheckBox box)
      Instantiates a new tristate check box renderer.
      Parameters:
      box - the box
  • Method Details