Lines Matching defs:view

48  * Provides a scrollable view of a lightweight component.
70 * <code>JViewport</code> view.
104 * vertical scrollbar is not present, perhaps because the view component hasn't
118 * be used if the main viewport view is smaller than the viewport, or is
130 * determines the size to make the viewport view in one of two ways:
132 * <li>If the view implements <code>Scrollable</code>
274 * Creates a <code>JScrollPane</code> that displays the view
276 * whose view position can be controlled with a pair of scrollbars.
280 * then the vertical scrollbar only appears if the view doesn't fit
287 * @param view the component to display in the scrollpanes viewport
293 public JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
301 if (view != null) {
302 setViewportView(view);
317 * whenever the component's contents are larger than the view.
320 * @param view the component to display in the scrollpane's viewport
322 public JScrollPane(Component view) {
323 this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED);
328 * Creates an empty (no viewport view) <code>JScrollPane</code>
347 * Creates an empty (no viewport view) <code>JScrollPane</code>
671 * methods so that, if the viewport's view is a <code>Scrollable</code>,
672 * the view is asked to compute these values. Unless
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
737 * view is a <code>Scrollable</code> object.
749 Scrollable view = (Scrollable)(vp.getView());
751 return view.getScrollableUnitIncrement(vr, getOrientation(), direction);
772 * view is a <code>Scrollable</code> object. Otherwise
788 Scrollable view = (Scrollable)(vp.getView());
790 return view.getScrollableBlockIncrement(vr, getOrientation(), direction);
820 * horizontal view position.
832 * Adds the scrollbar that controls the viewport's horizontal view
879 * vertical view position.
891 * Adds the scrollbar that controls the viewports vertical view position
951 * to add a viewport and a view to the scrollpane.
988 * Creates a viewport if necessary and then sets its view. Applications
989 * that don't provide the view directly to the <code>JScrollPane</code>
999 * @param view the component to add to the viewport
1003 public void setViewportView(Component view) {
1007 getViewport().setView(view);
1061 * its view and then adds the row-header viewport
1071 * @param view the component to display as the row header
1073 public void setRowHeaderView(Component view) {
1077 getRowHeader().setView(view);
1129 * its view, and then adds the column-header viewport
1140 * @param view the component to display as the column header
1142 public void setColumnHeaderView(Component view) {
1146 getColumnHeader().setView(view);