软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
Modifier and Type | Method and Description |
---|---|
Component |
DefaultListCellRenderer.getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) |
Component |
ListCellRenderer.getListCellRendererComponent(JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus)
返回一个已被配置为显示指定值的组件。
|
Constructor and Description |
---|
AccessibleJListChild(JList<E> parent, int indexInParent) |
Modifier and Type | Method and Description |
---|---|
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 接近给定位置的细胞指数。
|
Modifier and Type | Field and Description |
---|---|
protected JList |
BasicListUI.list |
protected JList |
BasicComboPopup.list
这个保护字段是实现特定的。
|
protected JList |
BasicComboBoxUI.listBox |
Modifier and Type | Method and Description |
---|---|
protected JList |
BasicComboPopup.createList()
创建用于弹出显示在组合框中的项的列表框模型。
|
JList |
ComboPopup.getList()
返回正在使用的列表在组合框中绘制项目的列表。
|
JList |
BasicComboPopup.getList()
实现getlist() combopopup。
|
Modifier and Type | Method and Description |
---|---|
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 接近给定位置的细胞指数。
|
Constructor and Description |
---|
DoubleClickListener(JList list) |
Modifier and Type | Field and Description |
---|---|
protected JList |
MetalComboBoxButton.listBox |
Modifier and Type | Method and Description |
---|---|
Component |
MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) |
Constructor and Description |
---|
MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list) |
MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list) |
SingleClickListener(JList list) |
Modifier and Type | Method and Description |
---|---|
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 方法。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.