org.geotools.styling
Class PointPlacementImpl

java.lang.Object
  extended by org.geotools.styling.PointPlacementImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.style.LabelPlacement, org.opengis.style.PointPlacement

public class PointPlacementImpl
extends java.lang.Object
implements PointPlacement, org.opengis.util.Cloneable

DOCUMENT ME!

Version:
$Id: PointPlacementImpl.java 33833 2009-09-04 12:26:28Z jive $
Author:
Ian Turton, CCG

Constructor Summary
PointPlacementImpl()
           
PointPlacementImpl(org.opengis.filter.FilterFactory factory)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
           
 java.lang.Object clone()
           
 boolean equals(java.lang.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.
 org.opengis.filter.expression.Expression getRotation()
          Returns the rotation of the label.
 int hashCode()
           
 void setAnchorPoint(org.opengis.style.AnchorPoint anchorPoint)
          Setter for property anchorPoint.
 void setDisplacement(org.opengis.style.Displacement displacement)
          Setter for property displacement.
 void setRotation(org.opengis.filter.expression.Expression rotation)
          Setter for property rotation.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointPlacementImpl

public PointPlacementImpl()

PointPlacementImpl

public PointPlacementImpl(org.opengis.filter.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 org.opengis.style.PointPlacement
Returns:
Label's AnchorPoint.

setAnchorPoint

public void setAnchorPoint(org.opengis.style.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 org.opengis.style.PointPlacement
Returns:
The label displacement.

setDisplacement

public void setDisplacement(org.opengis.style.Displacement displacement)
Setter for property displacement.

Parameters:
displacement - New value of property displacement.

getRotation

public org.opengis.filter.expression.Expression getRotation()
Returns the rotation of the label.

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

setRotation

public void setRotation(org.opengis.filter.expression.Expression rotation)
Setter for property rotation.

Parameters:
rotation - New value of property rotation.

accept

public java.lang.Object accept(org.opengis.style.StyleVisitor visitor,
                               java.lang.Object data)
Specified by:
accept in interface org.opengis.style.LabelPlacement
Specified by:
accept in interface org.opengis.style.PointPlacement

accept

public void accept(StyleVisitor visitor)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.