|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.olaptableview.html.OLAPColorMapTableCellRenderer
public class OLAPColorMapTableCellRenderer
The class is used for rendering conditions applied to the OLAPTableView using the ConditionEvaluation class set on the OLAPTableView.
| Field Summary |
|---|
| Fields inherited from interface com.sas.servlet.tbeans.HttpConstants |
|---|
ALL, BASELINE, CHAR, COL, COLGROUP, JUSTIFY, MULTIPLE, NONE, ROW, ROWGROUP, SINGLE |
| Constructor Summary | |
|---|---|
OLAPColorMapTableCellRenderer()
Constructs a new OLAPConditionTableCellRenderer. |
|
| Method Summary | |
|---|---|
double[] |
getColorRampValues()
Returns the minimum, midpoint, and maximum values used to map the colors for the measures. |
int |
getGraphStyleType()
Returns the GraphStyle that is used to determine the colors used by the colorMap, the default is using the GraphStyle.STYLE_STATISTICAL style. |
void |
setColorRampValues(double min,
double midpoint,
double max)
Sets the values to be used to map the colors for measures. |
void |
setGraphStyleType(int gStyle)
Sets the GraphStyle that is used to determine the colors used by the colorMap, the default is using the GraphStyle.STYLE_STATISTICAL style. |
protected com.sas.graphics.util.gtk.ContinuousRangeToColorMap |
updateColorRange(javax.servlet.http.HttpServletRequest request)
|
void |
write(java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
Write the entire table cell in the appropriate markup language. |
| Methods inherited from class com.sas.servlet.tbeans.olaptableview.html.DefaultOLAPTableDataCellRenderer |
|---|
getTableCellContentsRenderer, setTableCellContentsRenderer |
| Methods inherited from class com.sas.servlet.tbeans.tableview.html.BaseTableCell |
|---|
getBgColor, getColSpan, getCustomAttributes, getHeaders, getHeight, getHeightPercentage, getHorizontalAlignment, getId, getLocale, getRowSpan, getScope, getStyleInfo, getVerticalAlignment, getWidth, getWidthPercentage, isHeader, isNoWrap, setBgColor, setColSpan, setCustomAttributes, setHeader, setHeaders, setHeight, setHeightPercentage, setHorizontalAlignment, setId, setLocale, setNoWrap, setRowSpan, setScope, setStyleInfo, setVerticalAlignment, setWidth, setWidthPercentage, writeBeginCell, writeEndCell |
| Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCellRenderer |
|---|
getLocale, setLocale |
| Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCell |
|---|
isHeader, setHeader, writeBeginCell, writeEndCell |
| Constructor Detail |
|---|
public OLAPColorMapTableCellRenderer()
| Method Detail |
|---|
public void write(java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
throws java.io.IOException
write in interface TableCellwrite in class DefaultOLAPTableDataCellRendererout - the output streamtableview - the instance of the tableview being written.value - the value to display as the cell's contentsname - the name to use for the contents componentactions - an actionlist of all the valid actions for this cell
java.io.IOException - Thrown if some type of I/O error occurspublic int getGraphStyleType()
GraphStylepublic void setGraphStyleType(int gStyle)
a - GraphStyle object.GraphStylepublic double[] getColorRampValues()
public void setColorRampValues(double min,
double midpoint,
double max)
min - the minimum value of the measuremax - the maximum value of the measure, the midpoint is calculated internally.protected com.sas.graphics.util.gtk.ContinuousRangeToColorMap updateColorRange(javax.servlet.http.HttpServletRequest request)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||