JavaTM 2 Platform
Standard Edition

Uses of Class

Packages that use JViewport
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 

Uses of JViewport in javax.swing

Fields in javax.swing declared as JViewport
protected  JViewport ScrollPaneLayout.viewport
          The scrollpanes viewport child.
protected  JViewport ScrollPaneLayout.rowHead
          The row header child.
protected  JViewport ScrollPaneLayout.colHead
          The column header child.
protected  JViewport JScrollPane.viewport
          The scrollpanes viewport child.
protected  JViewport JScrollPane.rowHeader
          The row header child.
protected  JViewport JScrollPane.columnHeader
          The column header child.
protected  JViewport JScrollPane.AccessibleJScrollPane.viewPort

Methods in javax.swing that return JViewport
 JViewport ScrollPaneLayout.getViewport()
          Returns the JViewport object that displays the scrollable contents.
 JViewport ScrollPaneLayout.getRowHeader()
          Returns the JViewport object that is the row header.
 JViewport ScrollPaneLayout.getColumnHeader()
          Returns the JViewport object that is the column header.
protected  JViewport JScrollPane.createViewport()
          Returns a new JViewport by default.
 JViewport JScrollPane.getViewport()
          Returns the current JViewport.
 JViewport JScrollPane.getRowHeader()
          Returns the row header.
 JViewport JScrollPane.getColumnHeader()
          Returns the column header.

Methods in javax.swing with parameters of type JViewport
 void JScrollPane.setViewport(JViewport viewport)
          Remove the old viewport (if there is one), force the viewPosition of the new viewport to be in the +x,+y quadrant, sync up the row and column headers (if there are any) with the new viewport, and finally sync the scrollbars and headers with the new viewport.
 void JScrollPane.setRowHeader(JViewport rowHeader)
          If an old rowHeader exists, remove it.
 void JScrollPane.setColumnHeader(JViewport columnHeader)
          If an old columnHeader exists, remove it.

Constructors in javax.swing with parameters of type JViewport

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.