Uses of Interface
javax.swing.SingleSelectionModel
| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
-
Uses of SingleSelectionModel in javax.swing
Classes in javax.swing that implement SingleSelectionModel Modifier and Type Class Description classDefaultSingleSelectionModelA generic implementation of SingleSelectionModel.Fields in javax.swing declared as SingleSelectionModel Modifier and Type Field Description protected SingleSelectionModelJTabbedPane. modelThe default selection modelMethods in javax.swing that return SingleSelectionModel Modifier and Type Method Description SingleSelectionModelJTabbedPane. getModel()Returns the model associated with this tabbedpane.SingleSelectionModelJMenuBar. getSelectionModel()Returns the model object that handles single selections.SingleSelectionModelJPopupMenu. getSelectionModel()Returns the model object that handles single selections.Methods in javax.swing with parameters of type SingleSelectionModel Modifier and Type Method Description voidJTabbedPane. setModel(SingleSelectionModel model)Sets the model to be used with this tabbedpane.voidJMenuBar. setSelectionModel(SingleSelectionModel model)Sets the model object to handle single selections.voidJPopupMenu. setSelectionModel(SingleSelectionModel model)Sets the model object to handle single selections.