|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.swing.gauge.JCCircularGauge.GaugeType
Enums for gauge types. There are nine gauge types defined by start and sweep angles:
FULL_CIRCLE
(0-360 degrees)TOP_HALF_CIRCLE
(0-180 degrees)BOTTOM_HALF_CIRCLE
(180-180 degrees)LEFT_HALF_CIRCLE
(90-180 degrees)RIGHT_HALF_CIRCLE
(270-180 degrees)UPPER_RIGHT_QUARTER_CIRCLE
(0-90 degrees)LOWER_RIGHT_QUARTER_CIRCLE
(270-90 degrees)UPPER_LEFT_QUARTER_CIRCLE
(90-90 degrees)LOWER_LEFT_QUARTER_CIRCLE
(180-90 degrees)
Field Summary | |
static JCCircularGauge.GaugeType |
BOTTOM_HALF_CIRCLE
The scale is a semicircle oriented so that its diameter is horizontal and its circumference is below its base. |
static JCCircularGauge.GaugeType |
FULL_CIRCLE
The scale is a full circle. |
static JCCircularGauge.GaugeType |
LEFT_HALF_CIRCLE
The scale is a semicircle oriented so that its diameter is vertical and its circumference is to the left of its base. |
static JCCircularGauge.GaugeType |
LOWER_LEFT_QUARTER_CIRCLE
A quadrant whose arc lies southwest. |
static JCCircularGauge.GaugeType |
LOWER_RIGHT_QUARTER_CIRCLE
A quadrant whose arc lies southeast. |
static JCCircularGauge.GaugeType |
RIGHT_HALF_CIRCLE
The scale is a semicircle oriented so that its diameter is vertical and its circumference is to the right of its base. |
static JCCircularGauge.GaugeType |
TOP_HALF_CIRCLE
The scale is a semicircle oriented so that its diameter is horizontal and its circumference is above its base. |
static JCCircularGauge.GaugeType |
UPPER_LEFT_QUARTER_CIRCLE
A quadrant whose arc lies northwest. |
static JCCircularGauge.GaugeType |
UPPER_RIGHT_QUARTER_CIRCLE
A quadrant whose arc lies northeast. |
Method Summary | |
boolean |
equals(JCCircularGauge.GaugeType type)
Return true if the objects have the same start and sweep angles. |
int |
getStartAngle()
Returns the start angle for this gauge. |
int |
getSweepAngle()
Returns the sweep angle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final JCCircularGauge.GaugeType FULL_CIRCLE
public static final JCCircularGauge.GaugeType TOP_HALF_CIRCLE
public static final JCCircularGauge.GaugeType BOTTOM_HALF_CIRCLE
public static final JCCircularGauge.GaugeType LEFT_HALF_CIRCLE
public static final JCCircularGauge.GaugeType RIGHT_HALF_CIRCLE
public static final JCCircularGauge.GaugeType UPPER_RIGHT_QUARTER_CIRCLE
public static final JCCircularGauge.GaugeType LOWER_RIGHT_QUARTER_CIRCLE
public static final JCCircularGauge.GaugeType UPPER_LEFT_QUARTER_CIRCLE
public static final JCCircularGauge.GaugeType LOWER_LEFT_QUARTER_CIRCLE
Method Detail |
public int getStartAngle()
public int getSweepAngle()
public boolean equals(JCCircularGauge.GaugeType type)
true
if the objects have the same start and sweep angles.
type
-
true
if the objects have the same start and sweep angles
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |