Class ReferencedImageStyle
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.ReferencedImageStyle
-
- All Implemented Interfaces:
AlphaSetting,Style,Cloneable
public class ReferencedImageStyle extends Object implements Style, AlphaSetting
A JUMP style that will paint images
-
-
Constructor Summary
Constructors Constructor Description ReferencedImageStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intgetAlpha()ImageryLayerDatasetgetImageryLayerDataset()voidinitialize(Layer l)Called before #paint is applied to each Feature.booleanisEnabled()voidpaint(Feature f, Graphics2D g, Viewport viewport)voidsetAlpha(int alpha)voidsetEnabled(boolean enabled)
-
-
-
Method Detail
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws Exception
-
initialize
public void initialize(Layer l)
Description copied from interface:StyleCalled before #paint is applied to each Feature.- Specified by:
initializein interfaceStyle- Parameters:
l- the layer on which to apply this style
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceStyle
-
isEnabled
public boolean isEnabled()
-
getImageryLayerDataset
public ImageryLayerDataset getImageryLayerDataset()
-
getAlpha
public int getAlpha()
- Specified by:
getAlphain interfaceAlphaSetting
-
setAlpha
public void setAlpha(int alpha)
- Specified by:
setAlphain interfaceAlphaSetting
-
-