public class PointPlacementConstraints extends AbstractPlacementConstraints
| Modifier and Type | Field and Description |
|---|---|
static String |
POINT_PLACEM_CONSTRAINTS_PERSIST_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 |
|---|
PointPlacementConstraints() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
PointLabelPositioner |
getPositioner() |
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 |
setPositioner(PointLabelPositioner pos) |
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 POINT_PLACEM_CONSTRAINTS_PERSIST_NAME
public PointLabelPositioner getPositioner()
public void setPositioner(PointLabelPositioner pos)
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