public interface IIconMap
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)
Modifier and Type | Method and Description |
---|---|
Icon |
getDisabledIcon(IconId id)
Returns a disabled version of the icon for the given ID.
|
Icon |
getIcon(IconId id)
Returns an icon for the given ID.
|
Dimension |
getIconDimension()
Returns the size of the icons in the map.
|
void |
setIcon(IconId id,
Icon icon)
Sets an icon for the given icon ID.
|
void setIcon(IconId id, Icon icon)
id
- the id of the iconicon
- the icon for the IDIcon getIcon(IconId id)
id
- the ID for which to return an iconIcon getDisabledIcon(IconId id)
id
- the ID for which to return an iconDimension getIconDimension()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.