Lines Matching defs:viewport

49  * A <code>JScrollPane</code> manages a viewport, optional
67 * or &quot;viewport&quot; onto a data
75 * In addition to the scroll bars and viewport,
81 * The column header viewport automatically scrolls left and right, tracking
82 * the left-right scrolling of the main viewport.
112 * To add a border around the main viewport,
118 * be used if the main viewport view is smaller than the viewport, or is
120 * of the viewport, via <code>scrollPane.getViewport().setBackground()</code>.
121 * The reason for setting the color of the viewport and not the scrollpane
125 * <code>JScrollPane</code> draws its background the viewport will
130 * determines the size to make the viewport view in one of two ways:
167 * description: A specialized container that manages a viewport, optional scrollbars and headers
200 * The scrollpane's viewport child. Default is an empty
204 protected JViewport viewport;
275 * component in a viewport
287 * @param view the component to display in the scrollpanes viewport
308 viewport.setViewPosition(new Point(Integer.MAX_VALUE, 0));
320 * @param view the component to display in the scrollpane's viewport
328 * Creates an empty (no viewport view) <code>JScrollPane</code>
347 * Creates an empty (no viewport view) <code>JScrollPane</code>
565 * Returns the <code>Border</code> object that surrounds the viewport.
576 * Adds a border around the viewport. Note that the border isn't
577 * set on the viewport directly, <code>JViewport</code> doesn't support
580 * viewport doesn't affect the <code>viewportBorder</code> property.
592 * description: The border around the viewport.
602 * Returns the bounds of the viewport's border.
604 * @return a <code>Rectangle</code> object specifying the viewport border
671 * methods so that, if the viewport's view is a <code>Scrollable</code>,
692 * If this is false the viewport's view is obtained and if it
699 * If this is false the viewport's view is obtained and if it
736 * Computes the unit increment for scrolling if the viewport's
771 * Computes the block increment for scrolling if the viewport's
773 * the <code>blockIncrement</code> equals the viewport's width
774 * or height. If there's no viewport return
819 * Returns the horizontal scroll bar that controls the viewport's
832 * Adds the scrollbar that controls the viewport's horizontal view
919 * viewport (as needed) in <code>setViewportView</code>,
935 * @return the <code>viewport</code> property
938 return viewport;
943 * Removes the old viewport (if there is one); forces the
944 * viewPosition of the new viewport to be in the +x,+y quadrant;
946 * new viewport; and finally syncs the scrollbars and
947 * headers with the new viewport.
951 * to add a viewport and a view to the scrollpane.
953 * @param viewport the new viewport to be used; if viewport is
954 * <code>null</code>, the old viewport is still removed
955 * and the new viewport is set to <code>null</code>
964 * description: The viewport child for this scrollpane
967 public void setViewport(JViewport viewport) {
969 this.viewport = viewport;
970 if (viewport != null) {
971 add(viewport, VIEWPORT);
976 firePropertyChange("viewport", old, viewport);
988 * Creates a viewport if necessary and then sets its view. Applications
999 * @param view the component to add to the viewport
1027 * the viewport (if there is one) and then adds it to the scroll pane.
1031 * to add a row header component and its viewport to the scroll pane.
1060 * Creates a row-header viewport if necessary, sets
1061 * its view and then adds the row-header viewport
1096 * with the viewport (if there is one) and then adds it to the scroll pane.
1100 * to add a column header component and its viewport to the scroll pane.
1128 * Creates a column-header viewport if necessary, sets
1129 * its view, and then adds the column-header viewport
1358 String viewportString = (viewport != null ?
1359 viewport.toString() : "");
1405 ",viewport=" + viewportString +
1450 * Resets the viewport ChangeListener and PropertyChangeListener