public class PointPlacementConstraints extends AbstractPlacementConstraints
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
POINT_PLACEM_CONSTRAINTS_PERSIST_NAME |
PLACEMENT_CONSTRAINTS_PERSISTENCE_NAME
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 and Description |
---|
PointPlacementConstraints() |
Modifier and Type | Method and Description |
---|---|
java.lang.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, setPlacementMode
public static final java.lang.String POINT_PLACEM_CONSTRAINTS_PERSIST_NAME
public PointLabelPositioner getPositioner()
public void setPositioner(PointLabelPositioner pos)
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractPlacementConstraints
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractPlacementConstraints
PersistenceException
public static void registerPersistent()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractPlacementConstraints
java.lang.CloneNotSupportedException