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 变量和类型 字段 描述 protected JViewportScrollPaneLayout. colHead列标题子。protected JViewportJScrollPane. columnHeader列标题子。protected JViewportScrollPaneLayout. rowHead行标题子。protected JViewportJScrollPane. rowHeader行标题子。protected JViewportJScrollPane. viewportscrollpane的视口子项。protected JViewportScrollPaneLayout. viewportscrollpane的视口子项。protected JViewportJScrollPane.AccessibleJScrollPane. viewPort这JScrollPane的当前JViewportMethods in javax.swing that return JViewport 变量和类型 方法 描述 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 变量和类型 方法 描述 static ComponentSwingUtilities. getUnwrappedView(JViewport viewport)返回第一个JViewport的后代,它不是JLayer的实例。voidJScrollPane. setColumnHeader(JViewport columnHeader)删除旧的columnHeader(如果存在); 如果新的columnHeader不是null,则将其viewPosition的x坐标与视口(如果有的话)同步,然后将其添加到滚动窗格。voidJScrollPane. setRowHeader(JViewport rowHeader)删除旧的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.
-