Interface ILcdObjectIconProvider

All Known Implementing Classes:
TLcdAISDefaultPointPainterSymbolProvider, TLcdAIXM51SymbolProvider, TLcdAPP6AObjectIconProvider, TLcdICAODefaultSymbolProvider, TLcdMS2525bObjectIconProvider, TLcdSingleIconProvider

public interface ILcdObjectIconProvider
An ILcdObjectIconProvider provides an ILcdIcon for objects passed to it. This icon could then be used e.g. for representation on the map.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canGetIcon(Object aObject)
    Returns whether an icon can be returned for a given object.
    getIcon(Object aObject)
    Returns an icon that can be used as representation for this object.
  • Method Details

    • getIcon

      ILcdIcon getIcon(Object aObject) throws IllegalArgumentException
      Returns an icon that can be used as representation for this object.
      Parameters:
      aObject - the domain object
      Returns:
      null when no ILcdIcon can be found the ILcdIcon for aObject
      Throws:
      IllegalArgumentException - When aObject is of the incorrect type
    • canGetIcon

      boolean canGetIcon(Object aObject)
      Returns whether an icon can be returned for a given object.
      Parameters:
      aObject - to object to check whether an icon can be provided for it.
      Returns:
      whether an icon can be returned for a given object.