public abstract class AbstractPlacementConstraints
extends java.lang.Object
implements java.lang.Cloneable, org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
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 |
|---|
AbstractPlacementConstraints() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
getDuplicateLabelsMode() |
boolean |
isAboveTheLine() |
boolean |
isAroundThePoint() |
boolean |
isAtBestOfLine() |
boolean |
isAtTheBeginingOfLine() |
boolean |
isAtTheEndOfLine() |
boolean |
isBelowTheLine() |
boolean |
isFitInsidePolygon() |
boolean |
isFollowingLine() |
boolean |
isHorizontal() |
boolean |
isInTheMiddleOfLine() |
boolean |
isOnTheLine() |
boolean |
isOnTopOfThePoint()
Tells if the place mode selected is to put the label over the POINT
|
boolean |
isPageOriented() |
boolean |
isParallel() |
boolean |
isPerpendicular() |
void |
loadFromState(org.gvsig.tools.persistence.PersistentState state) |
static void |
registerPersistent() |
void |
saveToState(org.gvsig.tools.persistence.PersistentState state) |
void |
setAboveTheLine(boolean b) |
void |
setBelowTheLine(boolean b) |
void |
setDuplicateLabelsMode(int mode) |
void |
setFitInsidePolygon(boolean b) |
void |
setLocationAlongTheLine(int location) |
void |
setOnTheLine(boolean b) |
void |
setPageOriented(boolean b) |
void |
setPlacementMode(int mode) |
public static final java.lang.String PLACEMENT_CONSTRAINTS_PERSISTENCE_NAME
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int getDuplicateLabelsMode()
getDuplicateLabelsMode in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isAboveTheLine()
isAboveTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isAroundThePoint()
isAroundThePoint in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isAtBestOfLine()
isAtBestOfLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isAtTheBeginingOfLine()
isAtTheBeginingOfLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isAtTheEndOfLine()
isAtTheEndOfLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isBelowTheLine()
isBelowTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isFitInsidePolygon()
isFitInsidePolygon in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isFollowingLine()
isFollowingLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isHorizontal()
isHorizontal in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isInTheMiddleOfLine()
isInTheMiddleOfLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isOnTheLine()
isOnTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isOnTopOfThePoint()
isOnTopOfThePoint in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isPageOriented()
isPageOriented in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isParallel()
isParallel in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic boolean isPerpendicular()
isPerpendicular in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void loadFromState(org.gvsig.tools.persistence.PersistentState state)
throws org.gvsig.tools.persistence.exception.PersistenceException
loadFromState in interface org.gvsig.tools.persistence.Persistentorg.gvsig.tools.persistence.exception.PersistenceExceptionpublic static void registerPersistent()
public void saveToState(org.gvsig.tools.persistence.PersistentState state)
throws org.gvsig.tools.persistence.exception.PersistenceException
saveToState in interface org.gvsig.tools.persistence.Persistentorg.gvsig.tools.persistence.exception.PersistenceExceptionpublic void setAboveTheLine(boolean b)
setAboveTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setBelowTheLine(boolean b)
setBelowTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setDuplicateLabelsMode(int mode)
setDuplicateLabelsMode in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setFitInsidePolygon(boolean b)
setFitInsidePolygon in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setLocationAlongTheLine(int location)
setLocationAlongTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setOnTheLine(boolean b)
setOnTheLine in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setPageOriented(boolean b)
setPageOriented in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintspublic void setPlacementMode(int mode)
setPlacementMode in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraintsCopyright © 2026 gvSIG Association. All rights reserved.