com.bea.content.icon
Class DefaultIconService

java.lang.Object
  extended by com.bea.content.icon.DefaultIconService
All Implemented Interfaces
IIconService

public class DefaultIconService
extends Object
implements IIconService

Default implementation for retrieving icons. This implementation just returns null.


Constructor Summary
DefaultIconService()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIconService

public DefaultIconService()
Method Detail

getLargeIcon

public String getLargeIcon(Property property)
Description copied from interface: IIconService
Retrieve a large icon (32X32) for the specified property.

Specified by:
getLargeIcon in interface IIconService
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

public String getSmallIcon(Property property)
Description copied from interface: IIconService
Retrieve a small icon (16X16) for the specified property.

Specified by:
getSmallIcon in interface IIconService
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

public String getLargeIcon(Node node)
Description copied from interface: IIconService
Retrieve a large icon (32X32) for the specified node.

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

getSmallIcon

public String getSmallIcon(Node node)
Description copied from interface: IIconService
Retrieve a small icon (16X16) for the specified node.

Specified by:
getSmallIcon in interface IIconService
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.