Lines Matching defs:orientation
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) {
170 trackPainter.state.set(orientation);
180 public void paintThumb(final Graphics g, final JComponent c, final Orientation orientation, final State state) {
181 thumbPainter.state.set(orientation);
184 thumbPainter.state.set(getDirection(orientation));
192 Direction getDirection(final Orientation orientation) {
194 return orientation == Orientation.HORIZONTAL ? Direction.DOWN : Direction.RIGHT;