|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.olaptableview.BaseOLAPTableView
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, 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.ContentsChangedListener
cce
- ContentChangedEvent.public boolean rowNumbersAreValid() throws OLAPException
OLAPException
public boolean columnNumbersAreValid() throws OLAPException
OLAPException
public java.lang.String toString()
BaseTransformation
Note 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 BaseTransformation
public void initialize()
initialize
in class AbstractBaseTableView
public void initializeRowNumbers()
public void initializeColumnNumbers()
public int getColumnCount()
getColumnCount
in interface ColumnNavigationInterface
getColumnCount
in class AbstractBaseTableView
public int getRowCount()
getRowCount
in interface RowNavigationInterface
getRowCount
in class AbstractBaseTableView
public boolean isAccurateRowCountAvailable()
isAccurateRowCountAvailable
in interface AccurateRowCountInterface
isAccurateRowCountAvailable
in class AbstractBaseTableView
public void setActionProvider(HttpActionProvider actionProvider)
setActionProvider
in interface HttpActionProviderInterface
setActionProvider
in class BaseActionTransformation
ActionProvider
- objectHttpActionProviderInterface.getActionProvider()
public boolean isGotoRowSupported()
isGotoRowSupported
in interface RowNavigationInterface
isGotoRowSupported
in class AbstractBaseTableView
AbstractBaseTableView.gotoRow(int)
public void gotoRow(int row)
gotoRow
in interface RowNavigationInterface
gotoRow
in class AbstractBaseTableView
row
- the row index
java.lang.UnsupportedOperationException
- Thrown if
isGotoRowSupported() returns falseisGotoRowSupported()
public boolean isGotoColumnSupported()
isGotoColumnSupported
in interface ColumnNavigationInterface
isGotoColumnSupported
in class AbstractBaseTableView
AbstractBaseTableView.gotoColumn(int)
public void gotoColumn(int column)
gotoColumn
in interface ColumnNavigationInterface
gotoColumn
in class AbstractBaseTableView
column
- 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 |