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 classTriStateCheckBoxContentModel.Builder
-
Field Summary
Fields Modifier and Type Field Description static TriStateSelectionCyclerALTERNATIVE_CYCLERstatic TriStateSelectionCyclerDEFAULT_CYCLERprivate booleanisEnabledprivate java.beans.PropertyChangeSupportpcsprivate RichTooltiprichTooltipprivate TriStateSelectionChangeListenerselectionChangeListenerprivate TriStateSelectionCyclerselectionCyclerprivate TriStateButtonModel.SelectionStateselectionStateprivate java.lang.Stringtext
-
Constructor Summary
Constructors Modifier Constructor Description privateTriStateCheckBoxContentModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener pcl)static TriStateCheckBoxContentModel.Builderbuilder()RichTooltipgetRichTooltip()TriStateSelectionChangeListenergetSelectionChangeListener()TriStateSelectionCyclergetSelectionCycler()TriStateButtonModel.SelectionStategetSelectionState()java.lang.StringgetText()booleanisEnabled()voidremovePropertyChangeListener(java.beans.PropertyChangeListener pcl)voidsetEnabled(boolean enabled)voidsetSelectionCycler(TriStateSelectionCycler selectionCycler)voidsetSelectionState(TriStateButtonModel.SelectionState selectionState)voidsetText(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()
-
-