|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static String |
DEF_VALUE
|
static String |
KEY
|
static String |
LINE_BREAK
|
| Method Summary | |
String |
getAlias()
|
String |
getConfiguration(String format)
returns the supported parameters and the default values the class uses |
IFlavor |
getFlavor()
|
ILayoutObject |
getNewInstance()
|
String |
getParameter(IParameterName key)
|
IParameters |
getParameters()
returns all parameters used in this layout object. |
IParameterName[] |
getSupportedParameters()
returns all parameters which are used in this layout object. |
boolean |
is508enabled()
|
void |
setAlias(String alias)
|
void |
setFlavor(IFlavor flavor)
is called from the factory after instantiating a new layout object to set the flavor information coming from the Control or ILayoutController ,
asking for special instances of the IResourceRenderer used by the implementing class |
String |
setParameter(IParameterName key,
String value)
|
void |
setParameters(IParameters parameters)
is called from the factory after initializing this layout object. |
void |
setProxy(IProxy proxy)
is called from the factory after instantiating a new layout object to set the proxy which is needed as possible target for actions. |
| Field Detail |
public static final String LINE_BREAK
public static final String KEY
public static final String DEF_VALUE
| Method Detail |
public ILayoutObject getNewInstance()
public void setProxy(IProxy proxy)
ICollectionRenderer
can use IResourceRenderer and IUICommand to render the
given resource. These classes need the proxy for the rendering of their links. The
implementing class needs the proxy to retrieve these classes using the respecting
factory-classes ResourceRendererFactory and UICommandFactory
proxy - the WdfPfoxy that acts as an outer container for the renderingpublic IParameterName[] getSupportedParameters()
setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)public IParameters getParameters()
public void setParameters(IParameters parameters)
IParameterName[] getSupportedParameters()
are set by the factory.
With this method the rendering of the implementing class can be influenced. Classes
can - but do not have to - react on the parameters supplied in this method
parameters - - the parameters retrieved from different sources (iView, OTH...)
that influence the way the implementing class renders its output. If the parameter is not found in the
class' getSupportedParameters, the value will not be set as parameter for this class.
If for a certain key, no value is found in the given IParameters, the default value set in the class will
not be overwritten.
Example:
The class returns as supported parameters the keys "A", "B".
It has set the default parameters, so we find the key-value pairs:
"A" -> a
"B" -> b
This method is called, with the following hashtable entries:
"A" -> aa
"C" -> cc
After the method is called, the class holds following key-vlaue pairs:
"A" -> aa (overwritten by passed hashtable values)
"B" -> b (not overwritten, because the hashtable returned null for this key
The key-value pair "C" -> cc is not used in the class, because the key was not found in its
getSupportedParameters
public String setParameter(IParameterName key,
String value)
key - - the key of the parametervalue - - the value of the parameter
Overwrites an existing entry of the parameters or adds it, if it is not set.
Note: The Layout Object may not act on this parameter. To retrieve a list
of supported parameters from an ILayoutObject instancepublic String getParameter(IParameterName key)
null. Note: a
returned null does not indicate, that the ILayoutObject
does not support this parameter!public String getConfiguration(String format)
public boolean is508enabled()
public void setFlavor(IFlavor flavor)
Control or ILayoutController ,
asking for special instances of the IResourceRenderer used by the implementing class
public IFlavor getFlavor()
public String getAlias()
public void setAlias(String alias)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||