 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.utils.tristate;
22 import java.awt.event.ItemEvent;
23 import javax.swing.JToggleButton.ToggleButtonModel;
24 import org.jetbrains.annotations.NotNull;
110 final int indeterminate = 3;
111 fireItemStateChanged(
new ItemEvent(
this, ItemEvent.ITEM_STATE_CHANGED,
this, indeterminate));
Possible states for TristateButtonModels.
static TristateState getTristateState(final boolean state)
Returns the tristate state for a boolean state.