| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 JList 的软件包 | |
|---|---|
| javax.swing | 提供一组“轻量级”(全部是 Java 语言)组件,尽量让这些组件在所有平台上的工作方式都相同。 | 
| javax.swing.plaf | 提供一个接口和许多抽象类,Swing 用它们来提供自己的可插入外观功能。 | 
| javax.swing.plaf.basic | 提供了根据基本外观构建的用户界面对象。 | 
| javax.swing.plaf.metal | 提供根据 Java 外观(曾经代称为 Metal)构建的用户界面对象,Java 外观是默认外观。 | 
| javax.swing.plaf.multi | 提供了组合两个或多个外观的用户界面对象。 | 
| javax.swing 中 JList 的使用 | 
|---|
| 参数类型为 JList 的 javax.swing 中的方法 | |
|---|---|
|  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)返回已配置用于显示指定值的组件。 | 
| 参数类型为 JList 的 javax.swing 中的构造方法 | |
|---|---|
| JList.AccessibleJList.AccessibleJListChild(JList parent, int indexInParent) | |
| javax.swing.plaf 中 JList 的使用 | 
|---|
| 参数类型为 JList 的 javax.swing.plaf 中的方法 | |
|---|---|
| abstract  Rectangle | ListUI.getCellBounds(JList list, int index1, int index2)返回给定列表坐标系统中的有界矩形,单元的范围由两个索引指定。 | 
| abstract  Point | ListUI.indexToLocation(JList list, int index)返回列表坐标系统中给定 JList中指定项的原点。 | 
| abstract  int | ListUI.locationToIndex(JList list, Point location)返回指定 JList中与列表坐标系统中给定位置最接近的单元索引。 | 
| javax.swing.plaf.basic 中 JList 的使用 | 
|---|
| 声明为 JList 的 javax.swing.plaf.basic 中的字段 | |
|---|---|
| protected  JList | BasicListUI.list | 
| protected  JList | BasicComboPopup.list此受保护字段是特定于实现的。 | 
| protected  JList | BasicComboBoxUI.listBox | 
| 返回 JList 的 javax.swing.plaf.basic 中的方法 | |
|---|---|
| protected  JList | BasicComboPopup.createList()创建在显示组合框模型项的弹出控件中使用的 JList。 | 
|  JList | BasicComboPopup.getList()ComboPopup.getList() 的实现。 | 
|  JList | ComboPopup.getList()返回要用于在组合框中绘制项的列表。 | 
| 参数类型为 JList 的 javax.swing.plaf.basic 中的方法 | |
|---|---|
| protected  MouseListener | BasicFileChooserUI.createDoubleClickListener(JFileChooser fc, JList list) | 
|  Rectangle | BasicListUI.getCellBounds(JList list, int index1, int index2)返回给定列表坐标系统中的有界矩形,单元的范围由两个索引指定。 | 
|  Component | BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) | 
|  Point | BasicListUI.indexToLocation(JList list, int index)返回列表坐标系统中给定 JList中指定项的原点。 | 
|  int | BasicListUI.locationToIndex(JList list, Point location)返回指定 JList中与列表坐标系统中给定位置最接近的单元索引。 | 
| 参数类型为 JList 的 javax.swing.plaf.basic 中的构造方法 | |
|---|---|
| BasicFileChooserUI.DoubleClickListener(JList list) | |
| javax.swing.plaf.metal 中 JList 的使用 | 
|---|
| 声明为 JList 的 javax.swing.plaf.metal 中的字段 | |
|---|---|
| protected  JList | MetalComboBoxButton.listBox | 
| 参数类型为 JList 的 javax.swing.plaf.metal 中的方法 | |
|---|---|
|  Component | MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) | 
| 参数类型为 JList 的 javax.swing.plaf.metal 中的构造方法 | |
|---|---|
| MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list) | |
| MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list) | |
| MetalFileChooserUI.SingleClickListener(JList list) | |
| javax.swing.plaf.multi 中 JList 的使用 | 
|---|
| 参数类型为 JList 的 javax.swing.plaf.multi 中的方法 | |
|---|---|
|  Rectangle | MultiListUI.getCellBounds(JList a, int b, int c)在由此对象处理的每个 UI 上调用 getCellBounds方法。 | 
|  Point | MultiListUI.indexToLocation(JList a, int b)在由此对象处理的每个 UI 上调用 indexToLocation方法。 | 
|  int | MultiListUI.locationToIndex(JList a, Point b)在由此对象处理的每个 UI 上调用 locationToIndex方法。 | 
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。