public class ZoneSpec
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ZoneSpec.LegendSpec
Specification for legend display options.
|
static class |
ZoneSpec.RampSpec
Specification for colour ramp display options.
|
Constructor and Description |
---|
ZoneSpec(ConfigMap config,
boolean hasAux,
java.lang.String title,
ZoneSpec.LegendSpec legSpec,
ZoneSpec.RampSpec auxSpec)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ZoneSpec.RampSpec |
getAuxSpec()
Returns an object characterising the aux axis colour ramp display
options for this zone.
|
ConfigMap |
getConfig()
Returns per-zone configuration options for this zone.
|
boolean |
getHasAux()
Indicates whether this zone (any of the layers in it) is going to
use a global colour ramp.
|
ZoneSpec.LegendSpec |
getLegendSpec()
Returns an object characterising the legend display options
for this zone.
|
java.lang.String |
getTitle()
Returns a title for this zone.
|
public ZoneSpec(ConfigMap config, boolean hasAux, java.lang.String title, ZoneSpec.LegendSpec legSpec, ZoneSpec.RampSpec auxSpec)
config
- per-zone configuration optionshasAux
- true iff this zone is going to use a global
colour ramptitle
- per-zone plot title string, may be nulllegSpec
- legend specification, or null for no legendauxSpec
- aux axis colour ramp specification, or null for no ramppublic ConfigMap getConfig()
public boolean getHasAux()
public java.lang.String getTitle()
public ZoneSpec.LegendSpec getLegendSpec()
public ZoneSpec.RampSpec getAuxSpec()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.