|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.sld.LabelPlacement_Impl
Used to position a label relative to a point or a line string. For a point, you can specify the anchor point of the label and a linear displacement from the point (so that you can also plot a graphic symbol at the point). For a line-string placement, you can specify a perpendicular offset (so you can draw a stroke on the line). MORE PARAMETERS ARE PROBABLY NEEDED HERE.
Field Summary | |
private LinePlacement |
linePlacement
|
private PointPlacement |
pointPlacement
|
Constructor Summary | |
LabelPlacement_Impl(LinePlacement linePlacement)
constructor initializing the class with the |
|
LabelPlacement_Impl(PointPlacement pointPlacement)
constructor initializing the class with the |
Method Summary | |
java.lang.String |
exportAsXML()
exports the content of the Font as XML formated String |
LinePlacement |
getLinePlacement()
For a LinePlacement, a perpendicular offset can be specified, to allow the line itself to be plotted also. |
PointPlacement |
getPointPlacement()
For a PointPlacement, the anchor point of the label and a linear displacement from the point can be specified, to allow a graphic symbol to be plotted directly at the point. |
void |
setLinePlacement(LinePlacement linePlacement)
sets |
void |
setPointPlacement(PointPlacement pointPlacement)
sets |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private LinePlacement linePlacement
private PointPlacement pointPlacement
Constructor Detail |
public LabelPlacement_Impl(PointPlacement pointPlacement)
public LabelPlacement_Impl(LinePlacement linePlacement)
Method Detail |
public PointPlacement getPointPlacement()
getPointPlacement
in interface LabelPlacement
public void setPointPlacement(PointPlacement pointPlacement)
setPointPlacement
in interface LabelPlacement
pointPlacement
- the pointplacement for the labelpublic LinePlacement getLinePlacement()
getLinePlacement
in interface LabelPlacement
public void setLinePlacement(LinePlacement linePlacement)
setLinePlacement
in interface LabelPlacement
linePlacement
- the lineplacement for the labelpublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |