public class LabelingFactory extends Object
Constructor and Description |
---|
LabelingFactory() |
Modifier and Type | Method and Description |
---|---|
static ILabelingStrategy |
createDefaultStrategy(FLayer layer)
Creates a default labeling strategy from an XMLEntity.
|
static ILabelingStrategy |
createStrategy(FLayer layer,
ILabelingMethod method,
IPlacementConstraints placement,
IZoomConstraints zoom)
Given a layer, a labeling method, a label placements constraints, and a label
zoom constraints it will figure out the best ILabelingStrategy that meets all
the needs.
|
static void |
setDefaultLabelingStrategy(Class defaultLabelingStrategy) |
public static ILabelingStrategy createStrategy(FLayer layer, ILabelingMethod method, IPlacementConstraints placement, IZoomConstraints zoom)
layer,
- the target layermethod,
- the desired methodsplacement,
- the desired placement constraintszoom,
- the desired zoom constraintspublic static ILabelingStrategy createDefaultStrategy(FLayer layer)
layer
- public static void setDefaultLabelingStrategy(Class defaultLabelingStrategy)