|
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 | +--java.awt.Polygon | +--com.klg.jclass.swing.gauge.JCPolygon | +--com.klg.jclass.swing.gauge.JCTickStyle
Provides the constants from the built-in tick styles for a
JCTick
, and provides a constructor for passing in a user-defined
tick style. Alternatively, custom tick styles may be defined by subclassing.
Field Summary | |
static com.klg.jclass.swing.gauge.JCTickStyle |
CIRCLE
Circle |
static com.klg.jclass.swing.gauge.JCTickStyle |
DIAMOND
Diamond |
static com.klg.jclass.swing.gauge.JCTickStyle |
LINE
Line |
static com.klg.jclass.swing.gauge.JCTickStyle |
RECTANGLE
Rectangle |
static com.klg.jclass.swing.gauge.JCTickStyle |
REVERSE_TRIANGLE
Reverse Triangle |
static com.klg.jclass.swing.gauge.JCTickStyle |
TRIANGLE
Triangle |
Fields inherited from class com.klg.jclass.swing.gauge.JCPolygon |
boundingBox |
Fields inherited from class java.awt.Polygon |
bounds, npoints, xpoints, ypoints |
Constructor Summary | |
JCTickStyle()
Default constructor |
|
JCTickStyle(int[] xpoints,
int[] ypoints,
int numPoints)
The JCTickStyle constructor allows you to define
your own (x, y) coordinate pairs for a new tick style. |
Methods inherited from class com.klg.jclass.swing.gauge.JCPolygon |
getExtrema |
Methods inherited from class java.awt.Polygon |
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final com.klg.jclass.swing.gauge.JCTickStyle DIAMOND
public static final com.klg.jclass.swing.gauge.JCTickStyle TRIANGLE
public static final com.klg.jclass.swing.gauge.JCTickStyle REVERSE_TRIANGLE
public static final com.klg.jclass.swing.gauge.JCTickStyle RECTANGLE
public static final com.klg.jclass.swing.gauge.JCTickStyle LINE
public static final com.klg.jclass.swing.gauge.JCTickStyle CIRCLE
Constructor Detail |
public JCTickStyle(int[] xpoints, int[] ypoints, int numPoints)
JCTickStyle
constructor allows you to define
your own (x, y) coordinate pairs for a new tick style.
xpoints
- the array of x coordinates, as in
java.awt.Polygon
ypoints
- the array of y coordinates, as in
java.awt.Polygon
numPoints
- the number of points in the definition of the polygonpublic JCTickStyle()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |