com.sapportals.wcm.control.util

Class ImageRendererUtil

java.lang.Object
  extended by com.sapportals.wcm.control.util.ImageRendererUtil

Deprecated. As of NetWeaver 7.1

public final class ImageRendererUtil
extends Object

Renders Close button used in different controls Copyright 2004 SAP AG


Nested Class Summary
static class ImageRendererUtil.PropertyPack
          Deprecated. As of NetWeaver 7.1
 
Field Summary
static String CONTEXT_MENU_ICON
          Deprecated.  
static PropertyNameList PROPERTYNAMES
          Deprecated. this list contains the properties that need to be retrieved from a given IResource to render its proper image.
 
Constructor Summary
ImageRendererUtil()
          Deprecated.  
 
Method Summary
static String getDefaultIcon(IResource res)
          Deprecated. As of NetWeaver 7.1
static String getDefaultIcon(IResource res, com.sapportals.htmlb.page.DynPage dynPage)
          Deprecated. As of NetWeaver 7.1
static String getImageURL(String imagePath, IResource resource)
          Deprecated. As of NetWeaver 7.1
static String getImageURL(String imagePath, IResourceContext context)
          Deprecated. As of NetWeaver 7.1
static String getImageURL(String imagePath, IResource resource, com.sapportals.htmlb.page.DynPage dynPage)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource, boolean is508Required)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource, boolean is508Required, com.sapportals.htmlb.page.DynPage dynPage)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Image renderDefaultIcon(IResource resource, IPropertyMap propertymap, boolean is508Required, com.sapportals.htmlb.page.DynPage dynamicPage)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_MENU_ICON

public static final String CONTEXT_MENU_ICON
Deprecated. 
See Also:
Constant Field Values

PROPERTYNAMES

public static final PropertyNameList PROPERTYNAMES
Deprecated. 
this list contains the properties that need to be retrieved from a given IResource to render its proper image. To enhance performance, propertymaps can be supplied for some methods. They should contain the properties defined in this list. If they don't contain them, they will NOT be retrieved by this class, because it is assumed that they are not available for the given resource.

Constructor Detail

ImageRendererUtil

public ImageRendererUtil()
Deprecated. 
Method Detail

renderDefaultIcon

public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource)
Deprecated. As of NetWeaver 7.1


renderDefaultIcon

public static com.sapportals.htmlb.Image renderDefaultIcon(IResource resource,
                                                           IPropertyMap propertymap,
                                                           boolean is508Required,
                                                           com.sapportals.htmlb.page.DynPage dynamicPage)
Deprecated. As of NetWeaver 7.1

Parameters:
resource -
propertymap -
is508Required -
dynamicPage -
Returns:
default icon image

renderDefaultIcon

public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource,
                                                               boolean is508Required,
                                                               com.sapportals.htmlb.page.DynPage dynPage)
Deprecated. As of NetWeaver 7.1


renderDefaultIcon

public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource,
                                                               boolean is508Required)
Deprecated. As of NetWeaver 7.1


getImageURL

public static String getImageURL(String imagePath,
                                 IResource resource,
                                 com.sapportals.htmlb.page.DynPage dynPage)
Deprecated. As of NetWeaver 7.1

Returns the complete path to access the custom image-file specified for a given image path of the renderer. If none is specified or if an exception occurs, the method returns null. It's looking in the imagePath if the it's start with ../ and then creates the image url adding the collection path

Returns:
The customImage value

getImageURL

public static String getImageURL(String imagePath,
                                 IResource resource)
Deprecated. As of NetWeaver 7.1

Returns the complete path to access the custom image-file specified for a given image path of the renderer. If none is specified or if an exception occurs, the method returns null. It's looking in the imagePath if the it's start with ../ and then creates the image url adding the collection path

Returns:
The customImage value

getImageURL

public static String getImageURL(String imagePath,
                                 IResourceContext context)
Deprecated. As of NetWeaver 7.1

returns the complete path to access the custom image-file specified for a given image path of the renderer. If none is specified or if an exception occurs, the method returns null.

Returns:
The customImage value

getDefaultIcon

public static String getDefaultIcon(IResource res)
Deprecated. As of NetWeaver 7.1

Retrieves the default icon taken from ResourceTypeRegistry


getDefaultIcon

public static String getDefaultIcon(IResource res,
                                    com.sapportals.htmlb.page.DynPage dynPage)
Deprecated. As of NetWeaver 7.1

Retrieves the default icon taken from ResourceTypeRegistry

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