|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.graphics.html.TileChart
public class TileChart
The TileChart TransformationBean is a servlet component that produces a rectangular tree-based representation of data. Tile charts represent requested statistics that are based on a list of categorical variables. They are useful for displaying relative magnitudes within the hierachy.
For example, a tile chart might be used to represent sales data where the tile sizes vary according to the size of product inventories and the tile colors are derived from a color gradient that represents low to high sales figures.
Tile charts are well suited to representing strucured data because they automatically provide the capability to drill down to detail levels in the data. For example, in a tile chart that graphs sales data for the categorical variables Region, Product, and Subsidiary, the top-layer chart would show sales regions. When you select one of the regions, the chart drills down to show the products sold within that regions. When you select one of the products, the chart drills down to show the subsidiaries that sell that product.
Note. This class can be used to render server-side graphs in Java servlets or JavaServer Pages (JSP). The com.sas.graphics.components.TileChart class can be used to render client-side graphs in Java applications or applets. Both classes use the models in the com.sas.graphics.components package.
Field Summary |
---|
Fields inherited from interface com.sas.servlet.tbeans.graphics.html.GraphStyleKeysInterface |
---|
GRAPH_STYLE |
Constructor Summary | |
---|---|
TileChart()
Constructs a new TileChart Transformation Bean |
|
TileChart(TileChartTableDataModel dataModel)
|
Method Summary | |
---|---|
java.util.HashMap |
getAdditionalParameters()
Returns an HashMap containing additional parameters that should be added to the form used to perform the various actions on the table. |
TileChartDataModel |
getDataModel()
Gets the model on the viewer. |
Form |
getDefaultFormObject()
Returns the FORM object used if no FORM object is specifed. |
Form |
getFormObject()
Returns the FORM Object used to execute commands. |
boolean |
isFormEnabled()
Determines if the tbean should render its formObject. |
void |
setAdditionalParameter(java.lang.String name,
java.lang.String value)
Sets an additional parameter to be added to the form used to perform the various actions on the table. |
void |
setAdditionalParameters(java.util.HashMap map)
Sets an HashMap containing additional parameters that should be added to the form used to perform the various actions on the table. |
void |
setDataModel(TileChartTableDataModel dataModel)
Sets the model on the viewer. |
void |
setFormEnabled(boolean value)
Sets whether the tbean should render its formObject. |
void |
setFormObject(Form formObject)
Returns the FORM Object used to execute commands. |
void |
write(java.io.PrintWriter out)
Writes the transformed representation of the object |
Methods inherited from class com.sas.servlet.tbeans.graphics.BaseTileChart |
---|
applyGraphStyle, getGraphModel, getImageMapInfo, setDataModel, setGraphModel |
Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
---|
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setUniqueId |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
---|
getRequest, setRequest |
Constructor Detail |
---|
public TileChart()
public TileChart(TileChartTableDataModel dataModel)
Method Detail |
---|
public void setDataModel(TileChartTableDataModel dataModel)
dataModel
- an instance of the TileChartTableDataModelpublic TileChartDataModel getDataModel()
public Form getDefaultFormObject()
getDefaultFormObject
in interface FormViewInterface
getFormObject()
public Form getFormObject()
getFormObject
in interface FormViewInterface
setFormObject(com.sas.servlet.tbeans.form.html.Form)
public void setFormObject(Form formObject)
setFormObject
in interface FormViewInterface
formObject
- FORM objectgetFormObject()
public java.util.HashMap getAdditionalParameters()
getAdditionalParameters
in interface FormViewInterface
HashMap
public void setAdditionalParameters(java.util.HashMap map)
setAdditionalParameters
in interface FormViewInterface
map
- HashMap objectHashMap
public void setAdditionalParameter(java.lang.String name, java.lang.String value)
setAdditionalParameter
in interface FormViewInterface
name
- name of the list itemvalue
- value of the list itemHashMap
public boolean isFormEnabled()
isFormEnabled
in interface FormViewInterface
public void setFormEnabled(boolean value)
setFormEnabled
in interface FormViewInterface
value
- true if the formObject should be rendered by the tbeanpublic void write(java.io.PrintWriter out) throws java.io.IOException
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseActionTransformation
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |