Package org.gvsig.raster.lib.legend.api
Interface RasterLegend
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,ILegend,Legend,org.gvsig.tools.observer.Observer,org.gvsig.tools.persistence.Persistent
public interface RasterLegend
extends org.gvsig.tools.persistence.Persistent, ILegend, org.gvsig.tools.observer.Observer
- Author:
- fdiaz
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCMYKToRGBOperation(ColorInterpretation colorInterpretation) voidaddColorTableOperation(ColorInterpretation colorInterpretation, int index) Adds a ColorTableOperationvoidaddHSLToRGBOperation(ColorInterpretation colorInterpretation) voidaddLinearStretchEnhancementOperationIfNeeded(ColorInterpretation colorInterpretation, List<org.gvsig.fmap.dal.raster.BandDescriptor> bands, int index) Adds a addNewLinearStretchEnhancementOperation if neededvoidaddYCBCRToRGBOperation(ColorInterpretation colorInterpretation) booleanvoiddraw(Graphics graphics, org.gvsig.raster.lib.buffer.api.Buffer buffer, ViewPort viewPort, org.gvsig.tools.task.SimpleTaskStatus taskStatus) org.gvsig.raster.lib.buffer.api.operations.OperationListvoidsetColorInterpretation(ColorInterpretation colorInterpretation) voidsetFilters(org.gvsig.raster.lib.buffer.api.operations.OperationList filterList) voidsetTransparency(Transparency transparency) voidsetTransparentNoData(boolean transparentNoData) Methods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getDefaultSymbol, getListeners, removeLegendListenerMethods inherited from interface org.gvsig.tools.observer.Observer
updateMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Method Details
-
draw
void draw(Graphics graphics, org.gvsig.raster.lib.buffer.api.Buffer buffer, ViewPort viewPort, org.gvsig.tools.task.SimpleTaskStatus taskStatus) - Parameters:
graphics-buffer-viewPort-taskStatus-
-
getColorInterpretation
ColorInterpretation getColorInterpretation()- Returns:
- ColorInterpretation
-
setColorInterpretation
- Parameters:
colorInterpretation-
-
getFilters
org.gvsig.raster.lib.buffer.api.operations.OperationList getFilters()- Returns:
- FilterList
-
setFilters
void setFilters(org.gvsig.raster.lib.buffer.api.operations.OperationList filterList) - Parameters:
filterList-
-
setTransparency
- Parameters:
transparency-
-
getTransparency
Transparency getTransparency()- Returns:
-
setTransparentNoData
void setTransparentNoData(boolean transparentNoData) - Parameters:
transparentNoData-
-
areTransparentNoData
boolean areTransparentNoData()- Returns:
- boolean
-
addColorTableOperation
Adds a ColorTableOperation- Parameters:
colorInterpretation-index-
-
addLinearStretchEnhancementOperationIfNeeded
void addLinearStretchEnhancementOperationIfNeeded(ColorInterpretation colorInterpretation, List<org.gvsig.fmap.dal.raster.BandDescriptor> bands, int index) Adds a addNewLinearStretchEnhancementOperation if needed- Parameters:
colorInterpretation-bands-index-
-
addHSLToRGBOperation
- Parameters:
colorInterpretation-
-
addCMYKToRGBOperation
- Parameters:
colorInterpretation-
-
addYCBCRToRGBOperation
- Parameters:
colorInterpretation-
-