Class TriStateCheckBoxContentModel
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.model.TriStateCheckBoxContentModel
-
- All Implemented Interfaces:
ContentModel
public class TriStateCheckBoxContentModel extends java.lang.Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TriStateCheckBoxContentModel.Builder
-
Field Summary
Fields Modifier and Type Field Description static TriStateSelectionCycler
ALTERNATIVE_CYCLER
static TriStateSelectionCycler
DEFAULT_CYCLER
private boolean
isEnabled
private java.beans.PropertyChangeSupport
pcs
private RichTooltip
richTooltip
private TriStateSelectionChangeListener
selectionChangeListener
private TriStateSelectionCycler
selectionCycler
private TriStateButtonModel.SelectionState
selectionState
private java.lang.String
text
-
Constructor Summary
Constructors Modifier Constructor Description private
TriStateCheckBoxContentModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
static TriStateCheckBoxContentModel.Builder
builder()
RichTooltip
getRichTooltip()
TriStateSelectionChangeListener
getSelectionChangeListener()
TriStateSelectionCycler
getSelectionCycler()
TriStateButtonModel.SelectionState
getSelectionState()
java.lang.String
getText()
boolean
isEnabled()
void
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
void
setEnabled(boolean enabled)
void
setSelectionCycler(TriStateSelectionCycler selectionCycler)
void
setSelectionState(TriStateButtonModel.SelectionState selectionState)
void
setText(java.lang.String text)
-
-
-
Field Detail
-
DEFAULT_CYCLER
public static TriStateSelectionCycler DEFAULT_CYCLER
-
ALTERNATIVE_CYCLER
public static TriStateSelectionCycler ALTERNATIVE_CYCLER
-
isEnabled
private boolean isEnabled
-
richTooltip
private RichTooltip richTooltip
-
selectionCycler
private TriStateSelectionCycler selectionCycler
-
selectionChangeListener
private TriStateSelectionChangeListener selectionChangeListener
-
text
private java.lang.String text
-
selectionState
private TriStateButtonModel.SelectionState selectionState
-
pcs
private final java.beans.PropertyChangeSupport pcs
-
-
Method Detail
-
builder
public static TriStateCheckBoxContentModel.Builder builder()
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String text)
-
getSelectionState
public TriStateButtonModel.SelectionState getSelectionState()
-
setSelectionState
public void setSelectionState(TriStateButtonModel.SelectionState selectionState)
-
getSelectionCycler
public TriStateSelectionCycler getSelectionCycler()
-
setSelectionCycler
public void setSelectionCycler(TriStateSelectionCycler selectionCycler)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getRichTooltip
public RichTooltip getRichTooltip()
-
getSelectionChangeListener
public TriStateSelectionChangeListener getSelectionChangeListener()
-
-