|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectLinePlacementImpl
public class LinePlacementImpl
Default implementation of LinePlacement.
| Constructor Summary | |
|---|---|
LinePlacementImpl()
|
|
LinePlacementImpl(FilterFactory factory)
|
|
LinePlacementImpl(FilterFactory factory,
boolean aligned,
boolean repeated,
boolean generalized,
Expression gap,
Expression initialGap)
|
|
LinePlacementImpl(LinePlacement placement)
|
|
| Method Summary | |
|---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor |
Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(Object obj)
|
Expression |
getGap()
Gap gives the distance between two graphics. |
Expression |
getInitialGap()
InitialGap specifies how far away the first graphic will be drawn relative to the start of the rendering line |
Expression |
getPerpendicularOffset()
Getter for property perpendicularOffset. |
int |
hashCode()
|
boolean |
isAligned()
Correct method name violation from GeoAPI. |
boolean |
IsAligned()
Labels can either be aligned to the line geometry if IsAligned is "true" (the default) or are drawn horizontally. |
boolean |
isGeneralizeLine()
GeneralizeLine allows the actual geometry, be it a linestring or polygon to be generalized for label placement. |
boolean |
isRepeated()
If IsRepeated is "true", the label will be repeatedly drawn along the line with InitialGap and Gap defining the spaces at the beginning and between labels. |
void |
setAligned(boolean aligned)
|
void |
setFilterFactory(FilterFactory factory)
Deprecated. |
void |
setGap(Expression gap)
|
void |
setGeneralized(boolean generalized)
|
void |
setInitialGap(Expression initialGap)
|
void |
setPerpendicularOffset(Expression perpendicularOffset)
Setter for property perpendicularOffset. |
void |
setRepeated(boolean repeated)
|
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinePlacementImpl()
public LinePlacementImpl(LinePlacement placement)
public LinePlacementImpl(FilterFactory factory)
public LinePlacementImpl(FilterFactory factory,
boolean aligned,
boolean repeated,
boolean generalized,
Expression gap,
Expression initialGap)
| Method Detail |
|---|
@Deprecated public void setFilterFactory(FilterFactory factory)
public Expression getPerpendicularOffset()
getPerpendicularOffset in interface LinePlacementpublic void setPerpendicularOffset(Expression perpendicularOffset)
perpendicularOffset - New value of property perpendicularOffset.public Expression getInitialGap()
LinePlacement
getInitialGap in interface LinePlacementpublic Expression getGap()
LinePlacement
getGap in interface LinePlacementpublic boolean isRepeated()
LinePlacement
isRepeated in interface LinePlacementpublic boolean IsAligned()
LinePlacement
IsAligned in interface LinePlacementpublic boolean isAligned()
LinePlacement
public boolean isGeneralizeLine()
LinePlacement
isGeneralizeLine in interface LinePlacement
public Object accept(StyleVisitor visitor,
Object data)
LinePlacement
accept in interface LabelPlacementaccept in interface LinePlacementvisitor - the style visitorpublic void accept(StyleVisitor visitor)
public Object clone()
Cloneable
clone in class ObjectObject.clone()public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void setRepeated(boolean repeated)
public void setGeneralized(boolean generalized)
public void setAligned(boolean aligned)
public void setGap(Expression gap)
public void setInitialGap(Expression initialGap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||