JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.swing.gauge
Class JCAbstractScale.Direction

java.lang.Object
  |
  +--com.klg.jclass.swing.gauge.JCAbstractScale.Direction
All Implemented Interfaces:
Serializable
Enclosing class:
JCAbstractScale

public static class JCAbstractScale.Direction
extends Object
implements Serializable

Enum's for the direction parameter. Valid values are:

Note: CLOCKWISE and COUNTERCLOCKWISE are old values that correspond to BACKWARD and FORWARD, respectively. These values can still be used, but only make sense for circular scales.

See Also:
Serialized Form

Field Summary
static JCAbstractScale.Direction BACKWARD
          Scale values increase in a backward (or clockwise) direction.
static JCAbstractScale.Direction CLOCKWISE
           
static JCAbstractScale.Direction COUNTERCLOCKWISE
           
static JCAbstractScale.Direction FORWARD
          Scale values increase in a forward (or counterclockwise) direction.
 
Method Summary
 boolean equals(JCAbstractScale.Direction direction)
          Compares objects based on internal String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACKWARD

public static final JCAbstractScale.Direction BACKWARD
Scale values increase in a backward (or clockwise) direction. For example, a circular scale whose start angle is 0° and whose stop angle is 180°, and whose max and min values are 0 and 100, places its zeroth tick mark at 180° and its 100th tick mark at 0°.

See Also:
JCTick

CLOCKWISE

public static final JCAbstractScale.Direction CLOCKWISE

FORWARD

public static final JCAbstractScale.Direction FORWARD
Scale values increase in a forward (or counterclockwise) direction. For example, a circular scale whose start angle is 0° and whose stop angle is 180°, and whose max and min values are 0 and 100 places its zeroth tick mark at 0° and its 100th tick mark at 180°.

See Also:
JCTick

COUNTERCLOCKWISE

public static final JCAbstractScale.Direction COUNTERCLOCKWISE
Method Detail

equals

public boolean equals(JCAbstractScale.Direction direction)
Compares objects based on internal String.

Parameters:
direction -
Returns:

Copyright © 2004 Quest Software Inc..
All rights reserved.