Package com.treemap.swing
Class AbstractTreeMapFieldComboBoxModel<N extends MutableTreeMapNode>
java.lang.Object
javax.swing.AbstractListModel<TreeMapField>
javax.swing.DefaultComboBoxModel<TreeMapField>
com.treemap.swing.AbstractTreeMapFieldComboBoxModel<N>
- All Implemented Interfaces:
Serializable,ComboBoxModel<TreeMapField>,ListModel<TreeMapField>,MutableComboBoxModel<TreeMapField>
- Direct Known Subclasses:
ColorComboBoxModel,GroupByComboBoxModel,HeightComboBoxModel,SizeComboBoxModel,SwingTreeMapModel.LabelComboBoxModel
public abstract class AbstractTreeMapFieldComboBoxModel<N extends MutableTreeMapNode>
extends DefaultComboBoxModel<TreeMapField>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final NoTreeMapFieldprotected final TreeMapModel<N, ?, ?, ?, ?> Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTreeMapFieldComboBoxModel(TreeMapModel<N, ?, ?, ?, ?> treeMapModel, String propertyName, boolean includeNone) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanaccept(TreeMapField treeMapField) protected abstract voidprotected abstract 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
-
Field Details
-
treeMapModel
-
none
-
-
Constructor Details
-
AbstractTreeMapFieldComboBoxModel
protected AbstractTreeMapFieldComboBoxModel(TreeMapModel<N, ?, ?, ?, ?> treeMapModel, String propertyName, boolean includeNone)
-
-
Method Details
-
updateComboBox
protected abstract void updateComboBox() -
updateTreeMap
protected abstract void updateTreeMap() -
accept
-