com.sapportals.wcm.rendering.readymades

Class ColumnRenderer

java.lang.Object
  extended bycom.sapportals.wcm.rendering.readymades.ColumnRenderer

public final class ColumnRenderer
extends Object


Field Summary
static String CM_RND_ACTION
           
static String CM_RND_ICON
           
static String CM_RND_IMAGE
           
 
Constructor Summary
ColumnRenderer()
           
 
Method Summary
static String getListPropertyColumnPadding(IPropertyColumn propertyColumn, boolean selectionActive)
          List EP6 for list, for all properties the padding is (3, 0, 0, 0) for beeing in the same align with checkbox or radio button for selection
static String[] getPropertyColumnArrayPadding(IPropertyColumn propertyColumn, boolean selectionActive)
          Returns the padding of the Property Column
static Component renderMetaProperty(IMetaName metaName, boolean hasContentLink, boolean useSecondaryStyle, IParameters parameters, IProxy proxy, IResource resource)
           
static Component renderPropertyColumn(IResource resource, IPropertyColumn propertyColumn, boolean useSecondaryStyle, IProxy proxy, IParameters parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CM_RND_ACTION

public static final String CM_RND_ACTION
See Also:
Constant Field Values

CM_RND_ICON

public static final String CM_RND_ICON
See Also:
Constant Field Values

CM_RND_IMAGE

public static final String CM_RND_IMAGE
See Also:
Constant Field Values
Constructor Detail

ColumnRenderer

public ColumnRenderer()
Method Detail

renderPropertyColumn

public static Component renderPropertyColumn(IResource resource,
                                             IPropertyColumn propertyColumn,
                                             boolean useSecondaryStyle,
                                             IProxy proxy,
                                             IParameters parameters)
                                      throws WcmException
Throws:
WcmException

getListPropertyColumnPadding

public static String getListPropertyColumnPadding(IPropertyColumn propertyColumn,
                                                  boolean selectionActive)
                                           throws WdfException
List EP6 for list, for all properties the padding is (3, 0, 0, 0) for beeing in the same align with checkbox or radio button for selection

Throws:
WdfException

getPropertyColumnArrayPadding

public static String[] getPropertyColumnArrayPadding(IPropertyColumn propertyColumn,
                                                     boolean selectionActive)
                                              throws WdfException
Returns the padding of the Property Column

Parameters:
propertyColumn -
selectionActive -
Returns:
Throws:
WdfException

renderMetaProperty

public static Component renderMetaProperty(IMetaName metaName,
                                           boolean hasContentLink,
                                           boolean useSecondaryStyle,
                                           IParameters parameters,
                                           IProxy proxy,
                                           IResource resource)
                                    throws WdfException
Throws:
WdfException


Copyright 2006 SAP AG Complete Copyright Notice