Java Reference
In-Depth Information
AbstractButton . In addition, in some cases, multiple interfaces are used to describe a compo-
nent, because the data is stored in one model and the selection of the data is in a second model.
In the case of the JComboBox , the MutableComboBoxModel interface extends from ComboBoxModel .
No predefined class implements the ComboBoxModel interface without also implementing the
MutableComboBoxModel interface.
Table 3-1. Swing Component Models
Component
Data Model Interface
Implementations
AbstractButton
ButtonModel
DefaultButtonModel
JColorChooser
ColorSelectionModel
DefaultColorSelectionModel
JComboBox
ComboBoxModel
N/A
MutableComboBoxModel
DefaultComboBoxModel
JFileChooser
ListModel
BasicDirectoryModel
JList
ListModel
AbstractListModel
DefaultListModel
ListSelectionModel
DefaultListSelectionModel
JMenuBar
SingleSelectionModel
DefaultSingleSelectionModel
JPopupMenu
SingleSelectionModel
DefaultSingleSelectionModel
JProgressBar
BoundedRangeModel
DefaultBoundedRangeModel
JScrollBar
BoundedRangeModel
DefaultBoundedRangeModel
JSlider
BoundedRangeModel
DefaultBoundedRangeModel
JSpinner
SpinnerModel
AbstractSpinnerModel
SpinnerDateModel
SpinnerListModel
SpinnerNumberModel
JTabbedPane
SingleSelectionModel
DefaultSingleSelectionModel
AbstractTableModel
DefaultTableModel
JTable
TableModel
TableColumnModel
DefaultTableColumnModel
ListSelectionModel
DefaultListSelectionModel
JTextComponent
Document
AbstractDocument
PlainDocument
StyledDocument
DefaultStyleDocument
HTMLDocument
Search WWH ::




Custom Search