public final class TLcdWMSDimensionExtent extends Object
Constructor and Description |
---|
TLcdWMSDimensionExtent() |
Modifier and Type | Method and Description |
---|---|
void |
addInterval(String[] aInterval)
Adds the specified interval to this dimensional parameter.
|
void |
addValue(String aValue)
Adds the specified value to this dimensional parameter.
|
boolean |
canAddInterval(String[] aInterval)
Returns whether the specified interval can be added to this dimension parameter.
|
boolean |
canAddValue(String aValue)
Returns whether the specified value can be added to this dimensional parameter.
|
String[] |
getInterval(int aIndex)
Returns the interval at the specified index.
|
int |
getIntervalCount()
Returns the number of available intervals for the dimensional parameter.
|
String |
getValue(int aIndex)
Returns the value at the specified index.
|
int |
getValueCount()
Returns the number of available values for the dimensional parameter.
|
void |
removeInterval(int aIndex)
Removes the interval at the specified index.
|
void |
removeValue(int aIndex)
Removes the value at the specified index.
|
public String getValue(int aIndex)
aIndex
- The index of the value to be retrieved.public int getValueCount()
public boolean canAddValue(String aValue)
null
,
true
is returned. In all other cases, false
is returned.aValue
- A value.true
if no intervals have been added yet, false
otherwise.public void addValue(String aValue)
aValue
- the value to be added.IllegalStateException
- if canAddValue(String)
returns false
.public void removeValue(int aIndex)
aIndex
- The index of the value to be removed.public String[] getInterval(int aIndex)
aIndex
- The index of the interval to be retrieved.public int getIntervalCount()
public boolean canAddInterval(String[] aInterval)
true
is returned.
An interval is considered valid when it has length 3 and does not contain any null
values. In all other cases, false
is returned.aInterval
- An interval.true
if no values have been added yet and if the interval is valid,
false
otherwise.public void addInterval(String[] aInterval)
aInterval
- the interval to be added.IllegalStateException
- if canAddInterval(String[])
returns false
.public void removeInterval(int aIndex)
aIndex
- The index of the interval to be removed.