/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | LayoutComparator.java | 49 void setComponentOrientation(ComponentOrientation orientation) { argument 50 horizontal = orientation.isHorizontal(); 51 leftToRight = orientation.isLeftToRight();
|
H A D | Scrollable.java | 64 * or column, depending on the value of orientation. Ideally, 72 * @param orientation Either SwingConstants.VERTICAL or SwingConstants.HORIZONTAL. 78 int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction); argument 84 * of rows or columns, depending on the value of orientation. 90 * @param orientation Either SwingConstants.VERTICAL or SwingConstants.HORIZONTAL. 96 int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction); argument
|
H A D | JSeparator.java | 82 private int orientation = HORIZONTAL; field in class:JSeparator 92 * vertical orientation. 94 * @param orientation an integer specifying 97 * @exception IllegalArgumentException if <code>orientation</code> 101 public JSeparator( int orientation ) 103 checkOrientation( orientation ); 104 this.orientation = orientation; 172 * Returns the orientation of this separator. 174 * @return The value of the orientation propert [all...] |
H A D | JTextArea.java | 710 * or column, depending on the value of orientation. This is implemented 718 * @param orientation Either SwingConstants.VERTICAL or 723 * @exception IllegalArgumentException for an invalid orientation 728 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { argument 729 switch (orientation) { 735 throw new IllegalArgumentException("Invalid orientation: " + orientation);
|
H A D | JLayer.java | 564 * one block of rows or columns, depending on the value of orientation. 574 int orientation, int direction) { 577 orientation, direction); 579 return (orientation == SwingConstants.VERTICAL) ? visibleRect.height : 624 * one new row or column, depending on the value of orientation. 639 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, argument 643 visibleRect, orientation, direction); 573 getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) argument
|
H A D | JProgressBar.java | 145 protected int orientation; field in class:JProgressBar 197 * The default orientation for a progress bar is <code>HORIZONTAL</code>. 255 * Creates a progress bar with the specified orientation, 263 * @param orient the desired orientation of the progress bar 306 * Creates a progress bar using the specified orientation, 316 * @param orient the desired orientation of the progress bar 373 * {@code SwingConstants.HORIZONTAL}, depending on the orientation 374 * of the progress bar. The default orientation is 381 return orientation; 386 * Sets the progress bar's orientation t [all...] |
H A D | JScrollBar.java | 107 protected int orientation; field in class:JScrollBar 122 private void checkOrientation(int orientation) { argument 123 switch (orientation) { 128 throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL"); 134 * Creates a scrollbar with the specified orientation, 144 * @exception IllegalArgumentException if orientation is not one of VERTICAL, HORIZONTAL 152 public JScrollBar(int orientation, int value, int extent, int min, int max) argument 154 checkOrientation(orientation); 157 this.orientation = orientation; 175 JScrollBar(int orientation) argument 270 setOrientation(int orientation) argument [all...] |
H A D | JToolBar.java | 100 private int orientation = HORIZONTAL; field in class:JToolBar 103 * Creates a new tool bar; orientation defaults to <code>HORIZONTAL</code>. 111 * Creates a new tool bar with the specified <code>orientation</code>. 112 * The <code>orientation</code> must be either <code>HORIZONTAL</code> 115 * @param orientation the orientation desired 117 public JToolBar( int orientation ) 119 this(null, orientation); 125 * orientation is <code>HORIZONTAL</code>. 136 * <code>orientation</cod 148 JToolBar( String name , int orientation) argument 750 DefaultToolBarLayout(int orientation) argument [all...] |
H A D | JScrollPane.java | 706 * Creates a scrollbar with the specified orientation. 713 * @param orientation an integer specifying one of the legal 714 * orientation values shown above 717 public ScrollBar(int orientation) { argument 718 super(orientation); 810 * @return a <code>JScrollBar</code> with a horizontal orientation 869 * @return a <code>JScrollBar</code> with a vertical orientation 1275 * Sets the orientation for the vertical and horizontal
|
H A D | JSlider.java | 133 protected int orientation; field in class:JSlider 166 private void checkOrientation(int orientation) { argument 167 switch (orientation) { 172 throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL"); 187 * Creates a slider using the specified orientation with the 189 * The orientation can be 193 * @param orientation the orientation of the slider 194 * @throws IllegalArgumentException if orientation is not one of {@code VERTICAL}, {@code HORIZONTAL} 197 public JSlider(int orientation) { argument 270 JSlider(int orientation, int min, int max, int value) argument 729 setOrientation(int orientation) argument [all...] |
/openjdk7/jdk/test/javax/swing/JScrollBar/4865918/ |
H A D | bug4865918.java | 100 public TestScrollBar(int orientation, int value, int extent, argument 102 super(orientation, value, extent, min, max);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifScrollBarUI.java | 69 protected JButton createDecreaseButton(int orientation) { argument 70 return new MotifScrollBarButton(orientation); 73 protected JButton createIncreaseButton(int orientation) { argument 74 return new MotifScrollBarButton(orientation);
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | ComponentOrientation.java | 44 * orientation that is to be used to order the elements of a component 74 * Components whose view and controller code depends on orientation 80 * if (orientation == LEFT_TO_RIGHT) { 82 * } else if (orientation == RIGHT_TO_LEFT) { 89 * since it is not guaranteed that orientation objects will be unique. 118 * Indicates that a component's orientation has not been set. 131 return (orientation & HORIZ_BIT) != 0; 141 return (orientation & LTR_BIT) != 0; 145 * Returns the orientation that is appropriate for the given locale. 150 // to find the appropriate orientation 196 private int orientation; field in class:ComponentOrientation [all...] |
H A D | ScrollPaneAdjustable.java | 58 private int orientation; field in class:ScrollPaneAdjustable 182 * @param orientation specifies which scrollbar this object represents, 186 ScrollPaneAdjustable(ScrollPane sp, AdjustmentListener l, int orientation) { argument 188 this.orientation = orientation; 210 * Returns the orientation of this scrollbar. 211 * @return the orientation of this scrollbar, either 216 return orientation; 445 return ((orientation == Adjustable.VERTICAL ? "vertical,"
|
H A D | Scrollbar.java | 226 * The <code>Scrollbar</code>'s orientation--being either horizontal 229 * orientation can be either : <code>VERTICAL</code> or 236 int orientation; field in class:Scrollbar 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) throw argument 404 Scrollbar(int orientation, int value, int visible, int minimum, int maximum) argument 465 setOrientation(int orientation) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | OrientableFlowLayout.java | 35 * orientation. 41 * The horizontal orientation constant. 46 * The vertical orientation constant. 60 int orientation; field in class:OrientableFlowLayout 66 * Constructs a new flow layout with a horizontal orientation and 74 * Constructs a new flow layout with the specified orientation and 77 * @param orientation the orientation, one of HORIZONTAL or VERTICAL. 79 public OrientableFlowLayout(int orientation) { argument 80 this(orientation, CENTE 91 OrientableFlowLayout(int orientation, int hAlign, int vAlign) argument 107 OrientableFlowLayout(int orientation, int hAlign, int vAlign, int hHGap, int hVGap, int vHGap, int vVGap) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/print/ |
H A D | PageFormat.java | 34 * orientation of a page to be printed. 71 * The orientation of the current page. This will be 113 * This method takes into account the orientation of the 119 int orientation = getOrientation(); 121 if (orientation == PORTRAIT) { 132 * This method takes into account the orientation of the 138 int orientation = getOrientation(); 140 if (orientation == PORTRAIT) { 154 * orientation of the page. 179 * PageFormat is in an invalid orientation 304 setOrientation(int orientation) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WScrollbarPeer.java | 36 static native int getScrollbarSize(int orientation); argument
|
/openjdk7/jdk/src/share/demo/applets/BarChart/ |
H A D | BarChart.java | 57 private int orientation; field in class:BarChart 112 temp = getParameter("orientation"); 114 orientation = VERTICAL; 116 orientation = HORIZONTAL; 118 orientation = VERTICAL; 203 if (orientation == HORIZONTAL) { 310 { "orientation", "{VERTICAL, HORIZONTAL}",
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | HighPrecisionJScrollBar.java | 77 public HighPrecisionJScrollBar(int orientation) { argument 78 super(orientation); 84 public HighPrecisionJScrollBar(int orientation, BigInteger value, BigInteger minimum, BigInteger maximum) { argument 85 super(orientation);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthScrollBarUI.java | 323 int orientation = scrollbar.getOrientation(); 326 orientation); 329 orientation); 377 protected JButton createDecreaseButton(int orientation) { argument 378 SynthArrowButton synthArrowButton = new SynthArrowButton(orientation) { 406 protected JButton createIncreaseButton(int orientation) { argument 407 SynthArrowButton synthArrowButton = new SynthArrowButton(orientation) { 470 if ("orientation" == propertyName) {
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsScrollBarUI.java | 91 protected JButton createDecreaseButton(int orientation) { argument 92 return new WindowsArrowButton(orientation, 99 protected JButton createIncreaseButton(int orientation) { argument 100 return new WindowsArrowButton(orientation,
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaSliderUI.java | 138 final Orientation orientation = slider.getOrientation() == SwingConstants.HORIZONTAL ? Orientation.HORIZONTAL : Orientation.VERTICAL; 152 if (trackIntersectsClip || clip.intersects(thumbRect)) paintTrack(g, c, orientation, state); 164 paintThumb(g, c, orientation, state); 169 public void paintTrack(final Graphics g, final JComponent c, final Orientation orientation, final State state) { argument 170 trackPainter.state.set(orientation); 180 public void paintThumb(final Graphics g, final JComponent c, final Orientation orientation, final State state) { argument 181 thumbPainter.state.set(orientation); 184 thumbPainter.state.set(getDirection(orientation)); 192 Direction getDirection(final Orientation orientation) { argument 194 return orientation [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | swing_GTKEngine.c | 177 jint x, jint y, jint w, jint h, jint orientation) 181 x, y, w, h, orientation); 246 jint x, jint y, jint w, jint h, jint orientation) 250 x, y, w, h, orientation); 174 Java_com_sun_java_swing_plaf_gtk_GTKEngine_native_1paint_1handle( JNIEnv *env, jobject this, jint widget_type, jint state, jint shadow_type, jstring detail, jint x, jint y, jint w, jint h, jint orientation) argument 243 Java_com_sun_java_swing_plaf_gtk_GTKEngine_native_1paint_1slider( JNIEnv *env, jobject this, jint widget_type, jint state, jint shadow_type, jstring detail, jint x, jint y, jint w, jint h, jint orientation) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicSplitPaneDivider.java | 66 * Width or height of the divider based on orientation 108 protected int orientation; field in class:BasicSplitPaneDivider 150 orientation = splitPane.getOrientation(); 151 setCursor((orientation == JSplitPane.HORIZONTAL_SPLIT) ? 293 if (orientation == JSplitPane.HORIZONTAL_SPLIT) { 314 orientation = splitPane.getOrientation(); 315 setCursor((orientation == JSplitPane.HORIZONTAL_SPLIT) ? 404 if (orientation == JSplitPane.VERTICAL_SPLIT) { 459 if (orientation == JSplitPane.VERTICAL_SPLIT) { 553 if (orientation [all...] |