com.sapportals.wcm.control.util

Class PropertyRendererTargetURLWithCopy

java.lang.Object
  extended by com.sapportals.wcm.control.util.AbstractPropertyRenderer
      extended by com.sapportals.wcm.control.util.PropertyRendererTargetURLWithCopy
All Implemented Interfaces:
IPropertyRenderer, IRenderMetaName, IAccessibilityRenderer, IStructuredPropertyRenderer

public class PropertyRendererTargetURLWithCopy
extends AbstractPropertyRenderer


Field Summary
protected static String CLIP_LINK_NAME
           
protected static String CLIP_LINK_TOOLTIP
           
protected static String RES_BUNDLE
           
 
Fields inherited from class com.sapportals.wcm.control.util.AbstractPropertyRenderer
CID_PROPERTY_NAME, CID_PROPERTY_ROW, CID_PROPERTY_TIME_VALUE, CID_PROPERTY_VALUE, CM_DESCRIPTION, CM_RND_EXPLORER_URL, CM_RND_EXTERNAL_LINK, CM_RND_PATH, CM_RND_TARGET_URL, CM_RND_TARGET_URL_COPY, CM_RND_WEBDAV_URL, CM_RND_WEBDAV_URL_COPY, currentMetaName, DATE_FORMAT, DEFAULT_DATE_FORMAT, DEFAULT_DATE_TIME_FORMAT, DEFAULT_TIME_FORMAT, displayMode, EVENT_ADD_NEW_VALUE, EVENT_EDIT_HTML, labeledComponent, METATAG_NO_LABEL, RENDER_HTML, RES_ADD_NEW_VALUE, RES_EDIT_HTML
 
Constructor Summary
PropertyRendererTargetURLWithCopy()
           
 
Method Summary
 com.sapportals.htmlb.Component renderMetaNameLabel(IMetaName metaName, IMetaContext rendererContext)
          Renders a htmlb Component for the label for a given IMetaName and a given IMetaContext null as returned component is accepted, if no label is whished.
 com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName, IMetaContext rendererContext)
          renders a text field with the TargetURL and a link used to copy the GUID full URL to MS Clipboard
 com.sapportals.htmlb.Component renderProperty(IProperty property, IResource res, int maxLength)
          used for rendering it in Flex UI renders a text field with the TargetURL and a link used to copy the GUID full URL to MS Clipboard
 
Methods inherited from class com.sapportals.wcm.control.util.AbstractPropertyRenderer
getBundle, getCurrentMetaName, getLabeledComponent, getProperties, getProperty, getPropertyTooltip, getPropertyType, getResourceContext, is508Required, isEditable, isEditable, processEvent, renderProperty, renderSpacing, set508Required, setCurrentMetaName, setDisplayMode, setResourceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RES_BUNDLE

protected static final String RES_BUNDLE
See Also:
Constant Field Values

CLIP_LINK_NAME

protected static final String CLIP_LINK_NAME
See Also:
Constant Field Values

CLIP_LINK_TOOLTIP

protected static final String CLIP_LINK_TOOLTIP
See Also:
Constant Field Values
Constructor Detail

PropertyRendererTargetURLWithCopy

public PropertyRendererTargetURLWithCopy()
Method Detail

renderProperty

public com.sapportals.htmlb.Component renderProperty(IProperty property,
                                                     IResource res,
                                                     int maxLength)
used for rendering it in Flex UI renders a text field with the TargetURL and a link used to copy the GUID full URL to MS Clipboard

Specified by:
renderProperty in interface IPropertyRenderer
Overrides:
renderProperty in class AbstractPropertyRenderer
Parameters:
property - to berendered
res - to which the property belongs
maxLength - Description of the Parameter
Returns:
Description of the Return Value

renderMetaNameLabel

public com.sapportals.htmlb.Component renderMetaNameLabel(IMetaName metaName,
                                                          IMetaContext rendererContext)
Description copied from interface: IStructuredPropertyRenderer
Renders a htmlb Component for the label for a given IMetaName and a given IMetaContext null as returned component is accepted, if no label is whished.

Specified by:
renderMetaNameLabel in interface IStructuredPropertyRenderer
Overrides:
renderMetaNameLabel in class AbstractPropertyRenderer
Parameters:
metaName - the given IMetaName for which the component will be rendered
rendererContext - the given IMetaContext for which the component will be rendered
Returns:
a htmlb Component which will rendered in in UI dialog

renderMetaProperty

public com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName,
                                                         IMetaContext rendererContext)
                                                  throws WcmException
renders a text field with the TargetURL and a link used to copy the GUID full URL to MS Clipboard

Specified by:
renderMetaProperty in interface IStructuredPropertyRenderer
Overrides:
renderMetaProperty in class AbstractPropertyRenderer
Parameters:
metaName - Description of the Parameter
rendererContext - Description of the Parameter
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice