|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.olaptableview.BaseOLAPDrillState
public abstract class BaseOLAPDrillState
The BaseOLAPDrillState is an abstract TransformationBean
Field Summary | |
---|---|
static int |
TITLE_ALWAYS
|
static int |
TITLE_NEVER
|
static int |
TITLE_WHEN_CONTENT
|
Constructor Summary | |
---|---|
BaseOLAPDrillState()
Constructor |
Method Summary | |
---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent event)
|
int |
getCellPadding()
Gets the number of pixels between the border of a cell and the cell's contents. |
int |
getCellSpacing()
Gets the number of pixels between the border of each cell. |
int |
getHorizontalAlignment()
Returns the horizontal alignment of the OLAPDrillState component. |
int |
getLabelType()
Returns the type of label to display at the beginning of the drill state items. |
OLAPDataSetInterface |
getModel()
Deprecated. use getDrillStateProvider() |
java.lang.String |
getNoDrillStateText()
Returns the text that is displayed if no drill state has been applied to the model and noDrillStateTextDisplayed is true. |
java.lang.String |
getSeparator()
Returns the separator of the menu |
java.lang.String |
getSeparatorImage()
Returns the separator image of the menu |
java.lang.String |
getTitle()
Returns the title. |
int |
getTitleDisplayed()
Determines if the title should be written out. |
boolean |
getUseCachedTuples()
Return whether or not the object is to use the cached tuples or all the tuples when creating the drill state. |
protected boolean |
isDrillStateDirty()
Returns true if the drill state information needs to be freshly computed from the drill state provider. |
boolean |
isNoDrillStateTextDisplayed()
Indicates if the value of noDrillStateText is displayed when no drill state has been applied to the model. |
boolean |
isVisible()
Returns whether or not the drill state should be rendered. |
void |
setActionProvider(HttpActionProvider actionProvider)
Sets the HttpActionProvider object |
void |
setCellPadding(int cellPadding)
Sets the number of pixels between the border of a cell and the cell's contents. |
void |
setCellSpacing(int cellSpacing)
Sets the number of pixels between the border of each cell of the NavigationBar. |
protected void |
setDrillStateDirty(boolean dirty)
Sets the flag that indicates whether the drill state needs to be freshly captured before the next rendering. |
void |
setHorizontalAlignment(int alignment)
Sets the horizontal alignment of the OLAPDrillState component. |
void |
setLabelType(int labelType)
Sets the type of label to display at the beginning of the drill state items. |
void |
setModel(OLAPDataSetInterface model)
Deprecated. Use setDrillStateProvider(DrillStateProvider)
instead. For example, setDrillStateProvider(new OLAPDataSetDrillStateProvider(...)). |
void |
setNoDrillStateText(java.lang.String noDrillStateText)
Sets the text that is displayed if no drill state has been applied to the model and noDrillStateTextDisplayed is true. |
void |
setNoDrillStateTextDisplayed(boolean isNoDrillStateTextDisplayed)
Indicates if the value of noDrillStateText is displayed when no drill state has been applied to the model. |
void |
setSeparator(java.lang.String separator)
Sets the separator of the menu |
void |
setSeparatorImage(java.lang.String separatorImage)
Sets the separator image of the menu |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setTitleDisplayed(int isTitleDisplayed)
If true then the title is written out prior to the drill state. |
void |
setUseCachedTuples(boolean useTupleCache)
Determines whether or not the object is to use the cached tuples or all the tuples when creating the drill state. |
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.servlet.tbeans.TransformationInterface |
---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, 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 |
---|
public static final int TITLE_ALWAYS
public static final int TITLE_NEVER
public static final int TITLE_WHEN_CONTENT
Constructor Detail |
---|
public BaseOLAPDrillState()
Method Detail |
---|
public OLAPDataSetInterface getModel()
getDrillStateProvider()
public void setModel(OLAPDataSetInterface model)
setDrillStateProvider(DrillStateProvider)
instead. For example, setDrillStateProvider(new OLAPDataSetDrillStateProvider(...)).
Note that invoking this method will overwrite any drill state provider set using setDrillStateProvider. Passing a null model will result in the drill state provider being set to null.
model
- the model for the OLAPDrillState componentprotected boolean isDrillStateDirty()
protected void setDrillStateDirty(boolean dirty)
dirty
- True if drill state has been caused to become dirty for some
reason and the drill state needs to be recaptured before
the next rendering. False otherwise.isDrillStateDirty()
public void setLabelType(int labelType)
labelType
- the type of display label to use for the drill state itemspublic int getLabelType()
public void contentsChanged(com.sas.collection.ContentsChangedEvent event)
contentsChanged
in interface com.sas.collection.ContentsChangedListener
public void setActionProvider(HttpActionProvider actionProvider)
BaseActionTransformation
setActionProvider
in interface HttpActionProviderInterface
setActionProvider
in class BaseActionTransformation
actionProvider
- objectHttpActionProviderInterface.getActionProvider()
public void setSeparator(java.lang.String separator)
value
- The separator of the menupublic java.lang.String getSeparator()
public void setSeparatorImage(java.lang.String separatorImage)
value
- The separator image of the menupublic java.lang.String getSeparatorImage()
public int getHorizontalAlignment()
public void setHorizontalAlignment(int alignment)
alignment
- the horizontal alignment of the OLAPDrillState component
java.lang.IllegalArgumentException
- if alignment is invalidpublic int getCellSpacing()
public void setCellSpacing(int cellSpacing)
cellSpacing
- the number of pixels between each cellpublic int getCellPadding()
public void setCellPadding(int cellPadding)
cellPadding
- the number of pixels between the cell border and the
cell contentpublic boolean getUseCachedTuples()
public void setUseCachedTuples(boolean useTupleCache)
useTupleCache
- true to use the cached tuples, false to use all tuples.public boolean isVisible()
isVisible
in interface TransformationInterface
isVisible
in class BaseTransformation
public void setTitle(java.lang.String title)
titleDisplayed
property is true.
title
- the String to be written out prior to the drill state when the titleDisplayed
property is truegetTitle()
,
setTitleDisplayed(int)
public java.lang.String getTitle()
titleDisplayed
property is true.
setTitle(java.lang.String)
public void setTitleDisplayed(int isTitleDisplayed)
isTitleDisplayed
- true if the title should be written out, false otherwise#isTitleDiplayed
,
setTitle(java.lang.String)
public int getTitleDisplayed()
setTitleDisplayed(int)
,
getTitle()
public void setNoDrillStateText(java.lang.String noDrillStateText)
noDrillStateTextDisplayed
is true.
The default value is "None".
noDrillStateText
- the text that is displayed if no drill state has been applied to the model and noDrillStateTextDisplayed
is truegetNoDrillStateText()
public java.lang.String getNoDrillStateText()
noDrillStateTextDisplayed
is true.
The default value is "None".
noDrillStateTextDisplayed
is true.setNoDrillStateText(java.lang.String)
public void setNoDrillStateTextDisplayed(boolean isNoDrillStateTextDisplayed)
noDrillStateText
is displayed when no drill state has been applied to the model. No text is
displayed if isNoDrillStateTextDisplayed
is false. If set to true, the the value of noDrillStateText
is displayed.
isNoDrillStateDisplayed
,
setNoDrillStateText(java.lang.String)
public boolean isNoDrillStateTextDisplayed()
noDrillStateText
is displayed when no drill state has been applied to the model. No text is
displayed is the value is false. If true, value of noDrillStateText
is displayed.
noDrillStateText
is displayed when no drill state has been applied, false if no text is displayed.setNoDrillStateTextDisplayed(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |