Class RibbonRadioButtonContentModel
java.lang.Object
org.pushingpixels.radiance.component.api.ribbon.synapse.model.RibbonRadioButtonContentModel
- All Implemented Interfaces:
ChangeAware
,ContentModel
,PropertyChangeAware
,ComponentContentModel
public class RibbonRadioButtonContentModel
extends Object
implements ComponentContentModel, ChangeAware, PropertyChangeAware
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ActionListener
private String
private RadianceIcon.Factory
private boolean
private boolean
private ItemListener
private final PropertyChangeSupport
private RichTooltip
private String
private RibbonRadioButtonGroupModel
private final WeakChangeSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the specified change listener to track changes to the underlying source.void
builder()
private void
getText()
boolean
boolean
void
Removes the specified change listener from tracking changes to the underlying source.void
void
setEnabled
(boolean enabled) void
setSelected
(boolean selected)
-
Field Details
-
isEnabled
private boolean isEnabled -
iconFactory
-
caption
-
richTooltip
-
actionListener
-
itemListener
-
text
-
isSelected
private boolean isSelected -
toggleGroupModel
-
weakChangeSupport
-
pcs
-
-
Constructor Details
-
RibbonRadioButtonContentModel
private RibbonRadioButtonContentModel()
-
-
Method Details
-
builder
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceComponentContentModel
- Specified by:
addPropertyChangeListener
in interfacePropertyChangeAware
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceComponentContentModel
- Specified by:
removePropertyChangeListener
in interfacePropertyChangeAware
-
addChangeListener
Description copied from interface:ChangeAware
Adds the specified change listener to track changes to the underlying source.- Specified by:
addChangeListener
in interfaceChangeAware
- Parameters:
l
- Change listener to add.- See Also:
-
removeChangeListener
Description copied from interface:ChangeAware
Removes the specified change listener from tracking changes to the underlying source.- Specified by:
removeChangeListener
in interfaceChangeAware
- Parameters:
l
- Change listener to remove.- See Also:
-
fireStateChanged
private void fireStateChanged() -
getText
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean selected) -
getToggleGroupModel
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceComponentContentModel
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceComponentContentModel
-
getIconFactory
- Specified by:
getIconFactory
in interfaceComponentContentModel
-
getCaption
- Specified by:
getCaption
in interfaceComponentContentModel
-
getRichTooltip
- Specified by:
getRichTooltip
in interfaceComponentContentModel
-
getActionListener
-
getItemListener
-