|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.olaptableview.BaseOLAPTableView
@SASScope(value="ALL") public abstract class BaseOLAPTableView
The BaseOLAPTableView is an abstract TransformationBean
| Field Summary | |
|---|---|
protected boolean |
rolap
For internal use only |
| Fields inherited from class com.sas.servlet.tbeans.tableview.AbstractBaseTableView |
|---|
DEFAULT_EXPORT_NUMERIC_CUSTOM_FORMATED_VALUES_AS_TEXT, MISSING_STYLEINFO, WRAP_ALL, WRAP_NONE, WRAP_PER_COLUMN |
| Fields inherited from interface com.sas.servlet.tbeans.HttpConstants |
|---|
ALL, BASELINE, CHAR, COL, COLGROUP, JUSTIFY, MULTIPLE, NONE, ROW, ROWGROUP, SINGLE |
| Constructor Summary | |
|---|---|
BaseOLAPTableView()
Default Constructor |
|
| Method Summary | |
|---|---|
boolean |
columnNumbersAreValid()
Returns whether or not the current start column and end column values are valid given the state of the model. |
void |
contentsChanged(com.sas.collection.ContentsChangedEvent cce)
Listens for ContentsChange Events from the Action Provider and update the number of rows/columns accordingly. |
int |
getColumnCount()
Returns the total available columns. |
OLAPDataSetInterface |
getModel()
Returns the viewer's model. |
int |
getRowCount()
Returns the total available rows |
void |
gotoColumn(int column)
Navigates to the given column. |
void |
gotoRow(int row)
Navigates to the given row. |
void |
initialize()
Initializes the OLAPTableView Object. |
void |
initializeColumnNumbers()
This method is called when the number of columns needs to be reset to start at column 1. |
void |
initializeRowNumbers()
This method is called when the number of rows needs to be reset to start at row 1. |
boolean |
isAccurateRowCountAvailable()
Indicates whether an accurate row count is available. |
boolean |
isGotoColumnSupported()
Determines whether navigation to any given column is supported. |
boolean |
isGotoRowSupported()
Determines whether navigation to any given row is supported. |
boolean |
rowNumbersAreValid()
Returns whether or not the current start row and end row values are valid given the state of the model. |
void |
setActionProvider(HttpActionProvider actionProvider)
Sets the ActionProvider object |
void |
setModel(OLAPDataSetInterface model)
Sets the model on the viewer. |
java.lang.String |
toString()
Returns a string representation of this transformation bean. |
| Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
|---|
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionSupportType, setActionVisible, setUniqueId |
| Methods inherited from interface com.sas.actionprovider.URLTemplateViewInterface |
|---|
getURLTemplate, setURLTemplate |
| Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface |
|---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, isVisible, setCustomAttributes, setDescription, setId, setLocale, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write |
| Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
|---|
getRequest, setRequest |
| Field Detail |
|---|
protected boolean rolap
| Constructor Detail |
|---|
public BaseOLAPTableView()
| Method Detail |
|---|
public void setModel(OLAPDataSetInterface model)
model - an instance of the OLAPDataSetInterfacepublic OLAPDataSetInterface getModel()
public void contentsChanged(com.sas.collection.ContentsChangedEvent cce)
contentsChanged in interface com.sas.collection.ContentsChangedListenercce - ContentChangedEvent.
public boolean rowNumbersAreValid()
throws OLAPException
OLAPException
public boolean columnNumbersAreValid()
throws OLAPException
OLAPExceptionpublic java.lang.String toString()
BaseTransformationNote that the toString() method on this class and subclasses calls the write method, which may have undesirable side effects. The request and response objects are set to null, and these objects are often necessary for the proper functioning of the subsequest write method. Actions on the ActionProvider will not work. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
toString in class BaseTransformationpublic void initialize()
initialize in class AbstractBaseTableViewpublic void initializeRowNumbers()
public void initializeColumnNumbers()
public int getColumnCount()
getColumnCount in interface ColumnNavigationInterfacegetColumnCount in class AbstractBaseTableViewpublic int getRowCount()
getRowCount in interface RowNavigationInterfacegetRowCount in class AbstractBaseTableViewpublic boolean isAccurateRowCountAvailable()
isAccurateRowCountAvailable in interface AccurateRowCountInterfaceisAccurateRowCountAvailable in class AbstractBaseTableViewpublic void setActionProvider(HttpActionProvider actionProvider)
setActionProvider in interface HttpActionProviderInterfacesetActionProvider in class BaseActionTransformationActionProvider - objectHttpActionProviderInterface.getActionProvider()public boolean isGotoRowSupported()
isGotoRowSupported in interface RowNavigationInterfaceisGotoRowSupported in class AbstractBaseTableViewAbstractBaseTableView.gotoRow(int)public void gotoRow(int row)
gotoRow in interface RowNavigationInterfacegotoRow in class AbstractBaseTableViewrow - the row index
java.lang.UnsupportedOperationException - Thrown if
isGotoRowSupported() returns falseisGotoRowSupported()public boolean isGotoColumnSupported()
isGotoColumnSupported in interface ColumnNavigationInterfaceisGotoColumnSupported in class AbstractBaseTableViewAbstractBaseTableView.gotoColumn(int)public void gotoColumn(int column)
gotoColumn in interface ColumnNavigationInterfacegotoColumn in class AbstractBaseTableViewcolumn - the column index
java.lang.UnsupportedOperationException - Thrown if
isGotoColumnSupported() returns falseisGotoColumnSupported()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||