public class ZoneContent
extends java.lang.Object
Constructor | Description |
---|---|
ZoneContent(PlotLayer[] layers,
javax.swing.Icon legend,
float[] legPos,
java.lang.String title) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
PlotLayer[] |
getLayers() |
Returns plot layers.
|
javax.swing.Icon |
getLegend() |
Returns legend icon.
|
float[] |
getLegendPosition() |
Returns legend position if internal legend is required.
|
java.lang.String |
getTitle() |
Returns plot title if required.
|
public ZoneContent(PlotLayer[] layers, javax.swing.Icon legend, float[] legPos, java.lang.String title)
layers
- plot layers to be paintedlegend
- legend icon if required, or nulllegPos
- legend position if intenal legend is required;
2-element (x,y) array, each element in range 0-1title
- title text, or nullpublic PlotLayer[] getLayers()
public javax.swing.Icon getLegend()
public float[] getLegendPosition()
public java.lang.String getTitle()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.