public class IlvGeometryClassFilter extends Object
Constructor and Description |
---|
IlvGeometryClassFilter(Class<?> fclass,
String name)
Creates a new
IlvGeometryClassFilter . |
IlvGeometryClassFilter(Class<?> fclass,
String name,
int order)
Creates a new
IlvGeometryClassFilter . |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Class<?> geomClass)
Checks if the geometry class passed is compatible with the internal class information.
|
IlvMapStyle |
createDefaultFeatureStyle(String styleName)
Creates a default map style for the internal geometry class.
|
Class<?> |
getFeatureClass()
Returns the geometry class.
|
String |
getName()
Returns the name attached to this geometry filter.
|
int |
getOrder()
Returns the order attached to this geometry filter.
|
String |
toString()
Returns a string representation of the object.
|
public IlvGeometryClassFilter(Class<?> fclass, String name, int order)
IlvGeometryClassFilter
.fclass
- The subclass of IlvMapGeometry
to filter for.name
- The name of this filter (this will appear in the layer names).order
- The preferred order for this geometry. A lower number indicates that this type of geometry should be at the back.public IlvGeometryClassFilter(Class<?> fclass, String name)
IlvGeometryClassFilter
.fclass
- The subclass of IlvMapGeometry
to filter for.name
- The name of this filter (this will appear in the layer names).public boolean accept(Class<?> geomClass)
geomClass
- The geometry class to check.true
if the two classes are compatible.public IlvMapStyle createDefaultFeatureStyle(String styleName)
styleName
- The name of the style.IlvDataSourceStylingFactory.createDefaultFeatureStyle(Class, Object, boolean)
public String toString()
toString
in class Object
Object.toString()
public String getName()
public int getOrder()
public Class<?> getFeatureClass()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.