public abstract class ProxyFeature extends ProxyProperty
Modifier and Type | Class and Description |
---|---|
static class |
ProxyFeature.ColorByLocation
An enumeration for allowed values for the "location" of the visualization
data for this feature.
|
static class |
ProxyFeature.ColorByMode
An enumeration for allowed values for the mode to use when coloring the
visualization with a feature.
|
ProxyProperty.PropertyType
index, name
Constructor and Description |
---|
ProxyFeature(java.lang.String name,
int index)
The default constructor.
|
ProxyFeature(java.lang.String name,
int index,
ProxyFeature.ColorByMode mode,
ProxyFeature.ColorByLocation location)
The most commonly-used constructor.
|
ProxyFeature(java.lang.String name,
int index,
ProxyProperty.PropertyType type,
ProxyFeature.ColorByMode mode,
ProxyFeature.ColorByLocation location)
The full constructor.
|
getAllowedValues, getValue, getValues, setConnection, setValue, setValues, valueAllowed
public ProxyFeature(java.lang.String name, int index)
name
- The name of the feature. This corresponds to the "name" value
in the corresponding array element in the "ui" array.index
- The index of the feature in its parent proxy's "ui" and
"properties" JsonArrays.public ProxyFeature(java.lang.String name, int index, ProxyFeature.ColorByMode mode, ProxyFeature.ColorByLocation location)
null
, the feature cannot be visualized with colors.name
- The name of the feature. This corresponds to the "name" value
in the corresponding array element in the "ui" array.index
- The index of the feature in its parent proxy's "ui" and
"properties" JsonArrays.mode
- The mode to use when coloring the visualization with this
feature.location
- The "location" of the visualization data for this feature.public ProxyFeature(java.lang.String name, int index, ProxyProperty.PropertyType type, ProxyFeature.ColorByMode mode, ProxyFeature.ColorByLocation location)
null
, the feature cannot be visualized with colors.name
- The name of the feature. This corresponds to the "name" value
in the corresponding array element in the "ui" array.index
- The index of the feature in its parent proxy's "ui" and
"properties" JsonArrays.type
- The type of property. This dictates the format of the "values"
and "value" JsonElements in its "ui" and "properties" entries,
respectively.mode
- The mode to use when coloring the visualization with this
feature.location
- The "location" of the visualization data for this feature.