Package | Description |
---|---|
com.luciad.edit.features |
Editing features.
|
com.luciad.layers.features |
Support for rendering of feature (vector) data.
|
Constructor and Description |
---|
FeatureStateEditCandidateProvider(Map map,
FeatureState featureState)
Creates a new
FeatureStateEditCandidateProvider for the given map, using the given FeatureState . |
Modifier and Type | Field and Description |
---|---|
static FeatureState |
FeatureState.Hover
A feature state representing an object that is under the cursor.
|
static FeatureState |
FeatureState.Selected
A feature state representing an object that is selected.
|
Modifier and Type | Method and Description |
---|---|
static FeatureState |
FeatureState.getValue(String name)
Returns the
FeatureState with the given name. |
static FeatureState |
FeatureState.registerValue(String name)
Registers a new
FeatureState with the given name. |
Modifier and Type | Method and Description |
---|---|
List<FeatureState> |
FeatureStateEvent.getChangedFeatureStates()
Returns the list of feature states that has been changed for at least one
Feature in this event. |
static List<FeatureState> |
FeatureState.getValues()
Lists all registered feature states, including the selection states that are available by default.
|
Modifier and Type | Method and Description |
---|---|
void |
FeatureStateManager.Change.clearState(FeatureState featureState)
Clear the given feature state.
|
boolean |
FeatureStateEvent.getChange(FeatureState featureState,
LayerFeatureId layerFeatureId)
Returns the new value of the feature state for the given feature.
|
List<LayerFeatureId> |
FeatureStateEvent.getChangedFeatures(FeatureState featureState)
Returns the list of features for which the given feature state has been changed.
|
boolean |
FeaturePainterContext.isFeatureStateEnabled(FeatureState featureState)
Returns if the given
FeatureState is enabled for the Feature that is currently being painted. |
boolean |
FeatureStateManager.isStateEnabled(LayerFeatureId layerFeatureId,
FeatureState featureState)
Checks if the given feature state is enabled for the given feature identifier.
|
void |
FeaturePainterMetadata.painterDependsOnFeatureState(FeatureState featureState,
boolean active)
Indicates that a feature's style depends on the given state.
|
void |
FeatureStateManager.Change.setState(LayerFeatureId layerFeatureId,
FeatureState featureState,
boolean enabled)
Sets the given state for the given feature identifier.
|