com.ibm.as400.opnav
Interface IconManager


public interface IconManager

The interface which allows dynamic icon specification for list items. An IconManager implementation provides icon data for list items.

Implementation assumptions:

Since:
v5r1m0
See Also:
ListManager

Field Summary
static int DEFAULT_ICON
          The default icon is being requested.
static int OPEN_ICON
          The open icon is being requested.
 
Method Summary
 IconDescriptor getIconDescriptor(ObjectName objName, int flags)
          Returns an IconDescriptor for the object and the specified style.
 

Field Detail

DEFAULT_ICON

public static final int DEFAULT_ICON
The default icon is being requested.

OPEN_ICON

public static final int OPEN_ICON
The open icon is being requested.
Method Detail

getIconDescriptor

public IconDescriptor getIconDescriptor(ObjectName objName,
                                        int flags)
Returns an IconDescriptor for the object and the specified style. This method is called repeatedly when populating the view of a container. Long running operations should be avoided.
Parameters:
objectName - The name of the object for which an IconDesciptor will be retrieved.
flags - A constant which specifies the type of icon being requested.
Since:
v5r1m0
See Also:
ObjectName, DEFAULT_ICON, OPEN_ICON