org.geotools.styling
Class PointPlacementImpl

Object
  extended by PointPlacementImpl
All Implemented Interfaces:
Cloneable, LabelPlacement, PointPlacement

public class PointPlacementImpl
extends Object
implements PointPlacement, Cloneable

DOCUMENT ME!

Author:
Ian Turton, CCG
Module:
modules/library/main (gt-main.jar)

Constructor Summary
PointPlacementImpl()
           
PointPlacementImpl(FilterFactory factory)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
           
 Object clone()
           
 boolean equals(Object obj)
           
 AnchorPointImpl getAnchorPoint()
          Returns the AnchorPoint which identifies the location inside a text label to use as an "anchor" for positioning it relative to a point geometry.
 Displacement getDisplacement()
          Returns the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.
 Expression getRotation()
          Returns the rotation of the label.
 int hashCode()
           
 void setAnchorPoint(AnchorPoint anchorPoint)
          Setter for property anchorPoint.
 void setDisplacement(Displacement displacement)
          Setter for property displacement.
 void setRotation(Expression rotation)
          Setter for property rotation.
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointPlacementImpl

public PointPlacementImpl()

PointPlacementImpl

public PointPlacementImpl(FilterFactory factory)
Method Detail

getAnchorPoint

public AnchorPointImpl getAnchorPoint()
Returns the AnchorPoint which identifies the location inside a text label to use as an "anchor" for positioning it relative to a point geometry.

Specified by:
getAnchorPoint in interface PointPlacement
Returns:
Label's AnchorPoint.

setAnchorPoint

public void setAnchorPoint(AnchorPoint anchorPoint)
Setter for property anchorPoint.

Parameters:
anchorPoint - New value of property anchorPoint.

getDisplacement

public Displacement getDisplacement()
Returns the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.

Specified by:
getDisplacement in interface PointPlacement
Returns:
The label displacement.

setDisplacement

public void setDisplacement(Displacement displacement)
Setter for property displacement.

Parameters:
displacement - New value of property displacement.

getRotation

public Expression getRotation()
Returns the rotation of the label.

Specified by:
getRotation in interface PointPlacement
Returns:
The rotation of the label.

setRotation

public void setRotation(Expression rotation)
Setter for property rotation.

Parameters:
rotation - New value of property rotation.

accept

public Object accept(StyleVisitor visitor,
                     Object data)
Specified by:
accept in interface LabelPlacement
Specified by:
accept in interface PointPlacement

accept

public void accept(StyleVisitor visitor)

clone

public Object clone()
Overrides:
clone in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 1996-2010 Geotools. All Rights Reserved.