java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelingFactory

public class LabelingFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy
    createDefaultStrategy(org.gvsig.fmap.mapcontext.layers.FLayer layer)
    Creates a default labeling strategy from an XMLEntity.
    static org.gvsig.symbology.fmap.mapcontext.rendering.dynamiclegend.DynamicLabelingStrategy
     
    static org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy
    createStrategy(org.gvsig.fmap.mapcontext.layers.FLayer layer, org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod method, org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placement, org.gvsig.fmap.mapcontext.rendering.legend.styling.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LabelingFactory

      public LabelingFactory()
  • Method Details

    • createStrategy

      public static org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy createStrategy(org.gvsig.fmap.mapcontext.layers.FLayer layer, org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod method, org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placement, org.gvsig.fmap.mapcontext.rendering.legend.styling.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.
      Parameters:
      layer - , the target layer
      method - , the desired methods
      placement - , the desired placement constraints
      zoom - , the desired zoom constraints
      Returns:
      ILabelingStrategy
    • createDynamicLabelingStrategy

      public static org.gvsig.symbology.fmap.mapcontext.rendering.dynamiclegend.DynamicLabelingStrategy createDynamicLabelingStrategy()
    • createDefaultStrategy

      public static org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy createDefaultStrategy(org.gvsig.fmap.mapcontext.layers.FLayer layer)
      Creates a default labeling strategy from an XMLEntity.
      Parameters:
      layer -
      Returns:
      an instance of DefaultStrategy
    • setDefaultLabelingStrategy

      public static void setDefaultLabelingStrategy(Class defaultLabelingStrategy)