Interface ILcdColorModelFactory

All Known Implementing Classes:
TLcdDTEDColorModelFactory, TLcdGradientIndexColorModelFactory, TLcdIndexColorModelFactory, TLcdJetIndexColorModelFactory

public interface ILcdColorModelFactory
An ILcdColorModelFactory can create a ColorModel.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new ColorModel.
    void
    loadProperties(Properties aProperty, String aPrefix, String aSuffix)
    Sets the properties of this ILcdColorModelFactory to the properties that are encoded within the given Properties object.
  • Method Details

    • createColorModel

      ColorModel createColorModel()
      Creates a new ColorModel.
      Returns:
      the ColorModel.
    • loadProperties

      void loadProperties(Properties aProperty, String aPrefix, String aSuffix) throws IllegalArgumentException
      Sets the properties of this ILcdColorModelFactory to the properties that are encoded within the given Properties object. Only properties that are of interest to the particular implementation of the ILcdColorScheme are considered.
      Parameters:
      aProperty - the object containing the properties for this ILcdColorModelFactory.
      aPrefix - an additional prefix that is prepended when looking for the relevant properties.
      aSuffix - an additional suffix that is appended when looking for the relevant properties.
      Throws:
      IllegalArgumentException