站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.JList - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.JList

Packages that use JList
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 Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
 

Uses of JList in javax.swing
 

Methods in javax.swing with parameters of type JList
 Component DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component ListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
          Return a component that has been configured to display the specified value.
 

Constructors in javax.swing with parameters of type JList
JList.AccessibleJList.JList.AccessibleJList()
           
JList.AccessibleJList.AccessibleJListChild.JList.AccessibleJList.AccessibleJListChild(JList parent, int indexInParent)
           
 

Uses of JList in javax.swing.plaf
 

Methods in javax.swing.plaf with parameters of type JList
abstract  int ListUI.locationToIndex(JList list, Point location)
          Convert a point in JList coordinates to the index of the cell at that location.
abstract  Point ListUI.indexToLocation(JList list, int index)
          Returns the origin of the specified item in JList coordinates, null if index isn't valid.
abstract  Rectangle ListUI.getCellBounds(JList list, int index1, int index2)
          Returns the bounds of the specified item in JList coordinates, null if index isn't valid.
 

Uses of JList in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as JList
protected  JList BasicListUI.list
           
protected  JList BasicComboPopup.list
           
protected  JList BasicComboBoxUI.listBox
           
 

Methods in javax.swing.plaf.basic that return JList
 JList ComboPopup.getList()
          Returns the list that is being used to draw the items in the JComboBox.
 JList BasicComboPopup.getList()
          Implementation of ComboPopup.getList().
protected  JList BasicComboPopup.createList()
          Creates the JList that is used in the popup to display the items in the model.
 

Methods in javax.swing.plaf.basic with parameters of type JList
protected  MouseListener BasicFileChooserUI.createDoubleClickListener(JFileChooser fc, JList list)
           
 Component BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 int BasicListUI.locationToIndex(JList list, Point location)
           
 Point BasicListUI.indexToLocation(JList list, int index)
           
 Rectangle BasicListUI.getCellBounds(JList list, int index1, int index2)
           
 

Constructors in javax.swing.plaf.basic with parameters of type JList
BasicFileChooserUI.DoubleClickListener.BasicFileChooserUI.DoubleClickListener(JList list)
           
 

Uses of JList in javax.swing.plaf.metal
 

Fields in javax.swing.plaf.metal declared as JList
protected  JList MetalComboBoxButton.listBox
           
 

Methods in javax.swing.plaf.metal with parameters of type JList
 Component MetalFileChooserUI.FileRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 

Constructors in javax.swing.plaf.metal with parameters of type JList
MetalFileChooserUI.SingleClickListener.MetalFileChooserUI.SingleClickListener(JList list)
           
MetalComboBoxButton.MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list)
           
MetalComboBoxButton.MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list)
           
 

Uses of JList in javax.swing.plaf.multi
 

Methods in javax.swing.plaf.multi with parameters of type JList
 int MultiListUI.locationToIndex(JList a, Point b)
          Call locationToIndex on each UI handled by this MultiUI.
 Point MultiListUI.indexToLocation(JList a, int b)
          Call indexToLocation on each UI handled by this MultiUI.
 Rectangle MultiListUI.getCellBounds(JList a, int b, int c)
          Call getCellBounds on each UI handled by this MultiUI.
 


JavaTM 2 Platform
Standard Edition

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