public class IntensityGraph2DRendererUpdate extends Graph2DRendererUpdate<IntensityGraph2DRendererUpdate>
IntensityGraph2DRenderer
to update its settings.
Only the parameters that are set in the update get applied to the renderer. Parameters unique to the intensity graph that can be changed are:
| Constructor and Description |
|---|
IntensityGraph2DRendererUpdate() |
| Modifier and Type | Method and Description |
|---|---|
IntensityGraph2DRendererUpdate |
colorMap(NumberColorMap colorMap)
Sets this object's colorMap to the given ColorScheme.
|
IntensityGraph2DRendererUpdate |
drawLegend(boolean drawLegend)
Sets this object's drawLegend to the given boolean value.
|
NumberColorMap |
getColorMap() |
Boolean |
getDrawLegend() |
Integer |
getGraphAreaToLegendMargin() |
Integer |
getLegendWidth() |
Integer |
getZLabelMargin() |
IntensityGraph2DRendererUpdate |
graphAreaToLegendMargin(int margin)
Sets this object's graphAreaToLegendMargin to the given margin size.
|
IntensityGraph2DRendererUpdate |
legendWidth(int width)
Sets this object's legendWidth to the given margin size.
|
IntensityGraph2DRendererUpdate |
zLabelMargin(int margin)
Sets this object's zLabelMargin to the given margin size.
|
allAreaMargins, allLabelMargins, allMargins, backgroundColor, bottomAreaMargin, bottomMargin, getBackgroundColor, getBottomAreaMargin, getBottomMargin, getImageHeight, getImageWidth, getLabelColor, getLabelFont, getLeftAreaMargin, getLeftMargin, getReferenceLineColor, getRightAreaMargin, getRightMargin, getTopAreaMargin, getTopMargin, getXAxisRange, getXLabelMargin, getXValueScale, getYAxisRange, getYLabelMargin, getYValueScale, imageHeight, imageWidth, labelColor, labelFont, leftAreaMargin, leftMargin, referenceLineColor, rightAreaMargin, rightMargin, self, topAreaMargin, topMargin, xAxisRange, xLabelMargin, xValueScale, yAxisRange, yLabelMargin, yValueScalepublic IntensityGraph2DRendererUpdate drawLegend(boolean drawLegend)
drawLegend - boolean that will tell IntensityGraph2DRenderer whether or not it should draw a legendpublic IntensityGraph2DRendererUpdate colorMap(NumberColorMap colorMap)
colorMap - supported schemes: any ColorScheme supported by the NumberColorMapspublic IntensityGraph2DRendererUpdate zLabelMargin(int margin)
margin - integer distance(pixels) from the beginning of the z labels to the legend.public IntensityGraph2DRendererUpdate legendWidth(int width)
width - corresponds to the x-axispublic IntensityGraph2DRendererUpdate graphAreaToLegendMargin(int margin)
margin - distance(pixels) from the end of the legend(including labels and other margins) to the end of the graphics component.public Boolean getDrawLegend()
public NumberColorMap getColorMap()
public Integer getZLabelMargin()
public Integer getLegendWidth()
public Integer getGraphAreaToLegendMargin()
Copyright © 2012–2014 Brookhaven National Laboratory, University of Michigan. All rights reserved.