public class SensorPalette extends nl.cloudfarming.client.geoviewer.Palette<Number> implements nl.cloudfarming.client.geoviewer.ValueRange<Double>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static SensorPalette |
PALLET00_10 |
static SensorPalette |
PALLET01_04 |
static SensorPalette |
PALLET01_06 |
static SensorPalette |
PALLET01_08 |
static SensorPalette |
PALLET02_04 |
static SensorPalette |
PALLET02_06 |
static SensorPalette |
PALLET02_08 |
static int |
SENSOR_DATA_MULTIPLIER |
| Constructor and Description |
|---|
SensorPalette() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColorForState(org.netbeans.api.visual.model.ObjectState state) |
Color |
getColorForValue(Number value) |
List<nl.cloudfarming.client.geoviewer.Palette<Number>> |
getInterchangeablePalettes() |
Double |
getMaxValue() |
Double |
getMinValue() |
double |
getRangeFrom() |
double |
getRangeTo() |
int |
getSteps() |
boolean |
isInterchangeable() |
boolean |
supports(Class clazz) |
String |
toString() |
public static final int SENSOR_DATA_MULTIPLIER
public static final SensorPalette PALLET01_04
public static final SensorPalette PALLET01_06
public static final SensorPalette PALLET01_08
public static final SensorPalette PALLET02_04
public static final SensorPalette PALLET02_06
public static final SensorPalette PALLET02_08
public static final SensorPalette PALLET00_10
public double getRangeFrom()
public double getRangeTo()
public Double getMinValue()
getMinValue in interface nl.cloudfarming.client.geoviewer.ValueRange<Double>public Double getMaxValue()
getMaxValue in interface nl.cloudfarming.client.geoviewer.ValueRange<Double>public int getSteps()
getSteps in interface nl.cloudfarming.client.geoviewer.ValueRange<Double>public boolean supports(Class clazz)
supports in class nl.cloudfarming.client.geoviewer.Palette<Number>public Color getColorForValue(Number value)
getColorForValue in class nl.cloudfarming.client.geoviewer.Palette<Number>public Color getColorForState(org.netbeans.api.visual.model.ObjectState state)
getColorForState in class nl.cloudfarming.client.geoviewer.Palette<Number>public boolean isInterchangeable()
isInterchangeable in class nl.cloudfarming.client.geoviewer.Palette<Number>Copyright © 2012. All Rights Reserved.