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
.void
loadProperties
(Properties aProperty, String aPrefix, String aSuffix) Sets the properties of thisILcdColorModelFactory
to the properties that are encoded within the givenProperties
object.
-
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 thisILcdColorModelFactory
to the properties that are encoded within the givenProperties
object. Only properties that are of interest to the particular implementation of theILcdColorScheme
are 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
-