public class LabelingFactory
extends java.lang.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 DynamicLabelingStrategy |
createDynamicLabelingStrategy() |
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(java.lang.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 DynamicLabelingStrategy createDynamicLabelingStrategy()
public static ILabelingStrategy createDefaultStrategy(FLayer layer)
layer - public static void setDefaultLabelingStrategy(java.lang.Class defaultLabelingStrategy)