public class SelectFromRange extends Selector
| Modifier and Type | Field and Description |
|---|---|
protected double |
allowedRangeMax |
protected double |
allowedRangeMin |
protected boolean |
modulo |
protected double |
moduloValue |
protected String |
template |
protected String |
units |
| Constructor and Description |
|---|
SelectFromRange()
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAllowedRangeMax() |
double |
getAllowedRangeMin() |
String |
getTemplate()
Get the template of this selector.
|
String |
getUnits() |
boolean |
isModulo() |
void |
setAllowedRange(double min,
double max)
Set the allowed range.
|
void |
setModulo(boolean modulo) |
void |
setTemplate(String template)
Set the template of this selector.
|
void |
setUnits(String units) |
Selection |
validateSelection(Selection selection) |
getDescription, getId, getTitle, isMultiple, isRequired, setDescription, setId, setMultiple, setRequired, setTitleprotected double allowedRangeMin
protected double allowedRangeMax
protected String units
protected String template
protected boolean modulo
protected double moduloValue
public double getAllowedRangeMin()
public double getAllowedRangeMax()
public void setAllowedRange(double min,
double max)
min - - minimum point in the allowed range.max - - maximum point in the allowed range.IllegalArgumentException - if min is greater than max.public String getUnits()
public void setUnits(String units)
public String getTemplate()
SelectorgetTemplate in class Selectorpublic void setTemplate(String template)
SelectorsetTemplate in class Selectorpublic boolean isModulo()
public void setModulo(boolean modulo)
public Selection validateSelection(Selection selection)
validateSelection in class SelectorCopyright © 1999–2013 UCAR/Unidata. All rights reserved.