Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface

Packages that use ListSelectionModel
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable. 

Uses of ListSelectionModel in javax.swing

Classes in javax.swing that implement ListSelectionModel
 class DefaultListSelectionModel
          Default data model for list selections.

Fields in javax.swing declared as ListSelectionModel
protected  ListSelectionModel JTable.selectionModel
          The ListSelectionModel of the table, used to keep track of row selections.

Methods in javax.swing that return ListSelectionModel
protected  ListSelectionModel JList.createSelectionModel()
          Returns an instance of DefaultListSelectionModel.
 ListSelectionModel JList.getSelectionModel()
          Returns the value of the current selection model.
 ListSelectionModel JTable.getSelectionModel()
          Returns the ListSelectionModel that is used to maintain row selection state.
protected  ListSelectionModel JTable.createDefaultSelectionModel()
          Returns the default selection model object, which is a DefaultListSelectionModel.

Methods in javax.swing with parameters of type ListSelectionModel
 void JList.setSelectionModel(ListSelectionModel selectionModel)
          Sets the selectionModel for the list to a non-null ListSelectionModel implementation.
 void JTable.setSelectionModel(ListSelectionModel newModel)
          Sets the row selection model for this table to newModel and registers for listener notifications from the new selection model.

Constructors in javax.swing with parameters of type ListSelectionModel
JTable(TableModel dm, TableColumnModel cm, ListSelectionModel sm)
          Constructs a JTable that is initialized with dm as the data model, cm as the column model, and sm as the selection model.

Uses of ListSelectionModel in javax.swing.plaf.basic

Methods in javax.swing.plaf.basic with parameters of type ListSelectionModel
protected  void BasicListUI.paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer cellRenderer, ListModel dataModel, ListSelectionModel selModel, int leadIndex)
          Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use the CellRendererPane to paint it.

Uses of ListSelectionModel in javax.swing.table

Fields in javax.swing.table declared as ListSelectionModel
protected  ListSelectionModel DefaultTableColumnModel.selectionModel
          Model for keeping track of column selections

Methods in javax.swing.table that return ListSelectionModel
 ListSelectionModel DefaultTableColumnModel.getSelectionModel()
          Returns the ListSelectionModel that is used to maintain column selection state.
protected  ListSelectionModel DefaultTableColumnModel.createSelectionModel()
          Creates a new default list selection model.
 ListSelectionModel TableColumnModel.getSelectionModel()
          Returns the current selection model.

Methods in javax.swing.table with parameters of type ListSelectionModel
 void DefaultTableColumnModel.setSelectionModel(ListSelectionModel newModel)
          Sets the selection model for this TableColumnModel to newModel and registers for listener notifications from the new selection model.
 void TableColumnModel.setSelectionModel(ListSelectionModel newModel)
          Sets the selection model.

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.

free hit counter