Class RibbonCheckBoxContentModel
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.ribbon.synapse.model.RibbonCheckBoxContentModel
-
- All Implemented Interfaces:
ContentModel
,ComponentContentModel
public class RibbonCheckBoxContentModel extends java.lang.Object implements ComponentContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RibbonCheckBoxContentModel.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.awt.event.ActionListener
actionListener
private java.lang.String
caption
private RadianceIcon.Factory
iconFactory
private boolean
isEnabled
private boolean
isSelected
private java.awt.event.ItemListener
itemListener
private java.beans.PropertyChangeSupport
pcs
private RichTooltip
richTooltip
private java.lang.String
text
-
Constructor Summary
Constructors Modifier Constructor Description private
RibbonCheckBoxContentModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
static RibbonCheckBoxContentModel.Builder
builder()
java.awt.event.ActionListener
getActionListener()
java.lang.String
getCaption()
RadianceIcon.Factory
getIconFactory()
java.awt.event.ItemListener
getItemListener()
RichTooltip
getRichTooltip()
java.lang.String
getText()
boolean
isEnabled()
boolean
isSelected()
void
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
void
setEnabled(boolean enabled)
void
setSelected(boolean selected)
-
-
-
Field Detail
-
isEnabled
private boolean isEnabled
-
iconFactory
private RadianceIcon.Factory iconFactory
-
caption
private java.lang.String caption
-
richTooltip
private RichTooltip richTooltip
-
actionListener
private java.awt.event.ActionListener actionListener
-
itemListener
private java.awt.event.ItemListener itemListener
-
text
private java.lang.String text
-
isSelected
private boolean isSelected
-
pcs
private final java.beans.PropertyChangeSupport pcs
-
-
Method Detail
-
builder
public static RibbonCheckBoxContentModel.Builder builder()
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
- Specified by:
addPropertyChangeListener
in interfaceComponentContentModel
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
- Specified by:
removePropertyChangeListener
in interfaceComponentContentModel
-
getText
public java.lang.String getText()
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceComponentContentModel
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceComponentContentModel
-
getIconFactory
public RadianceIcon.Factory getIconFactory()
- Specified by:
getIconFactory
in interfaceComponentContentModel
-
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption
in interfaceComponentContentModel
-
getRichTooltip
public RichTooltip getRichTooltip()
- Specified by:
getRichTooltip
in interfaceComponentContentModel
-
getActionListener
public java.awt.event.ActionListener getActionListener()
-
getItemListener
public java.awt.event.ItemListener getItemListener()
-
-