|
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.JCIndicatorStyle
Provides constants for the built-in indicator styles for a JCIndicator
and provides a constructor for defining a user-defined indicator style.
Alternatively, custom indicator styles may be defined by subclassing.
Field Summary | |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
ARROW
Arrow polygon using these points. |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
CIRCLE
Circle |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
POINTER
A pointer indicator using these points. |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
RECTANGLE
Rectangle |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
TAILED_ARROW
Tailed Arrow polygon (tail extends beyond center). |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
TAILED_POINTER
A tailed pointer indicator (tail extends beyond center). |
static com.klg.jclass.swing.gauge.JCIndicatorStyle |
TRIANGLE
Triangle using ponits. |
Fields inherited from class com.klg.jclass.swing.gauge.JCPolygon |
boundingBox |
Fields inherited from class java.awt.Polygon |
bounds, npoints, xpoints, ypoints |
Constructor Summary | |
JCIndicatorStyle()
Default constuctor |
|
JCIndicatorStyle(int[] xpoints,
int[] ypoints,
int numPoints)
Construct a indicator using the points of a polygon. |
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.JCIndicatorStyle POINTER
new int[] { 0, 0, 90, 100, 90, 0} new int[] { -5, 5, 5, 0, -5, -5} --------------* | \ | * | / --------------*
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle ARROW
new int[] { 0, 0, 100, 100, 120, 100, 100, 0}, new int[] { 5, -5, -5, -10, 0, 10, 5, 5}, |\ --------* \ | * --------* / |/
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle TRIANGLE
new int[] {0, 100, 0}, new int[] {-7, 0, 7}, * | \ | * | / *
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle RECTANGLE
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle CIRCLE
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle TAILED_POINTER
new int[] { -20, -20, 90, 100, 90, -20} new int[] { -5, 5, 5, 0, -5, -5} --------------* | \ | x(Center) * | / --------------*
public static final com.klg.jclass.swing.gauge.JCIndicatorStyle TAILED_ARROW
new int[] { -20, -20, 100, 100, 120, 100, 100, -20}, new int[] { 5, -5, -5, -10, 0, 10, 5, 5}, |\ ---------------------* \ | x(Center) * ---------------------* / |/
Constructor Detail |
public JCIndicatorStyle(int[] xpoints, int[] ypoints, int numPoints)
xpoints
- the x coordinates for the polygonypoints
- the y coordinates for the polygonnumPoints
- the number of points in this polygonpublic JCIndicatorStyle()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |