org.esa.beam.framework.datamodel
Class ImageLegend
java.lang.Object
org.esa.beam.framework.datamodel.ImageLegend
public class ImageLegend
- extends Object
The ImageLegend class is used to generate an image legend from a ImageInfo instance.
- Version:
- $Revision$ $Date$
- Author:
- Norman Fomferra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
ImageLegend
public ImageLegend(ImageInfo imageInfo,
RasterDataNode raster)
getImageInfo
public ImageInfo getImageInfo()
getRaster
public RasterDataNode getRaster()
isUsingHeader
public boolean isUsingHeader()
setUsingHeader
public void setUsingHeader(boolean usingHeader)
getHeaderText
public String getHeaderText()
setHeaderText
public void setHeaderText(String headerText)
getOrientation
public int getOrientation()
setOrientation
public void setOrientation(int orientation)
getFont
public Font getFont()
setFont
public void setFont(Font font)
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getForegroundColor
public Color getForegroundColor()
setForegroundColor
public void setForegroundColor(Color foregroundColor)
isAntialiasing
public boolean isAntialiasing()
setAntialiasing
public void setAntialiasing(boolean antialiasing)
isBackgroundTransparencyEnabled
public boolean isBackgroundTransparencyEnabled()
setBackgroundTransparencyEnabled
public void setBackgroundTransparencyEnabled(boolean backgroundTransparencyEnabled)
getBackgroundTransparency
public float getBackgroundTransparency()
setBackgroundTransparency
public void setBackgroundTransparency(float backgroundTransparency)
isAlphaUsed
public boolean isAlphaUsed()
getBackgroundAlpha
public int getBackgroundAlpha()
createImage
public BufferedImage createImage()
Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.