Lines Matching defs:orientation

226      * The <code>Scrollbar</code>'s orientation--being either horizontal
229 * orientation can be either : <code>VERTICAL</code> or
236 int orientation;
306 * <td>orientation</td>
361 * Constructs a new scroll bar with the specified orientation.
363 * The <code>orientation</code> argument must take one of the two
368 * @param orientation indicates the orientation of the scroll bar
370 * the <code>orientation</code> argument is supplied
375 public Scrollbar(int orientation) throws HeadlessException {
376 this(orientation, 0, 10, 0, 100);
380 * Constructs a new scroll bar with the specified orientation,
383 * The <code>orientation</code> argument must take one of the two
391 * @param orientation indicates the orientation of the scroll bar.
398 * the <code>orientation</code> argument is supplied
404 public Scrollbar(int orientation, int value, int visible, int minimum,
407 switch (orientation) {
410 this.orientation = orientation;
413 throw new IllegalArgumentException("illegal scrollbar orientation");
442 * Returns the orientation of this scroll bar.
444 * @return the orientation of this scroll bar, either
450 return orientation;
454 * Sets the orientation for this scroll bar.
456 * @param orientation the orientation of this scroll bar, either
461 * for <code>orientation</code> is not a
465 public void setOrientation(int orientation) {
467 if (orientation == this.orientation) {
470 switch (orientation) {
473 this.orientation = orientation;
476 throw new IllegalArgumentException("illegal scrollbar orientation");
478 /* Create a new peer with the specified orientation. */
488 ((orientation == VERTICAL)
490 ((orientation == VERTICAL)
1139 ((orientation == VERTICAL) ? ",vert" : ",horz") +