|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.TargetZone
A target zone is a color filled polygon horizontally or vertically painted across
the chart area. A target zone is made up of values representing the upper and lower
borders of the polygon. These borders delimit an area against which a sequence of
data points can be plotted and compared with.
Only two dimensional charts display target zones.
| Field Summary | |
static int |
BEHIND
This constant is used to place the target zone behind the grid. |
static int |
FRONT
This constant is used to place the target zone in front of the grid. |
| Constructor Summary | |
TargetZone()
Default constructor of the TargetZone class. |
|
TargetZone(double[] lowerValues,
double[] upperValues)
Constructor of the TargetZone class. |
|
| Method Summary | |
protected void |
finalize()
|
void |
setBorderEnabled(boolean isBorderEnabled)
Enables/disables the upper and lower borders of the target zone. |
void |
setColor(java.awt.Color color)
Sets the color of the target zone area. |
void |
setLowerBorderColor(java.awt.Color lowerBorderColor)
sets the color of the lower border. |
static void |
setPosition(int position)
Sets the position where all target zones are painted. |
void |
setStretchEnabled(boolean isStretchEnabled)
Enables/disables target zone stretching. |
void |
setUpperBorderColor(java.awt.Color upperBorderColor)
Sets the color of the upper border. |
void |
setValues(double[] lowerValues,
double[] upperValues)
Sets the lower and upper values of the target zone limits. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FRONT
public static final int BEHIND
| Constructor Detail |
public TargetZone()
public TargetZone(double[] lowerValues,
double[] upperValues)
lowerValues - An array of double precision numbers.upperValues - An array of double precision numbers.setStretchEnabled(boolean)| Method Detail |
public void setValues(double[] lowerValues,
double[] upperValues)
lowerValues - An array of double precision numbers.upperValues - An array of double precision numbers.setStretchEnabled(boolean)public void setColor(java.awt.Color color)
color - A Color object.public void setUpperBorderColor(java.awt.Color upperBorderColor)
upperBorderColor - A Color object.setLowerBorderColor(java.awt.Color)public void setLowerBorderColor(java.awt.Color lowerBorderColor)
lowerBorderColor - A Color object.setUpperBorderColor(java.awt.Color)public void setBorderEnabled(boolean isBorderEnabled)
isBorderEnabled - A boolean value(true/false).setUpperBorderColor(java.awt.Color),
setLowerBorderColor(java.awt.Color)public void setStretchEnabled(boolean isStretchEnabled)
isStretchEnabled - A boolean value(true/false).public static void setPosition(int position)
position - An integer value.FRONT,
BEHIND
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||