com.bea.content.icon
Interface IIconService

All Known Implementing Classes:
DefaultIconService

public interface IIconService

Interface that defines the signature for icon retrieval for binary properties.

Implementations of this interface should return "localized" paths to resources used for property badging, that is local to the current web application (without web context root).

A fully qualified url will be created as a url, subject to rewriting rules downstream.


Method Summary
 String getLargeIcon(Node node)
          Retrieve a large icon (32X32) for the specified node.
 String getLargeIcon(Property property)
          Retrieve a large icon (32X32) for the specified property.
 String getSmallIcon(Node node)
          Retrieve a small icon (16X16) for the specified node.
 String getSmallIcon(Property property)
          Retrieve a small icon (16X16) for the specified property.
 

Method Detail

getSmallIcon

String getSmallIcon(Property property)
Retrieve a small icon (16X16) for the specified property.

Parameters
property - The property to use in the determination.
Returns
A localized path (relative to web context root) to the image. Null is acceptable.

getLargeIcon

String getLargeIcon(Property property)
Retrieve a large icon (32X32) for the specified property.

Parameters
property - The property to use in the determination.
Returns
A localized path (relative to web context root) to the image. Null is acceptable.

getSmallIcon

String getSmallIcon(Node node)
Retrieve a small icon (16X16) for the specified node.

Parameters
node - The node to use in the determination.
Returns
A localized path (relative to web context root) to the image. Null is acceptable.

getLargeIcon

String getLargeIcon(Node node)
Retrieve a large icon (32X32) for the specified node.

Parameters
node - The node to use in the determination.
Returns
A localized path (relative to web context root) to the image. Null is acceptable.


Copyright © 2011, Oracle. All rights reserved.