Searched refs:HORIZONTAL (Results 1 - 25 of 90) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJSeparator.java82 private int orientation = HORIZONTAL;
87 this( HORIZONTAL );
95 * <code>SwingConstants.HORIZONTAL</code> or
98 * is neither <code>SwingConstants.HORIZONTAL</code> nor
177 * <code>HORIZONTAL</code>.
188 * The default value of this property is HORIZONTAL.
189 * @param orientation either <code>SwingConstants.HORIZONTAL</code>
192 * is neither <code>SwingConstants.HORIZONTAL</code>
200 * enum: HORIZONTAL SwingConstants.HORIZONTAL
[all...]
H A DSwingConstants.java106 public static final int HORIZONTAL = 0; field in interface:SwingConstants
H A DJProgressBar.java141 * The default is <code>HORIZONTAL</code>.
197 * The default orientation for a progress bar is <code>HORIZONTAL</code>.
199 static final private int defaultOrientation = HORIZONTAL;
258 * {@code SwingConstants.HORIZONTAL}.
373 * {@code SwingConstants.HORIZONTAL}, depending on the orientation
375 * {@code SwingConstants.HORIZONTAL}.
377 * @return <code>HORIZONTAL</code> or <code>VERTICAL</code>
388 * {@code SwingConstants.HORIZONTAL}. The default orientation
389 * is {@code SwingConstants.HORIZONTAL}.
391 * @param newOrientation <code>HORIZONTAL</cod
[all...]
H A DJToolBar.java100 private int orientation = HORIZONTAL;
103 * Creates a new tool bar; orientation defaults to <code>HORIZONTAL</code>.
107 this( HORIZONTAL );
112 * The <code>orientation</code> must be either <code>HORIZONTAL</code>
125 * orientation is <code>HORIZONTAL</code>.
131 this(name, HORIZONTAL);
143 * either <code>HORIZONTAL</code> or <code>VERTICAL</code>
145 * <code>HORIZONTAL</code> nor <code>VERTICAL</code>
395 * <code>HORIZONTAL</code> or <code>VERTICAL</code>.
398 * <code>HORIZONTAL</cod
[all...]
H A DJSlider.java169 case HORIZONTAL:
172 throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL");
182 this(HORIZONTAL, 0, 100, 50);
191 * <code>SwingConstants.HORIZONTAL</code>.
194 * @throws IllegalArgumentException if orientation is not one of {@code VERTICAL}, {@code HORIZONTAL}
219 this(HORIZONTAL, min, max, (min + max) / 2);
241 this(HORIZONTAL, min, max, value);
250 * <code>SwingConstants.HORIZONTAL</code>.
262 * @throws IllegalArgumentException if orientation is not one of {@code VERTICAL}, {@code HORIZONTAL}
285 this.orientation = JSlider.HORIZONTAL;
[all...]
H A DJScrollBar.java125 case HORIZONTAL:
128 throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL");
144 * @exception IllegalArgumentException if orientation is not one of VERTICAL, HORIZONTAL
247 * @return VERTICAL or HORIZONTAL
258 * HORIZONTAL.
260 * @exception IllegalArgumentException if orientation is not one of VERTICAL, HORIZONTAL
268 * HORIZONTAL JScrollBar.HORIZONTAL
281 ? AccessibleState.VERTICAL : AccessibleState.HORIZONTAL),
283 ? AccessibleState.VERTICAL : AccessibleState.HORIZONTAL));
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DAdjustable.java43 public static final int HORIZONTAL = 0; field in interface:Adjustable
58 * either <code>HORIZONTAL</code>, <code>VERTICAL</code>,
H A DScrollbar.java70 * ranger = new Scrollbar(Scrollbar.HORIZONTAL, 0, 60, 0, 300);
171 public static final int HORIZONTAL = 0; field in class:Scrollbar
230 * <code>HORIZONTAL</code> only.
364 * values <code>Scrollbar.HORIZONTAL</code>,
384 * values <code>Scrollbar.HORIZONTAL</code>,
408 case HORIZONTAL:
445 * <code>Scrollbar.HORIZONTAL</code> or
457 * <code>Scrollbar.HORIZONTAL</code> or
471 case HORIZONTAL:
489 ? AccessibleState.HORIZONTAL
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaToolBarSeparatorUI.java55 if (((JToolBar.Separator)c).getOrientation() == SwingConstants.HORIZONTAL) {
64 if (sep.getOrientation() == SwingConstants.HORIZONTAL) {
72 if (sep.getOrientation() == SwingConstants.HORIZONTAL) {
80 if (sep.getOrientation() == SwingConstants.HORIZONTAL) {
H A DAquaSliderUI.java138 final Orientation orientation = slider.getOrientation() == SwingConstants.HORIZONTAL ? Orientation.HORIZONTAL : Orientation.VERTICAL;
194 return orientation == Orientation.HORIZONTAL ? Direction.DOWN : Direction.RIGHT;
236 final boolean isHorizonatal = slider.getOrientation() == SwingConstants.HORIZONTAL;
258 if (slider.getOrientation() == SwingConstants.HORIZONTAL) {
281 if (slider.getOrientation() == SwingConstants.HORIZONTAL) {
372 case SwingConstants.HORIZONTAL:
388 case SwingConstants.HORIZONTAL:
464 case SwingConstants.HORIZONTAL:
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProgressBarPanel.java38 public static final int HORIZONTAL = 1; field in class:ProgressBarPanel
44 /** LayoutType is either VERTICAL or HORIZONTAL */
51 bar = new JProgressBar(JProgressBar.HORIZONTAL, 0, MAX);
60 bar = new JProgressBar(JProgressBar.HORIZONTAL, 0, MAX);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DRepaintArea.java52 private static final int HORIZONTAL = 0; field in class:RepaintArea
101 addTo = (r.width > r.height) ? HORIZONTAL : VERTICAL;
205 if (!subtract(ra.paintRects[VERTICAL], ra.paintRects[HORIZONTAL])) {
206 subtract(ra.paintRects[HORIZONTAL], ra.paintRects[VERTICAL]);
209 if (ra.paintRects[HORIZONTAL] != null && ra.paintRects[VERTICAL] != null) {
210 Rectangle paintRect = ra.paintRects[HORIZONTAL].union(ra.paintRects[VERTICAL]);
212 int benefit = square - ra.paintRects[HORIZONTAL].width
213 * ra.paintRects[HORIZONTAL].height - ra.paintRects[VERTICAL].width
217 ra.paintRects[HORIZONTAL] = paintRect;
H A DOrientableFlowLayout.java43 public static final int HORIZONTAL = 0; field in class:OrientableFlowLayout
70 this(HORIZONTAL, CENTER, CENTER, 5, 5, 5, 5);
77 * @param orientation the orientation, one of HORIZONTAL or VERTICAL.
87 * @param orientation the orientation, one of HORIZONTAL or VERTICAL.
99 * @param orientation the orientation, one of HORIZONTAL or VERTICAL.
102 * @param hHGap the horizontal gap between components in HORIZONTAL.
103 * @param hVGap the vertical gap between components in HORIZONTAL.
119 orientation = HORIZONTAL;
139 if (orientation == HORIZONTAL) {
174 if (orientation == HORIZONTAL) {
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKConstants.java115 HORIZONTAL, enum constant in enum:GTKConstants.Orientation
H A DGTKIconFactory.java285 (toolbar.getOrientation() == JToolBar.HORIZONTAL ?
286 Orientation.HORIZONTAL : Orientation.VERTICAL);
305 JToolBar.HORIZONTAL) {
317 JToolBar.HORIZONTAL) {
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWScrollBarPeer.java68 delegate.setOrientation(orientation == Scrollbar.HORIZONTAL
69 ? Adjustable.HORIZONTAL
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifSliderUI.java88 if ( slider.getOrientation() == JSlider.HORIZONTAL ) {
118 if ( slider.getOrientation() == JSlider.HORIZONTAL ) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicToolBarSeparatorUI.java63 if (sep.getOrientation() == JSeparator.HORIZONTAL) {
H A DBasicProgressBarUI.java254 progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
279 progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
337 * Returns the width (if HORIZONTAL) or height (if VERTICAL)
393 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
458 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
487 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
512 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
521 // end of HORIZONTAL
609 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
656 if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) {
[all...]
/openjdk7/jdk/src/share/classes/javax/accessibility/
H A DAccessibleState.java289 * @see #HORIZONTAL
294 public static final AccessibleState HORIZONTAL field in class:AccessibleState
/openjdk7/jdk/test/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/
H A DGridBagLayoutIpadXYTest.java61 gc.fill = gc.HORIZONTAL;
/openjdk7/jdk/test/javax/swing/JScrollBar/4865918/
H A Dbug4865918.java88 sbar = new TestScrollBar(JScrollBar.HORIZONTAL, -1, 10, -100, 100);
/openjdk7/jdk/test/javax/swing/JSlider/6524424/
H A Dbug6524424.java96 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL,
/openjdk7/jdk/test/javax/swing/JSlider/6742358/
H A Dbug6742358.java82 JSlider result = new JSlider(vertical ? SwingConstants.VERTICAL : SwingConstants.HORIZONTAL, 0, 10, 5);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollPanePeer.java42 public final static int HORIZONTAL = 1 << 1; field in class:XScrollPanePeer
230 scroll(x, y, VERTICAL | HORIZONTAL);
245 // HORIZONTAL
254 // HORIZONTAL
255 scroll(v, -1, HORIZONTAL);
260 scroll(x, y, VERTICAL | HORIZONTAL);
288 if ((flag & HORIZONTAL) != 0) {
493 active = HORIZONTAL;
505 } else if (active == HORIZONTAL) {
515 } else if ((active == HORIZONTAL)) {
[all...]

Completed in 44 milliseconds

1234