Class SwitchContentModel
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.model.SwitchContentModel
-
- All Implemented Interfaces:
ContentModel
public class SwitchContentModel extends java.lang.Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SwitchContentModel.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.awt.event.ActionListener
actionListener
private boolean
isEnabled
private boolean
isSelected
private java.awt.event.ItemListener
itemListener
private java.beans.PropertyChangeSupport
pcs
private RichTooltip
richTooltip
-
Constructor Summary
Constructors Modifier Constructor Description private
SwitchContentModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
static SwitchContentModel.Builder
builder()
java.awt.event.ActionListener
getActionListener()
java.awt.event.ItemListener
getItemListener()
RichTooltip
getRichTooltip()
boolean
isEnabled()
boolean
isSelected()
void
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
void
setEnabled(boolean enabled)
void
setSelected(boolean selected)
-
-
-
Field Detail
-
isEnabled
private boolean isEnabled
-
isSelected
private boolean isSelected
-
richTooltip
private RichTooltip richTooltip
-
actionListener
private java.awt.event.ActionListener actionListener
-
itemListener
private java.awt.event.ItemListener itemListener
-
pcs
private final java.beans.PropertyChangeSupport pcs
-
-
Method Detail
-
builder
public static SwitchContentModel.Builder builder()
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getRichTooltip
public RichTooltip getRichTooltip()
-
getActionListener
public java.awt.event.ActionListener getActionListener()
-
getItemListener
public java.awt.event.ItemListener getItemListener()
-
-