|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Describes the methods and behaviors of a HighlightRegion.
HighlightRegions can be applied to TablePOs and GraphPOs.
HighlightRegions on a graph display a slice along an axis,
while table highlights are displayed as colored rows.
| Field Summary | |
static java.awt.Color |
DEFAULT_HIGHLIGHT_COLOR
The default color for a HighlightRegion |
| Method Summary | |
void |
disableInvalidThresholds()
A highlight region can have either range thresholds or a discrete value, but not both. |
int |
getAlpha()
Returns the opaqueness component of the highlight region Color
The component value is in the range 0-255 |
java.lang.Object |
getAppliesTo()
Returns the appliesTo reference for the highlight region. |
int |
getBlueVal()
Returns the RGB blue value component of the highlight region Color
The component value is in the range 0-255 |
java.awt.Color |
getColor()
Returns the color to be used when rendering this highlight region. |
int |
getGreenVal()
Returns the RGB green value component of the highlight region Color
The component value is in the range 0-255 |
java.lang.String |
getHasDiscreteValue()
Gets the discrete value threshold value for the highlight region. |
double |
getHiThreshold()
Gets the upper threshold value for the highlight region. |
double |
getLoThreshold()
Gets the lower threshold value for the highlight region. |
java.lang.String |
getName()
Returns the highlight region identifier. |
int |
getRedVal()
Returns the RGB red value component of the highlight region Color
The component value is in the range 0-255 |
boolean |
isDisplayed()
Returns the state of the highlight region visibility. |
void |
setAlpha(int i)
Sets the opaqueness component of the highlight region Color
The component value must in the range 0-255.
|
void |
setAppliesTo(java.lang.Object appliesTo)
Sets the appliesTo reference for the highlight region. |
void |
setBlueVal(int i)
Sets the RGB blue value component of the highlight region Color
The component value must in the range 0-255.
|
void |
setColor(java.awt.Color color)
Sets the color component values, for the highlight region, from the argument color |
void |
setColor(int red,
int green,
int blue)
Sets the RGB color component values, for the highlight region |
void |
setColor(int red,
int green,
int blue,
int alpha)
Sets the RGB color component values and opaqueness value, for the highlight region |
void |
setGreenVal(int i)
Sets the RGB green value component of the highlight region Color
The component value must in the range 0-255.
|
void |
setHasDiscreteValue(java.lang.String discVal)
Sets the discrete value threshold value for the highlight region. |
void |
setHiThreshold(double hi)
Sets the upper threshold value for the highlight region. |
void |
setIsDisplayed(boolean b)
Sets the state of the highlight region visibility. |
void |
setLoThreshold(double lo)
Sets the lower threshold value for the highlight region. |
void |
setName(java.lang.String name)
Sets the highlight region identifier |
void |
setRedVal(int i)
Sets the RGB red value component of the highlight region Color
The component value must in the range 0-255.
|
| Field Detail |
public static final java.awt.Color DEFAULT_HIGHLIGHT_COLOR
| Method Detail |
public void disableInvalidThresholds()
public int getAlpha()
Color
The component value is in the range 0-255
public java.lang.Object getAppliesTo()
public int getBlueVal()
Color
The component value is in the range 0-255
public java.awt.Color getColor()
public int getGreenVal()
Color
The component value is in the range 0-255
public java.lang.String getHasDiscreteValue()
public double getHiThreshold()
public double getLoThreshold()
public java.lang.String getName()
public int getRedVal()
Color
The component value is in the range 0-255
public boolean isDisplayed()
true if this highlight region should be applied and rendered by a client application;
false if this highlight region should not be applied and made visible in a client application.public void setAlpha(int i)
Color
The component value must in the range 0-255.
Argument values less than zero should set the opaqueness to zero
Argument values greater than 255 should set the opaqueness to 255
i - the opaqueness component of the highlight region colorpublic void setAppliesTo(java.lang.Object appliesTo)
appliesTo - the value of the appliesTo reference for the highlight regionpublic void setBlueVal(int i)
Color
The component value must in the range 0-255.
Argument values less than zero should set the blue component value to zero
Argument values greater than 255 should set the blue component value to 255
i - the RGB blue value component of the highlight region colorpublic void setColor(java.awt.Color color)
color - the new color for the highlight region
public void setColor(int red,
int green,
int blue)
red - the new RGB red value for the highlight region colorgreen - the new RGB green value for the highlight region colorblue - the new RGB blue value for the highlight region color
public void setColor(int red,
int green,
int blue,
int alpha)
red - the new RGB red value for the highlight region colorgreen - the new RGB green value for the highlight region colorblue - the new RGB blue value for the highlight region coloralpha - the new opaqueness value for the highlight region colorpublic void setGreenVal(int i)
Color
The component value must in the range 0-255.
Argument values less than zero should set the green component value to zero
Argument values greater than 255 should set the green component value to 255
i - the RGB green value component of the highlight region colorpublic void setHasDiscreteValue(java.lang.String discVal)
discVal - the discrete value threshold value for the highlight regionpublic void setHiThreshold(double hi)
hi - the upper threshold value for the highlight regionpublic void setIsDisplayed(boolean b)
b - true if this highlight region should be applied and rendered by a client application;
false if this highlight region should not be applied and made visible in a client application.public void setLoThreshold(double lo)
lo - the lower threshold value for the highlight regionpublic void setName(java.lang.String name)
name - the new identifier for the highlight regionpublic void setRedVal(int i)
Color
The component value must in the range 0-255.
Argument values less than zero should set the red component value to zero
Argument values greater than 255 should set the red component value to 255
i - the RGB red value component of the highlight region color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||