Gridarta Editor
net.sf.gridarta.gui.utils.ToggleTristateCheckBox Class Reference

A TristateCheckBox that skips the indeterminate state when activated. More...

+ Inheritance diagram for net.sf.gridarta.gui.utils.ToggleTristateCheckBox:
+ Collaboration diagram for net.sf.gridarta.gui.utils.ToggleTristateCheckBox:

Public Member Functions

 ToggleTristateCheckBox (@NotNull final String text)
 Creates a new instance. More...
 
- Public Member Functions inherited from net.sf.gridarta.gui.utils.tristate.TristateCheckBox
TristateButtonModel getTristateModel ()
 Returns the model as a TristateButtonModel. More...
 
final void setModel (@NotNull final ButtonModel newModel)
 
 TristateCheckBox (@NotNull final String text)
 Creates a new instance without icon which is initially TristateState#DESELECTED. More...
 

Protected Member Functions

TristateState nextState (@NotNull final TristateState state)
 Skips the indeterminate state. More...
 
- Protected Member Functions inherited from net.sf.gridarta.gui.utils.tristate.TristateCheckBox
TristateState nextState (@NotNull final TristateState state)
 Returns the next state. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

A TristateCheckBox that skips the indeterminate state when activated.

Author
Andreas Kirschbaum

Definition at line 31 of file ToggleTristateCheckBox.java.

Constructor & Destructor Documentation

◆ ToggleTristateCheckBox()

net.sf.gridarta.gui.utils.ToggleTristateCheckBox.ToggleTristateCheckBox ( @NotNull final String  text)

Creates a new instance.

Parameters
textthe check box text

Definition at line 42 of file ToggleTristateCheckBox.java.

Member Function Documentation

◆ nextState()

TristateState net.sf.gridarta.gui.utils.ToggleTristateCheckBox.nextState ( @NotNull final TristateState  state)
protected

Skips the indeterminate state.

Definition at line 51 of file ToggleTristateCheckBox.java.

References net.sf.gridarta.gui.utils.tristate.TristateState.nextTristateState.

Member Data Documentation

◆ serialVersionUID

final long net.sf.gridarta.gui.utils.ToggleTristateCheckBox.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 36 of file ToggleTristateCheckBox.java.


The documentation for this class was generated from the following file: