public class FeatureGroupWrapper extends Object implements FeatureGroupMember
FeatureGroupMember.| Constructor and Description |
|---|
FeatureGroupWrapper(Feature feature,
String groupId,
String groupName)
Creates a new FeatureGroupWrapper object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeSelected()
DOCUMENT ME!
|
Feature |
getFeature()
Return the actual feature belonging to the FeatureGroupMember implementation.
|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
DOCUMENT ME!
|
String |
getGroupId()
Returns the group id.
|
String |
getGroupName()
Returns the the display name of the group.
|
String |
getName()
DOCUMENT ME!
|
void |
hide(boolean hiding)
DOCUMENT ME!
|
boolean |
isEditable()
DOCUMENT ME!
|
boolean |
isHidden()
DOCUMENT ME!
|
void |
setCanBeSelected(boolean canBeSelected)
DOCUMENT ME!
|
void |
setEditable(boolean editable)
DOCUMENT ME!
|
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geom)
DOCUMENT ME!
|
public FeatureGroupWrapper(Feature feature, String groupId, String groupName)
feature - underlying feature to be wrappedgroupId - group idgroupName - group display nameNullPointerException - DOCUMENT ME!public String getGroupName()
getGroupName in interface FeatureGroupMemberpublic String getName()
FeatureNameProvidergetName in interface FeatureNameProviderpublic String getGroupId()
getGroupId in interface FeatureGroupMemberpublic com.vividsolutions.jts.geom.Geometry getGeometry()
getGeometry in interface Featurepublic void setGeometry(com.vividsolutions.jts.geom.Geometry geom)
setGeometry in interface Featuregeom - DOCUMENT ME!public boolean canBeSelected()
canBeSelected in interface Featurepublic void setCanBeSelected(boolean canBeSelected)
setCanBeSelected in interface FeaturecanBeSelected - DOCUMENT ME!public boolean isEditable()
isEditable in interface Featurepublic void setEditable(boolean editable)
setEditable in interface Featureeditable - DOCUMENT ME!public boolean isHidden()
public void hide(boolean hiding)
public Feature getFeature()
Object.hashCode() and Object.equals(java.lang.Object) (see
Lagis as example)). Therefore, only the underlying Feature is used for such purposes such as working with hash
maps (Feature as key).getFeature in interface FeatureGroupMemberCopyright © 2012–2026 cismet GmbH. All rights reserved.