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

com.sas.servlet.tbeans.olaptableview.html.OLAPTableViewComposite
All Implemented Interfaces:
HttpActionProviderInterface, com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, com.sas.servlet.tbeans.AJAXControllerURLInterface, ComplexStyleInterface, CompositeComponentInterface, OLAPTableViewCompositeKeysInterface, OLAPTableViewCompositeStyleKeysInterface, RenderableInterface, TemplateInterface, com.sas.servlet.tbeans.TemplateKeyInterface, TransformationInterface, com.sas.servlet.tbeans.TransformationInterface2, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable

public class OLAPTableViewComposite
implements OLAPTableViewCompositeKeysInterface, OLAPTableViewCompositeStyleKeysInterface

OLAPTableViewComposite is a TransformationBean™ that is composed of other TransformationBeans™ that include the following sub-components: MenuBar, NavigationBar, OLAPTableView, OLAPDrillState, AppliedFilters, Title, and Footer.

The OLAPTableViewComposite is one of several TransformationBeans™ that are considered composite components. A composite component allows a developer to design custom components that are made up of a combination of other components, such as TextEntry, ListBox, and Label TransformationBeans™. The visual layout of a composite component can be easily controlled through a template. For more information on composite TransformationBeans™, refer to the AppDev Studio Developer Site. You'll find a useful reference document entitled Composite TransformationBeans™ as well as the TransformationBean™ Component and Style Reference.

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.

JSP custom tags provide an alternative to using the TransformationBeans™. Visit the Custom Tag Library Reference for additional information on the sas:OLAPTableViewComposite custom tag.

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 .

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_TEMPLATE_FILE_NAME
           
 
Fields inherited from interface com.sas.servlet.tbeans.olaptableview.html.OLAPTableViewCompositeKeysInterface
OLAPTABLEVIEW_APPLIEDFILTERS, OLAPTABLEVIEW_COLUMN_NAVIGATIONBAR, OLAPTABLEVIEW_DRILLSTATE, OLAPTABLEVIEW_FOOTER, OLAPTABLEVIEW_MENUBAR, OLAPTABLEVIEW_ROW_NAVIGATIONBAR, OLAPTABLEVIEW_TABLEDATA, OLAPTABLEVIEW_TITLE
 
Fields inherited from interface com.sas.servlet.tbeans.olaptableview.html.OLAPTableViewCompositeStyleKeysInterface
OLAPTABLEVIEW_CONTAINER_STYLE, OLAPTABLEVIEW_CONTENT_STYLE, OLAPTABLEVIEW_FOOTER_STYLE, OLAPTABLEVIEW_STYLE, OLAPTABLEVIEW_TITLE_STYLE, OLAPTABLEVIEW_TOOLBAR_STYLE
 
Constructor Summary
OLAPTableViewComposite()
          Construct a new Table object
OLAPTableViewComposite(OLAPDataSetInterface model)
          Construct a new OLAPTableViewComposite object
OLAPTableViewComposite(OLAPDataSetInterface model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Construct a new Table object
 
Method Summary
 OLAPDataSetInterface getModel()
          Return the data model for the OLAPTableViewComposite.
 void setModel(OLAPDataSetInterface model)
          Sets the data model for the OLAPTableViewComposite.
protected  void writeContent(java.io.PrintWriter out)
          Writes the transformation's main content which is everything except for the following:
Opening container html element.
 
Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation
applyTemplate, applyTemplate, getActionProvider, getComponent, getComponents, getDefaultTemplate, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setActionProvider, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setRequest, setResponse, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation, writeTemplate
 
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, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCustomAttributes, setInputTransform, setLocaleDependentProperties, setName, setObjectData, setObjectDataProperty, setOutputTransform, 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, isVisible, setCustomAttributes, setDescription, setId, setLocale, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write
 
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface
getRequest
 

Field Detail

DEFAULT_TEMPLATE_FILE_NAME

public static final java.lang.String DEFAULT_TEMPLATE_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

OLAPTableViewComposite

public OLAPTableViewComposite()
Construct a new Table object


OLAPTableViewComposite

public OLAPTableViewComposite(OLAPDataSetInterface model)
Construct a new OLAPTableViewComposite object

Parameters:
model - The model used for this composite

OLAPTableViewComposite

public OLAPTableViewComposite(OLAPDataSetInterface model,
                              javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
Construct a new Table object

Parameters:
model - The model used for this composite
request - The HttpServletRequest object
response - the HttpServletResponse object
Method Detail

getModel

public OLAPDataSetInterface getModel()
Return the data model for the OLAPTableViewComposite.

Returns:
the data model for the OLAPTableViewComposite

setModel

public void setModel(OLAPDataSetInterface model)
Sets the data model for the OLAPTableViewComposite.

Parameters:
model - the data model for the OLAPTableViewComposite

writeContent

protected void writeContent(java.io.PrintWriter out)
                     throws java.io.IOException
Description copied from class: BaseCompositeTransformation2
Writes the transformation's main content which is everything except for the following:

Specified by:
writeContent in class com.sas.servlet.tbeans.BaseCompositeTransformation2
Throws:
java.io.IOException
See Also:
BaseCompositeTransformation2.write(PrintWriter)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.