public interface ILcdObjectIconProvider
ILcdObjectIconProvider
provides an ILcdIcon
for objects
passed to it. This icon could then be used e.g. for representation on the map.Modifier and Type | Method and Description |
---|---|
boolean |
canGetIcon(Object aObject)
Returns whether an icon can be returned for a given object.
|
ILcdIcon |
getIcon(Object aObject)
Returns an icon that can be used as representation for this object.
|
ILcdIcon getIcon(Object aObject) throws IllegalArgumentException
aObject
- the domain objectIllegalArgumentException
- When aObject is of the incorrect typeboolean canGetIcon(Object aObject)
aObject
- to object to check whether an icon can be provided for it.