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:
- Long running operations must be avoided. This method is called
often for each list item.
- This interface should only be used when different icons
need to be specified for the same type of object.
- 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. |
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.
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