Class Drawable
- java.lang.Object
-
- uk.ac.rdg.resc.edal.graphics.style.Drawable
-
- Direct Known Subclasses:
ImageLayer,MapImage
public abstract class Drawable extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDrawable.NameAndRange
-
Constructor Summary
Constructors Constructor Description Drawable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BufferedImagedrawImage(PlottingDomainParams params, FeatureCatalogue featureCatalogue)abstract Set<Drawable.NameAndRange>getFieldsWithScales()OpacityTransformgetOpacityTransform()voidsetOpacityTransform(OpacityTransform opacityTransform)
-
-
-
Method Detail
-
getOpacityTransform
public OpacityTransform getOpacityTransform()
-
setOpacityTransform
public void setOpacityTransform(OpacityTransform opacityTransform)
-
drawImage
public abstract BufferedImage drawImage(PlottingDomainParams params, FeatureCatalogue featureCatalogue) throws EdalException
- Throws:
EdalException
-
getFieldsWithScales
public abstract Set<Drawable.NameAndRange> getFieldsWithScales()
- Returns:
- A list of all the fields used in this image layer, and their
appropriate scale ranges. If there is NO scale range there can be
NO data field and vice versa - i.e. a
Drawable.NameAndRangeobject must have all non-null fields. If the layer doesn't depend on any data, this should return an empty set. It should never returnnull.
-
-