|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.acuity.ui.PresentationObject
com.ge.research.acuity.ui.HighlightRegionColumnInfo
This class describes and encapsulates all the information about how to decorate
the cells within a row of a table. Using the values of the column pointed to by the TableColumnInfo object containing this highlight information,
if the values fall within the range described by the upper and lower threshold values for the highlight region,
then the table row is "highlighted" by setting the table row color to the specified highlight region color.
| Field Summary |
| Fields inherited from interface com.ge.research.acuity.ui.HighlightRegion |
DEFAULT_HIGHLIGHT_COLOR |
| Constructor Summary | |
HighlightRegionColumnInfo()
Default constructor. |
|
HighlightRegionColumnInfo(double hiVal,
double loVal)
Calls the default constructor, setting the default highlight color. |
|
HighlightRegionColumnInfo(double hiVal,
double loVal,
java.awt.Color c)
Calls the two argument constructor, setting the upper and lower threshold values for the highlighted elements Sets the highlight color to c |
|
| 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. |
java.util.List |
getAppliesToChoices()
Gets the list of columns belonging to the table to which this highlight region is associated. |
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 |
protected void |
removeParentReference()
Removes the reference to the parent column that this highlight belongs to. |
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 hiVal)
Sets the upper threshold value for the highlight region. |
void |
setLoThreshold(double loVal)
Sets the lower threshold value for the highlight region. |
void |
setName(java.lang.String name)
Sets the highlight region identifier |
protected void |
setParentReference(TableColumnInfo parent)
Sets the reference to the parent column that this highlight belongs to. |
void |
setRedVal(int i)
Sets the RGB red value component of the highlight region Color
The component value must in the range 0-255.
|
| Methods inherited from class com.ge.research.acuity.ui.PresentationObject |
addLookupInfo, getHasPresentationNature, getIdentifier, getLookupInfo, getSubject, hasSubject, isDisplayed, isEditable, setEditability, setHasPresentationNature, setIdentifier, setIsDisplayed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ge.research.acuity.ui.HighlightRegion |
isDisplayed, setIsDisplayed |
| Constructor Detail |
public HighlightRegionColumnInfo()
HighlightRegion.DEFAULT_HIGHLIGHT_COLOR
setColor(java.awt.Color),
HighlightRegion.DEFAULT_HIGHLIGHT_COLOR
public HighlightRegionColumnInfo(double hiVal,
double loVal)
HighlightRegionColumnInfo(),
setHiThreshold(double),
setLoThreshold(double)
public HighlightRegionColumnInfo(double hiVal,
double loVal,
java.awt.Color c)
c
HighlightRegionColumnInfo(double, double),
setColor(java.awt.Color)| Method Detail |
public void disableInvalidThresholds()
HighlightRegion
disableInvalidThresholds in interface HighlightRegionpublic int getAlpha()
HighlightRegionColor
The component value is in the range 0-255
getAlpha in interface HighlightRegionpublic java.util.List getAppliesToChoices()
TableColumnInfo objects contained in the table to which this highlight region is associated.public java.lang.Object getAppliesTo()
HighlightRegion
getAppliesTo in interface HighlightRegionpublic int getBlueVal()
HighlightRegionColor
The component value is in the range 0-255
getBlueVal in interface HighlightRegionpublic java.awt.Color getColor()
HighlightRegion
getColor in interface HighlightRegionpublic int getGreenVal()
HighlightRegionColor
The component value is in the range 0-255
getGreenVal in interface HighlightRegionpublic java.lang.String getHasDiscreteValue()
HighlightRegion
getHasDiscreteValue in interface HighlightRegionpublic double getHiThreshold()
HighlightRegion
getHiThreshold in interface HighlightRegionpublic double getLoThreshold()
HighlightRegion
getLoThreshold in interface HighlightRegionpublic java.lang.String getName()
HighlightRegion
getName in interface HighlightRegionpublic int getRedVal()
HighlightRegionColor
The component value is in the range 0-255
getRedVal in interface HighlightRegionpublic void setAlpha(int i)
HighlightRegionColor
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
setAlpha in interface HighlightRegioni - the opaqueness component of the highlight region colorpublic void setAppliesTo(java.lang.Object appliesTo)
HighlightRegion
setAppliesTo in interface HighlightRegionappliesTo - the value of the appliesTo reference for the highlight regionpublic void setBlueVal(int i)
HighlightRegionColor
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
setBlueVal in interface HighlightRegioni - the RGB blue value component of the highlight region colorpublic void setColor(java.awt.Color color)
HighlightRegion
setColor in interface HighlightRegioncolor - the new color for the highlight region
public void setColor(int red,
int green,
int blue)
HighlightRegion
setColor in interface HighlightRegionred - 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)
HighlightRegion
setColor in interface HighlightRegionred - 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)
HighlightRegionColor
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
setGreenVal in interface HighlightRegioni - the RGB green value component of the highlight region colorpublic void setHasDiscreteValue(java.lang.String discVal)
HighlightRegion
setHasDiscreteValue in interface HighlightRegiondiscVal - the discrete value threshold value for the highlight regionpublic void setHiThreshold(double hiVal)
HighlightRegion
setHiThreshold in interface HighlightRegionhiVal - the upper threshold value for the highlight regionpublic void setLoThreshold(double loVal)
HighlightRegion
setLoThreshold in interface HighlightRegionloVal - the lower threshold value for the highlight regionpublic void setName(java.lang.String name)
HighlightRegion
setName in interface HighlightRegionname - the new identifier for the highlight regionpublic void setRedVal(int i)
HighlightRegionColor
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
setRedVal in interface HighlightRegioni - the RGB red value component of the highlight region colorprotected final void removeParentReference()
protected final void setParentReference(TableColumnInfo parent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||