Package org.gvsig.labeling.placements
Class PlacementManager
java.lang.Object
org.gvsig.labeling.placements.PlacementManager
PlacementManager.java
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es Jan 3, 2008
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddLabelPlacement(Class<?> labelPlacementClass) static org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintscreatePlacementConstraints(int geotype) Creates a new instance of placement constraints from a vector layer.static ILabelPlacementgetPlacement(org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placementConstraints, int shapeType)
-
Method Details
-
getPlacement
public static ILabelPlacement getPlacement(org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placementConstraints, int shapeType) -
addLabelPlacement
-
createPlacementConstraints
public static org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints createPlacementConstraints(int geotype) throws Exception Creates a new instance of placement constraints from a vector layer. The placement constraints are created according the layer shape type.- Parameters:
layerDest-- Returns:
- Throws:
org.gvsig.tools.locator.LocatorExceptionorg.gvsig.fmap.geom.type.GeometryTypeNotValidExceptionorg.gvsig.fmap.geom.type.GeometryTypeNotSupportedExceptionException
-