软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Field and Description |
---|---|
protected JViewport |
ScrollPaneLayout.colHead
列头子。
|
protected JViewport |
JScrollPane.columnHeader
列头子。
|
protected JViewport |
ScrollPaneLayout.rowHead
行头子。
|
protected JViewport |
JScrollPane.rowHeader
行头子。
|
protected JViewport |
ScrollPaneLayout.viewport
的滚动窗格的视口的孩子。
|
protected JViewport |
JScrollPane.viewport
的滚动窗格的视口的孩子。
|
protected JViewport |
JScrollPane.AccessibleJScrollPane.viewPort |
Modifier and Type | Method and Description |
---|---|
protected JViewport |
JScrollPane.createViewport()
返回默认的一个新的
JViewport 。
|
JViewport |
ScrollPaneLayout.getColumnHeader()
返回的列标头的
JViewport 对象。
|
JViewport |
JScrollPane.getColumnHeader()
返回列标题。
|
JViewport |
ScrollPaneLayout.getRowHeader()
返回的行标头的
JViewport 对象。
|
JViewport |
JScrollPane.getRowHeader()
返回行标题。
|
JViewport |
ScrollPaneLayout.getViewport()
返回
JViewport 对象显示可滚动的内容。
|
JViewport |
JScrollPane.getViewport()
返回当前
JViewport 。
|
Modifier and Type | Method and Description |
---|---|
static Component |
SwingUtilities.getUnwrappedView(JViewport viewport)
返回第一个
JViewport 的后裔,是不是
JLayer 实例。
|
void |
JScrollPane.setColumnHeader(JViewport columnHeader)
除去旧的菜单,如果它真的存在;如果新的菜单不
null ,同步的viewposition x坐标与视图(如果有),然后将其添加到滚动窗格。
|
void |
JScrollPane.setRowHeader(JViewport rowHeader)
除去旧的rowheader,如果它真的存在;如果新rowheader不是
null ,同步的viewposition Y坐标与视图(如果有),然后将其添加到滚动窗格。
|
void |
JScrollPane.setViewport(JViewport viewport)
除去旧的视图(如果有);军队的新视口的viewposition是在X,y象限;同步行标题和列标题(如果有)与新的视口;最后同步滚动条和标题与新的视口。
|
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.