Package org.gvsig.labeling.placements
Class MultiShapePlacementConstraints
java.lang.Object
org.gvsig.labeling.placements.AbstractPlacementConstraints
org.gvsig.labeling.placements.MultiShapePlacementConstraints
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints,org.gvsig.tools.persistence.Persistent
MultiShapePlacementConstraints.java
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es Apr 1, 2008
-
Field Summary
FieldsFields inherited from class org.gvsig.labeling.placements.AbstractPlacementConstraints
PLACEMENT_CONSTRAINTS_PERSISTENCE_NAMEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints
AT_ANGLE_SPECIFIED_BY_A_FIELD, AT_BEST_OF_LINE, AT_SPECIFIED_ANGLE, AT_THE_BEGINING_OF_THE_LINE, AT_THE_END_OF_THE_LINE, AT_THE_MIDDLE_OF_THE_LINE, DefaultDuplicateLabelsMode, FOLLOWING_LINE, HORIZONTAL, OFFSET_HORIZONTALY_AROUND_THE_POINT, ON_TOP_OF_THE_POINT, ONE_LABEL_PER_FEATURE, ONE_LABEL_PER_FEATURE_PART, PARALLEL, PERPENDICULAR, REMOVE_DUPLICATE_LABELS -
Constructor Summary
ConstructorsConstructorDescriptionMultiShapePlacementConstraints(PointPlacementConstraints pointConstraints, LinePlacementConstraints lineConstraints, PolygonPlacementConstraints polygonConstraints) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidloadFromState(org.gvsig.tools.persistence.PersistentState state) static voidvoidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidvoidvoidMethods inherited from class org.gvsig.labeling.placements.AbstractPlacementConstraints
getDuplicateLabelsMode, isAboveTheLine, isAroundThePoint, isAtBestOfLine, isAtTheBeginingOfLine, isAtTheEndOfLine, isBelowTheLine, isFitInsidePolygon, isFollowingLine, isHorizontal, isInTheMiddleOfLine, isOnTheLine, isOnTopOfThePoint, isPageOriented, isParallel, isPerpendicular, setAboveTheLine, setBelowTheLine, setDuplicateLabelsMode, setFitInsidePolygon, setLocationAlongTheLine, setOnTheLine, setPageOriented, setPlacementMode
-
Field Details
-
MULTI_SHAPE_PLACEMENT_CONSTRAINTS_PERSISTENCE_NAME
- See Also:
-
-
Constructor Details
-
MultiShapePlacementConstraints
public MultiShapePlacementConstraints() -
MultiShapePlacementConstraints
public MultiShapePlacementConstraints(PointPlacementConstraints pointConstraints, LinePlacementConstraints lineConstraints, PolygonPlacementConstraints polygonConstraints)
-
-
Method Details
-
setPolygonConstraints
-
setLineConstraints
-
setPointConstraints
-
getPolygonConstraints
-
getLineConstraints
-
getPointConstraints
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
saveToStatein classAbstractPlacementConstraints- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
loadFromStatein classAbstractPlacementConstraints- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
registerPersistent
public static void registerPersistent() -
clone
- Overrides:
clonein classAbstractPlacementConstraints- Throws:
CloneNotSupportedException
-