|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.control.util.AbstractPropertyRenderer
com.sapportals.wcm.control.util.PropertyRendererDefaultString
public class PropertyRendererDefaultString
The PropertyRendererDefaultString is default rendering for properties of type String
Copyright 2004 SAP AG
| Field Summary |
|---|
| Fields inherited from interface com.sapportals.wcm.control.util.IStringRenderer |
|---|
END_CHARS, NO_MAX_CHARS |
| Constructor Summary | |
|---|---|
PropertyRendererDefaultString()
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
int |
getMaxChars()
Deprecated. As of NetWeaver 7.1 |
boolean |
getNoWrapping()
Deprecated. As of NetWeaver 7.1 |
IPropertyMap |
getProperties(IMetaName metaName,
IMetaContext rendererContext,
com.sapportals.htmlb.page.DynPage dynPage)
Deprecated. As of NetWeaver 7.1 |
boolean |
isSelectionSupported()
Deprecated. As of NetWeaver 7.1 |
com.sapportals.htmlb.Component |
renderMetaProperty(IMetaName metaName,
IMetaContext rendererContext)
Deprecated. As of NetWeaver 7.1 might return |
com.sapportals.htmlb.Component |
renderProperty(IProperty property,
IResource res,
int maxLength)
Deprecated. As of NetWeaver 7.1 |
void |
setMaxChars(int maxChars)
Deprecated. As of NetWeaver 7.1 |
void |
setNoWrapping(boolean noWrapping)
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class com.sapportals.wcm.control.util.AbstractPropertyRenderer |
|---|
getBundle, getCurrentMetaName, getLabeledComponent, getProperty, getPropertyTooltip, getPropertyType, getResourceContext, is508Required, isEditable, isEditable, processEvent, renderMetaNameLabel, renderProperty, renderSpacing, set508Required, setCurrentMetaName, setDisplayMode, setResourceContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyRendererDefaultString()
| Method Detail |
|---|
public com.sapportals.htmlb.Component renderProperty(IProperty property,
IResource res,
int maxLength)
AbstractPropertyRenderer
renderProperty in interface IPropertyRendererrenderProperty in class AbstractPropertyRendererproperty - to berenderedres - to which the property belongsmaxLength - Description of the Parameter
public com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName,
IMetaContext rendererContext)
throws WcmException
AbstractPropertyRenderer
renderMetaProperty in interface IStructuredPropertyRendererrenderMetaProperty in class AbstractPropertyRenderermetaName - Description of the ParameterrendererContext - Description of the Parameter
WcmException - Description of the Exception
public IPropertyMap getProperties(IMetaName metaName,
IMetaContext rendererContext,
com.sapportals.htmlb.page.DynPage dynPage)
throws WcmException
IStructuredPropertyRendererComponent
from the DynPage, the the input value, and validate and create a IProperty for this
IMetaName. If the input value is invalid then it will created a IProperty with empty value
like it follows : IPropertyMap and it will be shown as invalid input.
The returned IPropertyMap could have one or more IProperty according
with the property renderer logic.
getProperties in interface IStructuredPropertyRenderergetProperties in class AbstractPropertyRenderermetaName - the given IMetaName for which the property will be createdrendererContext - - contains the rendering information: which IResourceContext,
IResource or PropertyDisplayModedynPage - htmlb dynpage that contains the response document
null is accepted
WcmExceptionpublic boolean isSelectionSupported()
isSelectionSupported in interface ISelectionSupportedpublic void setMaxChars(int maxChars)
setMaxChars in interface IStringRendererpublic int getMaxChars()
getMaxChars in interface IStringRendererpublic void setNoWrapping(boolean noWrapping)
setNoWrapping in interface IStringRendererpublic boolean getNoWrapping()
getNoWrapping in interface IStringRenderer| 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 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||