Package com.luciad.format.raster
Interface ILcdColorModelFactory
- All Known Implementing Classes:
TLcdDTEDColorModelFactory,TLcdGradientIndexColorModelFactory,TLcdIndexColorModelFactory,TLcdJetIndexColorModelFactory
public interface ILcdColorModelFactory
An ILcdColorModelFactory can create a
ColorModel.-
Method Summary
Modifier and TypeMethodDescriptionCreates a newColorModel.voidloadProperties(Properties aProperty, String aPrefix, String aSuffix) Sets the properties of thisILcdColorModelFactoryto the properties that are encoded within the givenPropertiesobject.
-
Method Details
-
createColorModel
ColorModel createColorModel()Creates a newColorModel.- Returns:
- the
ColorModel.
-
loadProperties
void loadProperties(Properties aProperty, String aPrefix, String aSuffix) throws IllegalArgumentException Sets the properties of thisILcdColorModelFactoryto the properties that are encoded within the givenPropertiesobject. Only properties that are of interest to the particular implementation of theILcdColorSchemeare considered.- Parameters:
aProperty- the object containing the properties for thisILcdColorModelFactory.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
-