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 ActionListenerprivate Stringprivate RadianceIcon.Factoryprivate booleanprivate booleanprivate ItemListenerprivate final PropertyChangeSupportprivate RichTooltipprivate Stringprivate RibbonRadioButtonGroupModelprivate final WeakChangeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specified change listener to track changes to the underlying source.voidbuilder()private voidgetText()booleanbooleanvoidRemoves the specified change listener from tracking changes to the underlying source.voidvoidsetEnabled(boolean enabled) voidsetSelected(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:
addPropertyChangeListenerin interfaceComponentContentModel- Specified by:
addPropertyChangeListenerin interfacePropertyChangeAware
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceComponentContentModel- Specified by:
removePropertyChangeListenerin interfacePropertyChangeAware
-
addChangeListener
Description copied from interface:ChangeAwareAdds the specified change listener to track changes to the underlying source.- Specified by:
addChangeListenerin interfaceChangeAware- Parameters:
l- Change listener to add.- See Also:
-
removeChangeListener
Description copied from interface:ChangeAwareRemoves the specified change listener from tracking changes to the underlying source.- Specified by:
removeChangeListenerin 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:
isEnabledin interfaceComponentContentModel
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceComponentContentModel
-
getIconFactory
- Specified by:
getIconFactoryin interfaceComponentContentModel
-
getCaption
- Specified by:
getCaptionin interfaceComponentContentModel
-
getRichTooltip
- Specified by:
getRichTooltipin interfaceComponentContentModel
-
getActionListener
-
getItemListener
-