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() |
Range |
getXPixelSelectionRange()
The new selection range on the x axis.
|
Range |
getYPixelSelectionRange()
The new selection range on the y axis.
|
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 |
pixelSelectionRange(int x1,
int x2,
int y1,
int y2)
Changes the current region of interest.
|
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, yValueScale
public 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 NumberColorMaps
public 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 IntensityGraph2DRendererUpdate pixelSelectionRange(int x1, int x2, int y1, int y2)
x1
- one of the horizontal boundariesx2
- the other horizontal boundaryy1
- one of the vertical boundariesy2
- the other vertical boundarypublic Boolean getDrawLegend()
public NumberColorMap getColorMap()
public Integer getZLabelMargin()
public Integer getLegendWidth()
public Integer getGraphAreaToLegendMargin()
public Range getXPixelSelectionRange()
public Range getYPixelSelectionRange()
Copyright © 2015. All rights reserved.