Class RibbonDefaultComboBoxContentModel<E>
java.lang.Object
javax.swing.AbstractListModel<E>
javax.swing.DefaultComboBoxModel<E>
org.pushingpixels.radiance.component.api.ribbon.synapse.model.RibbonDefaultComboBoxContentModel<E>
- All Implemented Interfaces:
Serializable,ComboBoxModel<E>,ListModel<E>,MutableComboBoxModel<E>,ContentModel,ComponentContentModel,RibbonComboBoxContentModel<E>
public class RibbonDefaultComboBoxContentModel<E>
extends DefaultComboBoxModel<E>
implements RibbonComboBoxContentModel<E>
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.pushingpixels.radiance.component.api.ribbon.synapse.model.RibbonComboBoxContentModel
RibbonComboBoxContentModel.ComboBoxSelectionChangeListener -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate RadianceIcon.Factoryprivate booleanprivate final PropertyChangeSupportprivate RichTooltipFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <E> RibbonDefaultComboBoxContentModel.Builder<E> builder()booleanvoidvoidsetEnabled(boolean enabled) Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItemMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ComboBoxModel
getSelectedItem, setSelectedItemMethods inherited from interface javax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
-
Field Details
-
isEnabled
private boolean isEnabled -
iconFactory
-
caption
-
richTooltip
-
selectionChangeListener
-
pcs
-
-
Constructor Details
-
RibbonDefaultComboBoxContentModel
-
-
Method Details
-
builder
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceComponentContentModel
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceComponentContentModel
-
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
-
getSelectionChangeListener
- Specified by:
getSelectionChangeListenerin interfaceRibbonComboBoxContentModel<E>
-
getRichTooltip
- Specified by:
getRichTooltipin interfaceComponentContentModel
-