public class MultiShapePlacementConstraints extends AbstractPlacementConstraints
| Modifier and Type | Field and Description |
|---|---|
static String |
MULTI_SHAPE_PLACEMENT_CONSTRAINTS_PERSISTENCE_NAME |
PLACEMENT_CONSTRAINTS_PERSISTENCE_NAMEAT_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 and Description |
|---|
MultiShapePlacementConstraints() |
MultiShapePlacementConstraints(PointPlacementConstraints pointConstraints,
LinePlacementConstraints lineConstraints,
PolygonPlacementConstraints polygonConstraints) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
LinePlacementConstraints |
getLineConstraints() |
PointPlacementConstraints |
getPointConstraints() |
PolygonPlacementConstraints |
getPolygonConstraints() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setLineConstraints(LinePlacementConstraints l) |
void |
setPointConstraints(PointPlacementConstraints p) |
void |
setPolygonConstraints(PolygonPlacementConstraints p) |
getDuplicateLabelsMode, isAboveTheLine, isAroundThePoint, isAtBestOfLine, isAtTheBeginingOfLine, isAtTheEndOfLine, isBelowTheLine, isFitInsidePolygon, isFollowingLine, isHorizontal, isInTheMiddleOfLine, isOnTheLine, isOnTopOfThePoint, isPageOriented, isParallel, isPerpendicular, setAboveTheLine, setBelowTheLine, setDuplicateLabelsMode, setFitInsidePolygon, setLocationAlongTheLine, setOnTheLine, setPageOriented, setPlacementModepublic static final String MULTI_SHAPE_PLACEMENT_CONSTRAINTS_PERSISTENCE_NAME
public MultiShapePlacementConstraints()
public MultiShapePlacementConstraints(PointPlacementConstraints pointConstraints, LinePlacementConstraints lineConstraints, PolygonPlacementConstraints polygonConstraints)
public void setPolygonConstraints(PolygonPlacementConstraints p)
public void setLineConstraints(LinePlacementConstraints l)
public void setPointConstraints(PointPlacementConstraints p)
public PolygonPlacementConstraints getPolygonConstraints()
public LinePlacementConstraints getLineConstraints()
public PointPlacementConstraints getPointConstraints()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractPlacementConstraintsPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractPlacementConstraintsPersistenceExceptionpublic static void registerPersistent()
public Object clone() throws CloneNotSupportedException
clone in class AbstractPlacementConstraintsCloneNotSupportedException