Class TLcdMIFSymbolIconProvider

java.lang.Object
com.luciad.format.mif.gxy.TLcdMIFSymbolIconProvider

public class TLcdMIFSymbolIconProvider extends Object
This ILcdMIFSymbolIconProvider provides icons corresponding to given MIF symbols, as defined by the MIF standard. If MapInfo fonts are not installed, default symbols are returned.
  • Constructor Details

    • TLcdMIFSymbolIconProvider

      public TLcdMIFSymbolIconProvider()
      Constructs an icon provider that returns a filled rectangle as a default symbol.
    • TLcdMIFSymbolIconProvider

      public TLcdMIFSymbolIconProvider(ILcdIcon aDefaultIcon)
      Constructs an icon provider with a default icon.
      Parameters:
      aDefaultIcon - the icon to return for unresolved objects.
  • Method Details

    • getIcon

      public ILcdIcon getIcon(ILcdMIFSymbol aMIFSymbol)
      Returns the icon corresponding to the given MIF symbol. The icon is then typically used for painting. The MIF symbol can be a MapInfo 3.0 symbol, a TrueType symbol, or a custom bitmap symbol.
      Parameters:
      aMIFSymbol - the object to provide a symbol for.
      Returns:
      the icon corresponding to the given MIF symbol.