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 JViewportScrollPaneLayout. colHead列标题子。protected JViewportJScrollPane. columnHeader列标题子。protected JViewportScrollPaneLayout. rowHead行标题子。protected JViewportJScrollPane. rowHeader行标题子。protected JViewportJScrollPane. viewport滚动窗口的视口小孩。protected JViewportScrollPaneLayout. viewport滚动窗口的视口小孩。protected JViewportJScrollPane.AccessibleJScrollPane. viewPort这JScrollPane的当前JViewportMethods in javax.swing that return JViewport Modifier and Type 方法 描述 protected JViewportJScrollPane. createViewport()默认情况下返回一个新的JViewport。JViewportJScrollPane. getColumnHeader()返回列标题。JViewportScrollPaneLayout. getColumnHeader()返回作为列标题的JViewport对象。JViewportJScrollPane. getRowHeader()返回行标题。JViewportScrollPaneLayout. getRowHeader()返回作为行标题的JViewport对象。JViewportJScrollPane. getViewport()返回当前的JViewport。JViewportScrollPaneLayout. getViewport()返回显示可滚动内容的JViewport对象。Methods in javax.swing with parameters of type JViewport Modifier and Type 方法 描述 static ComponentSwingUtilities. getUnwrappedView(JViewport viewport)返回不是JLayer的实例的第JViewport的后代。voidJScrollPane. setColumnHeader(JViewport columnHeader)删除旧的columnHeader(如果存在) 如果新的columnHeader不是null,则将其viewPosition的x坐标与视口同步(如果有),然后将其添加到滚动窗格。voidJScrollPane. setRowHeader(JViewport rowHeader)删除旧的行阅读器(如果存在) 如果新的rowHeader不是null,则将其viewPosition的y坐标与视口同步(如果有),然后将其添加到滚动窗格。voidJScrollPane. 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.
-