com.fatwire.cs.ui.view.renderer
Interface RenderDataContext


public interface RenderDataContext

This interface abstracts the activity of managing, binding and rendering attribute data in its associated context


Method Summary
 Asset getAsset()
          Gets an asset.
 AssetId getAssetId()
          Gets the rendering attribute data asset id.
 AttributeData getAttributeData()
          Gets a rendering attribute data.
 AttributeDef getAttributeDef()
          Gets the rendering attribute definition.
 int getAttributeIndex()
          Gets the rendering attribute index.
 java.lang.String getAttributeName()
          Gets the rendering attribute name.
 Asset.AttributeType getAttributeType()
          Gets an attribute type.
 java.util.Map<java.lang.String,java.lang.Object> getAuxiliaryMap()
          Gets the auxiliary map for rendering attribute.
 AttributeDataBinding getBindingPattern()
          Gets the binding pattern for rendering attribute data.
 java.lang.String getCSElement()
          Gets a CS element.
 java.lang.String getCtrlStyle()
          Gets the control style for rendering attribute data.
 AttributeEditor getEditor()
          Gets the rendering attribute editor.
 java.lang.String getLabel()
          Gets the rendering attribute label.
 java.lang.String getLabelStyle()
          Gets the label style for rendering attribute data.
 java.lang.String getLocale()
          Gets user locale.
 RenderModeEnum getRenderMode()
          Gets render mode.
 java.lang.String getTabName()
          Gets the tab name.
 boolean isMetaAttribute()
          Indicates if the rendering attribute is meta attribute.
 

Method Detail

getLabelStyle

java.lang.String getLabelStyle()
Gets the label style for rendering attribute data.

Returns:
String representing the label style.

getCtrlStyle

java.lang.String getCtrlStyle()
Gets the control style for rendering attribute data.

Returns:
String representing the control style.

getAttributeData

AttributeData getAttributeData()
Gets a rendering attribute data.

Returns:
AttributeData object is returned.

getAttributeDef

AttributeDef getAttributeDef()
Gets the rendering attribute definition.

Returns:
The AttributeDef Object is returned.

getAttributeName

java.lang.String getAttributeName()
Gets the rendering attribute name.

Returns:
String representing attribute name.

isMetaAttribute

boolean isMetaAttribute()
Indicates if the rendering attribute is meta attribute.

Returns:
Returns true if the attribute is meta attribute and false otherwise.

getBindingPattern

AttributeDataBinding getBindingPattern()
Gets the binding pattern for rendering attribute data.

Returns:
The AttributeDataBinding object is returned.

getAssetId

AssetId getAssetId()
Gets the rendering attribute data asset id.

Returns:
The AssetId object is returned.

getLabel

java.lang.String getLabel()
Gets the rendering attribute label.

Returns:
String representing the label.

getTabName

java.lang.String getTabName()
Gets the tab name.

Returns:
String representing the tab name.

getLocale

java.lang.String getLocale()
Gets user locale.

Returns:
String representing the locale.

getAttributeIndex

int getAttributeIndex()
Gets the rendering attribute index.

Returns:
The attribute index is returned.

getRenderMode

RenderModeEnum getRenderMode()
Gets render mode.

Returns:
The attribute RenderModeEnum object is returned.

getEditor

AttributeEditor getEditor()
Gets the rendering attribute editor.

Returns:
The AttributeEditor object for the rendering attribute data is returned.

getAuxiliaryMap

java.util.Map<java.lang.String,java.lang.Object> getAuxiliaryMap()
Gets the auxiliary map for rendering attribute.

Returns:
The Map object containing attribute binding info is returned.

getAsset

Asset getAsset()
Gets an asset.

Returns:
The Asset object is returned.

getAttributeType

Asset.AttributeType getAttributeType()
Gets an attribute type.

Returns:
The AttributeType object is returned.

getCSElement

java.lang.String getCSElement()
Gets a CS element.

Returns:
The CS element String.


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.