public final class ImageRendererUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ImageRendererUtil.PropertyPack
Deprecated.
As of NetWeaver 7.1
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ImageRendererUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final String CONTEXT_MENU_ICON
public static final PropertyNameList PROPERTYNAMES
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.public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource)
public static com.sapportals.htmlb.Image renderDefaultIcon(IResource resource, IPropertyMap propertymap, boolean is508Required, com.sapportals.htmlb.page.DynPage dynamicPage)
resource
- propertymap
- is508Required
- dynamicPage
- public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource, boolean is508Required, com.sapportals.htmlb.page.DynPage dynPage)
public static com.sapportals.htmlb.Component renderDefaultIcon(IResource resource, boolean is508Required)
public static String getImageURL(String imagePath, IResource resource, com.sapportals.htmlb.page.DynPage dynPage)
null
.
It's looking in the imagePath if the it's start with ../ and then creates the
image url adding the collection pathpublic static String getImageURL(String imagePath, IResource resource)
null
.
It's looking in the imagePath if the it's start with ../ and then creates the
image url adding the collection pathpublic static String getImageURL(String imagePath, IResourceContext context)
null
.public static String getDefaultIcon(IResource res)
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
|
Copyright 2018 SAP AG Complete Copyright Notice