public class IlvMapFeature extends Object
IlvMapFeatureIterator
,
IlvFeatureRenderer
Constructor and Description |
---|
IlvMapFeature()
Initializes an instance of
IlvMapFeature . |
Modifier and Type | Method and Description |
---|---|
IlvAttributeInfoProperty |
getAttributeInfo()
Returns the attribute information of the map feature.
|
IlvFeatureAttributeProperty |
getAttributes()
Returns the attributes of the feature.
|
IlvCoordinateSystem |
getCoordinateSystem()
Returns the coordinate system of the geometry of the map feature.
|
IlvMapGeometry |
getGeometry()
Returns the geometry of the map feature.
|
Object |
getId()
Returns the identifier of the map feature.
|
Object |
getProperty(String key)
Returns the value of a property.
|
Enumeration<String> |
propertyKeys()
Returns an enumeration of all property keys attached to this map
feature.
|
void |
removeAllProperties()
Removes all properties attached to this geometry.
|
Object |
removeProperty(String key)
Removes the property whose key is specified.
|
void |
setAttributeInfo(IlvAttributeInfoProperty info)
Sets the attribute information of the map feature.
|
void |
setAttributes(IlvFeatureAttributeProperty attributes)
Sets the attributes of the map feature.
|
void |
setCoordinateSystem(IlvCoordinateSystem cs)
Sets the coordinate system of the geometry of the map feature.
|
void |
setGeometry(IlvMapGeometry geometry)
Sets the geometry of the map feature.
|
void |
setId(Object id)
Sets the identifier of the map feature.
|
Object |
setProperty(String key,
Object value)
Adds a property to this object.
|
public final void setGeometry(IlvMapGeometry geometry)
public final IlvMapGeometry getGeometry()
public final void setAttributeInfo(IlvAttributeInfoProperty info)
info
- The attribute information.public final IlvAttributeInfoProperty getAttributeInfo()
null
if the map feature has no attribute.public final void setAttributes(IlvFeatureAttributeProperty attributes)
attributes
- The attributes.public final IlvFeatureAttributeProperty getAttributes()
public final void setCoordinateSystem(IlvCoordinateSystem cs)
cs
- The coordinate system.public final IlvCoordinateSystem getCoordinateSystem()
getProjection
returns a non-null value and a
coordinate system has not been set using setCoordinateSystem
,
then this returns an IlvProjectedCoordinateSystem
based
on the projection that has been set, if any.public final void setId(Object id)
public final Object getId()
null
if the
identifier is not defined.public final Enumeration<String> propertyKeys()
public final Object setProperty(String key, Object value)
key
- The key string for this property.value
- The value of this property.
The key null
is not allowed.null
if the key did not have a previous value.public final Object removeProperty(String key)
key
- The property to be removed.
The key null
is not allowed.null
if the key did not have a previous value.public final Object getProperty(String key)
key
- The key of the property.null
if the property does not exist.public final void removeAllProperties()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.