|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.collection.LightCollectionRenderer
com.sapportals.wcm.rendering.collection.cm.AlignmentCollectionRendererNews
public class AlignmentCollectionRendererNews
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.rendering.collection.LightCollectionRenderer |
|---|
BASE_BUNDLE, CM_RND_ACTION, CM_RND_CHILDCOUNT, CM_RND_CHILDCOUNT_BOTH, CM_RND_CHILDCOUNT_FILES, CM_RND_CHILDCOUNT_FOLDERS, CM_RND_CHILDCOUNT_PROPERTY_NAME, CM_RND_CHILDCOUNT_SUM, CM_RND_CHILDCOUNT_WITH_BRACKETS, CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME, CM_RND_DESCRIPTION, CM_RND_DISPLAYNAME, CM_RND_ICON, CM_RND_IMAGE, CM_RND_LOCK, DEFAULT_PROPERTY_COLUMNS, linksForPager, NBSP, RES_CONTENTSOF, RES_SORT_ASCENDING, RES_SORT_DESCENDING |
| Fields inherited from interface com.sapportals.wcm.rendering.collection.ICollectionRenderer |
|---|
ORDERED_COLLECTION, SORTED, UNSORTED |
| Fields inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject |
|---|
DEF_VALUE, KEY, LINE_BREAK |
| Constructor Summary | |
|---|---|
AlignmentCollectionRendererNews()
|
|
| Method Summary | |
|---|---|
boolean |
checkTitle(IPropertyColumn[] prop,
IPropertyColumn property)
checks if for a component on a specific position the useTitleAsTitle modifier is set |
boolean |
checkTitleAsLable(IPropertyColumn[] prop)
checks if the given property has the useTitleAsLable modifier |
IPropertyColumn[] |
getColumnsList()
|
int |
getColumnsPerResource(IPropertyColumn[] prop)
returns the maximum number of column a resource has (also count column span) add 1 for the vertical line in CCWC News |
int |
getColumnsPerRow(IPropertyColumn[] prop,
int row)
returns the number if columns that are on a given row adds a 1 for the vertical line for CCWC News |
protected int |
getElementsPerPage()
|
com.sapportals.htmlb.Component |
getGridCell(IPropertyWithModifiersList propertyWithModifiers,
IResourceRenderer renderer,
IPropertyColumn aProperty)
method that returns a grid with the properties in a IPropertyColumn object (properties connected by +) it is only used when the length of an IPropertyColumn is bigger than 1 |
HashMap |
getMapProperty(IPropertyColumn[] prop)
|
ILayoutObject |
getNewInstance()
|
IResourceList |
getRowMajorResourceList(IResourceList renderlist,
int numberRows)
method that transforms the list of resources in the order needed for row major fill style |
int |
getRowsPerResource(IPropertyColumn[] prop)
returns the number of rows a resource occupies including row span |
HashMap |
getTileAsLableColumns(IPropertyColumn[] prop)
method that returns a hash map of the different columns (values - rows) on which a property with useTitleAsLable appeared |
com.sapportals.htmlb.Component |
renderHorizontalLine()
|
boolean |
renderSeparatorLine(IMetaName metaName,
com.sapportals.htmlb.FormLayout form,
com.sapportals.htmlb.FormLayoutCell cell,
int startingRow,
int col,
int rowSpan,
int resource,
int max)
method for adding the vertical line after the XML Form resuorce to separate the properties |
com.sapportals.htmlb.Component |
renderUI()
|
void |
setColumnsList(IPropertyColumn[] list)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlignmentCollectionRendererNews()
| Method Detail |
|---|
public com.sapportals.htmlb.Component renderUI()
throws com.sapportals.wcm.WcmException
renderUI in class LightCollectionRenderercom.sapportals.wcm.WcmExceptionpublic ILayoutObject getNewInstance()
public boolean checkTitleAsLable(IPropertyColumn[] prop)
prop -
public boolean checkTitle(IPropertyColumn[] prop,
IPropertyColumn property)
prop - column -
protected int getElementsPerPage()
getElementsPerPage in class LightCollectionRendererpublic int getColumnsPerResource(IPropertyColumn[] prop)
prop -
public int getColumnsPerRow(IPropertyColumn[] prop,
int row)
prop - row -
public int getRowsPerResource(IPropertyColumn[] prop)
prop -
public com.sapportals.htmlb.Component getGridCell(IPropertyWithModifiersList propertyWithModifiers,
IResourceRenderer renderer,
IPropertyColumn aProperty)
propertyWithModifiers - renderer - aProperty -
public HashMap getTileAsLableColumns(IPropertyColumn[] prop)
prop -
public HashMap getMapProperty(IPropertyColumn[] prop)
public IResourceList getRowMajorResourceList(IResourceList renderlist,
int numberRows)
renderlist - numberRows -
public boolean renderSeparatorLine(IMetaName metaName,
com.sapportals.htmlb.FormLayout form,
com.sapportals.htmlb.FormLayoutCell cell,
int startingRow,
int col,
int rowSpan,
int resource,
int max)
public com.sapportals.htmlb.Component renderHorizontalLine()
public final void setColumnsList(IPropertyColumn[] list)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
public IPropertyColumn[] getColumnsList()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||