Uses of Class
javax.swing.JViewport
-
Packages that use JViewport 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。 -
-
Uses of JViewport in javax.swing
Fields in javax.swing declared as JViewport Modifier and Type Field 描述 protected JViewport
ScrollPaneLayout. colHead
列标题子。protected JViewport
JScrollPane. columnHeader
列标题子。protected JViewport
ScrollPaneLayout. rowHead
行标题子。protected JViewport
JScrollPane. rowHeader
行标题子。protected JViewport
JScrollPane. viewport
滚动窗口的视口小孩。protected JViewport
ScrollPaneLayout. viewport
滚动窗口的视口小孩。protected JViewport
JScrollPane.AccessibleJScrollPane. viewPort
这JScrollPane
的当前JViewport
Methods in javax.swing that return JViewport Modifier and Type 方法 描述 protected JViewport
JScrollPane. createViewport()
默认情况下返回一个新的JViewport
。JViewport
JScrollPane. getColumnHeader()
返回列标题。JViewport
ScrollPaneLayout. getColumnHeader()
返回作为列标题的JViewport
对象。JViewport
JScrollPane. getRowHeader()
返回行标题。JViewport
ScrollPaneLayout. getRowHeader()
返回作为行标题的JViewport
对象。JViewport
JScrollPane. getViewport()
返回当前的JViewport
。JViewport
ScrollPaneLayout. getViewport()
返回显示可滚动内容的JViewport
对象。Methods in javax.swing with parameters of type JViewport Modifier and Type 方法 描述 static Component
SwingUtilities. getUnwrappedView(JViewport viewport)
返回不是JLayer
的实例的第JViewport
的后代。void
JScrollPane. setColumnHeader(JViewport columnHeader)
删除旧的columnHeader(如果存在) 如果新的columnHeader不是null
,则将其viewPosition的x坐标与视口同步(如果有),然后将其添加到滚动窗格。void
JScrollPane. setRowHeader(JViewport rowHeader)
删除旧的行阅读器(如果存在) 如果新的rowHeader不是null
,则将其viewPosition的y坐标与视口同步(如果有),然后将其添加到滚动窗格。void
JScrollPane. setViewport(JViewport viewport)
Removes the old viewport (if there is one); forces the viewPosition of the new viewport to be in the +x,+y quadrant; syncs up the row and column headers (if there are any) with the new viewport; and finally syncs the scrollbars and headers with the new viewport.
-