|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIconMap
An icon map provides icons based on an icon ID. Icon maps can be passed to
the IconRegistry
where the registry will use it to lookup icons that
other framework classes ask for. The icon map and the icon registry are
strictly for internal use of the framework. Applications that use the
framework need to implement their own mechanism to load and lookup icons.
IconRegistry.setIconMap(IIconMap)
Method Summary | |
---|---|
javax.swing.Icon |
getIcon(IconId id)
Returns an icon for the given ID. |
void |
setIcon(IconId id,
javax.swing.Icon icon)
Sets an icon for the given icon ID. |
Method Detail |
---|
void setIcon(IconId id, javax.swing.Icon icon)
id
- the id of the iconicon
- the icon for the IDjavax.swing.Icon getIcon(IconId id)
id
- the ID for which to return an icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |