KeySet<RampKeySet.Ramp>public class RampKeySet extends java.lang.Object implements KeySet<RampKeySet.Ramp>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
RampKeySet.Ramp |
Defines ramp characteristics by aggregating a Shader and a Scaling.
|
| Constructor | Description |
|---|---|
RampKeySet(java.lang.String axname,
java.lang.String axName,
ClippedShader[] shaders,
Scaling dfltScaling,
boolean hasDataclip) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ShadeAxisFactory |
createShadeAxisFactory(RampKeySet.Ramp ramp,
Captioner captioner,
java.lang.String label,
double crowding,
int rampWidth) |
Creates a ShadeAxisFactory for a given ramp.
|
RampKeySet.Ramp |
createValue(ConfigMap config) |
Creates a typed value based on the values in a map corresponding
to this object's keys.
|
ConfigKey[] |
getKeys() |
The config keys used to specify an object.
|
public RampKeySet(java.lang.String axname,
java.lang.String axName,
ClippedShader[] shaders,
Scaling dfltScaling,
boolean hasDataclip)
axname - short form of axis name, used in text parameter namesaxName - long form of axis name, used in descriptionsshaders - array of preset shader optionsdfltScaling - default scaling functionhasDataclip - true iff a data subrange key is to be includedpublic ConfigKey[] getKeys()
KeySetgetKeys in interface KeySet<RampKeySet.Ramp>public RampKeySet.Ramp createValue(ConfigMap config)
KeySetcreateValue in interface KeySet<RampKeySet.Ramp>config - map for which the values corresponding to
getKeys will be examinedpublic static ShadeAxisFactory createShadeAxisFactory(RampKeySet.Ramp ramp, Captioner captioner, java.lang.String label, double crowding, int rampWidth)
ramp - rampcaptioner - shader ramp captionerlabel - shader ramp labelcrowding - tick crowding factor (1 is normal)rampWidth - width of colour map ramp in pixelsCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.