|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.uicommand.UICommandRenderer
public final class UICommandRenderer
This class can be used to take care of the complete rendering of a resource.
The class uses the LayoutObject, set in the constructor to
retrieve all parametrization from the calling class. It then returns a Component
that is ready-to-use.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
UICommandRenderer(ILayoutObject layoutObject,
IProxy proxy)
Deprecated. As of NetWeaver 7.1 |
|
UICommandRenderer(IParameters parameters,
IProxy proxy)
Deprecated. As of NetWeaver 7.1 |
|
UICommandRenderer(LayoutObject layoutObject,
IProxy proxy)
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
static com.sapportals.htmlb.Component |
getCommandIconComponent(IUIBaseCommand command,
IResource resource)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderAction(IResource res,
IParameterName parameterName)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderAsIcon(IResource res,
IParameterName parameterName)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderAsLink(IResource res,
IParameterName parameterName)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderCollectionAction(IResource res,
IParameterName parameterName)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderCommandContentLink(IResource resource,
String commandAlias,
com.sapportals.htmlb.Component comp)
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderMassAction(IResource res,
IParameterName parameterName)
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UICommandRenderer(IParameters parameters,
IProxy proxy)
public UICommandRenderer(LayoutObject layoutObject,
IProxy proxy)
layoutObject - a layoutObject that holds all the parametrization to
create the correct rendering. Must not be null.proxy - the proxy that is used as the target control, when the
commands that are included in the returned Component
trigger Events.
public UICommandRenderer(ILayoutObject layoutObject,
IProxy proxy)
layoutObject - a layoutObject that holds all the parametrization to
create the correct rendering. Must not be null.proxy - the proxy that is used as the target control, when the
commands that are included in the returned Component
trigger Events.| Method Detail |
|---|
public com.sapportals.htmlb.Component renderMassAction(IResource res,
IParameterName parameterName)
throws WcmException
IUIGroupCommand defined for the given resource.
res - the resource IUIGroupCommand is
needed for.parameterName - the parameterName that specifies, which parameter
holds the information which groupcommand to render
Component that holds the defined
IUIGroupCommand and its children as Components. This
method checks first, if the parameter with key IResourceRendererParameterNameConst.COLLECTION_ACTIONSTYLE
is set. If it is not set, the default IParameterNameConst.ACTIONSTYLE_HOVER
is used. If that parameter holds an invalid value, an empty TextView
is returned.
WcmException - Description of the Exception
public com.sapportals.htmlb.Component renderCollectionAction(IResource res,
IParameterName parameterName)
throws WcmException
IUIGroupCommand defined for the given resource.
res - the resource IUIGroupCommand is
needed for.parameterName - the parameterName that specifies, which parameter
holds the information which groupcommand to render
Component that holds the defined
IUIGroupCommand and its children as Components. This
method checks first, if the parameter with key IResourceRendererParameterNameConst.COLLECTION_ACTIONSTYLE
is set. If it is not set, the default IParameterNameConst.ACTIONSTYLE_HOVER
is used. If that parameter holds an invalid value, an empty TextView
is returned.
WcmException - Description of the Exception
public com.sapportals.htmlb.Component renderAction(IResource res,
IParameterName parameterName)
throws WcmException
IUIGroupCommand defined for the given resource.
res - the resource IUIGroupCommand is
needed for.parameterName - the parameterName that specifies, which parameter
holds the information which groupcommand to render
Component that holds the defined
IUIGroupCommand and its children as Components. This
method checks first, if the parameter with key IResourceRendererParameterNameConst.ITEMACTIONSTYLE
is set. If not, the key ICollectionRendererParameterNameConst.COLLECTION_ACTIONSTYLE
is read out. If it is not set either, the default IParameterNameConst.ACTIONSTYLE_HOVER
is used. If that parameter holds an invalid value, an empty TextView
is returned.
WcmException - Description of the Exception
public com.sapportals.htmlb.Component renderAsLink(IResource res,
IParameterName parameterName)
throws WcmException
IUIGroupCommand defined for the given resource as
a list of links.
res - the resource IUIGroupCommand is
needed for.parameterName - the parameterName that specifies, which parameter
holds the information which groupcommand to render
Component that holds the defined
IUIGroupCommand and its children as Components. If the
configuration is invalid, an empty TextView /code> is returned
- Throws:
WcmException - Description of the Exception
public com.sapportals.htmlb.Component renderAsIcon(IResource res,
IParameterName parameterName)
throws WcmException
IUIGroupCommand defined for the given resource as
a hover menu, opening from an icon.
res - the resource IUIGroupCommand is
needed for.parameterName - the parameterName that specifies, which parameter
holds the information which groupcommand to render
Component that holds the defined
IUIGroupCommand and its children as Components. If the
configuration is invalid, an empty TextView /code> is returned
- Throws:
WcmException - Description of the Exception
public com.sapportals.htmlb.Component renderCommandContentLink(IResource resource,
String commandAlias,
com.sapportals.htmlb.Component comp)
public static final com.sapportals.htmlb.Component getCommandIconComponent(IUIBaseCommand command,
IResource resource)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||