Package com.treemap.swing
Class ColorComboBoxModel<N extends MutableTreeMapNode>
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
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, treeMapModelFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaccept(TreeMapField field) protected voidprotected voidMethods inherited from class javax.swing.DefaultComboBoxModel
addAll, addAll, 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.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
ColorComboBoxModel
-
-
Method Details
-
updateTreeMap
protected void updateTreeMap()- Specified by:
updateTreeMapin classAbstractTreeMapFieldComboBoxModel
-
updateComboBox
protected void updateComboBox()- Specified by:
updateComboBoxin classAbstractTreeMapFieldComboBoxModel
-
accept
- Specified by:
acceptin classAbstractTreeMapFieldComboBoxModel
-