com.sas.servlet.tbeans.olaptableview.html
Class OLAPDrillState

com.sas.servlet.tbeans.olaptableview.html.OLAPDrillState
All Implemented Interfaces:
ActionProviderViewInterface, HttpActionProviderInterface, HttpActionProviderViewInterface, com.sas.actionprovider.refresh.PartialRefreshActionsInterface, URLTemplateViewInterface, com.sas.beans.PropertyChangeSource, com.sas.collection.ContentsChangedListener, com.sas.lang.ObjectDataInterface, com.sas.servlet.tbeans.AJAXControllerURLInterface, ComplexStyleInterface, com.sas.servlet.tbeans.olaptableview.html.OLAPDrillStateStyleKeysInterface, RenderableInterface, TransformationInterface, com.sas.servlet.tbeans.TransformationInterface2, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable, java.util.EventListener

public class OLAPDrillState
implements ComplexStyleInterface, com.sas.servlet.tbeans.olaptableview.html.OLAPDrillStateStyleKeysInterface

The OLAPDrillState is a TransformationBean™ that generates the appropriate HTML 4.0 to represent the drill state of the given multidimensional model.

.

Note that the toString() method on this class calls the write method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging

For More Information:

Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.

Examples for this class may be found on the Examples Site.

Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .

Usage Example:

                OLAPDataSetInterface resultSet = ...
      BusinessQueryProviderInterface bqProvider = ...
      
      DrillStateProvider drillStateProvider = new OLAPDataSetDrillStateProvider(resultSet, bqProvider);
      OLAPDrillState drillStateRenderer = new OLAPDrillState();
      drillStateRenderer.setDrillStateProvider(drillStateProvider);
      
      HttpServletRequest request = null;
      HttpServletResponse response = null;
      PrintWriter out = null;
      
      drillStateRenderer.setRequest(request);
      drillStateRenderer.setResponse(response);
      drillStateRenderer.write(out);
 

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.servlet.tbeans.olaptableview.BaseOLAPDrillState
TITLE_ALWAYS, TITLE_NEVER, TITLE_WHEN_CONTENT
 
Constructor Summary
OLAPDrillState()
          Constructor
 
Method Summary
 java.util.Map getStyleMap()
          Returns a Map that contains all the Style information for a component
protected  void writeContent(java.io.PrintWriter out)
          Writes the core content of the material presented by this component.
 
Methods inherited from class com.sas.servlet.tbeans.olaptableview.BaseOLAPDrillState
contentsChanged, getCellPadding, getCellSpacing, getHorizontalAlignment, getLabelType, getModel, getNoDrillStateText, getSeparator, getSeparatorImage, getTitle, getTitleDisplayed, getUseCachedTuples, isDrillStateDirty, isNoDrillStateTextDisplayed, isVisible, setActionProvider, setCellPadding, setCellSpacing, setDrillStateDirty, setHorizontalAlignment, setLabelType, setModel, setNoDrillStateText, setNoDrillStateTextDisplayed, setSeparator, setSeparatorImage, setTitle, setTitleDisplayed, setUseCachedTuples
 
Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionSupportType, setActionVisible, setUniqueId
 
Methods inherited from class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getName, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, removePropertyChangeListener, removePropertyChangeListener, setCleanUpResourcesOn, setCustomAttributes, setDescription, setId, setInputTransform, setLocale, setLocaleDependentProperties, setName, setObjectData, setObjectDataProperty, setOutputTransform, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 
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
 

Constructor Detail

OLAPDrillState

public OLAPDrillState()
Constructor

Method Detail

getStyleMap

public java.util.Map getStyleMap()
Description copied from interface: ComplexStyleInterface
Returns a Map that contains all the Style information for a component

Specified by:
getStyleMap in interface ComplexStyleInterface
Returns:
styleMap Map of all the style information

writeContent

protected void writeContent(java.io.PrintWriter out)
                     throws java.io.IOException
Writes the core content of the material presented by this component.

Specified by:
writeContent in class com.sas.servlet.tbeans.BaseActionTransformation2
Throws:
java.lang.IllegalStateException - if no drill state provider has been set when the method is invoked.
java.io.IOException
See Also:
BaseActionTransformation2.write(PrintWriter)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.