Package com.treemap.swing
Class ColorComboBoxModel<N extends MutableTreeMapNode>
java.lang.Object
javax.swing.AbstractListModel<E>
javax.swing.DefaultComboBoxModel<TreeMapField>
com.treemap.swing.AbstractTreeMapFieldComboBoxModel
com.treemap.swing.ColorComboBoxModel<N>
- All Implemented Interfaces:
Serializable
,ComboBoxModel
,ListModel
,MutableComboBoxModel
public class ColorComboBoxModel<N extends MutableTreeMapNode>
extends AbstractTreeMapFieldComboBoxModel
- See Also:
-
Field Summary
Fields inherited from class com.treemap.swing.AbstractTreeMapFieldComboBoxModel
none, treeMapModel
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
accept
(TreeMapField field) protected void
protected void
Methods inherited from class javax.swing.DefaultComboBoxModel
addAll, addAll, addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
ColorComboBoxModel
-
-
Method Details
-
updateTreeMap
protected void updateTreeMap()- Specified by:
updateTreeMap
in classAbstractTreeMapFieldComboBoxModel
-
updateComboBox
protected void updateComboBox()- Specified by:
updateComboBox
in classAbstractTreeMapFieldComboBoxModel
-
accept
- Specified by:
accept
in classAbstractTreeMapFieldComboBoxModel
-