org.geotools.styling
Class AnchorPointImpl

Object
  extended by AnchorPointImpl
All Implemented Interfaces:
Cloneable, AnchorPoint

public class AnchorPointImpl
extends Object
implements AnchorPoint, Cloneable

Direct implementation of AnchorPoint.

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

Field Summary
 
Fields inherited from interface AnchorPoint
DEFAULT
 
Constructor Summary
AnchorPointImpl()
           
AnchorPointImpl(FilterFactory filterFactory)
          Creates a new instance of DefaultAnchorPoint
AnchorPointImpl(FilterFactory filterFactory, Expression x, Expression y)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
           
 Object clone()
           
 boolean equals(Object obj)
           
 Expression getAnchorPointX()
          Getter for property anchorPointX.
 Expression getAnchorPointY()
          Getter for property anchorPointY.
 void getAnchorPointY(double x)
          Define the anchor point.
 int hashCode()
           
 void setAnchorPointX(double x)
          Define the anchor point.
 void setAnchorPointX(Expression anchorPointX)
          Setter for property anchorPointX.
 void setAnchorPointY(Expression anchorPointY)
          Setter for property anchorPointY.
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnchorPointImpl

public AnchorPointImpl()

AnchorPointImpl

public AnchorPointImpl(FilterFactory filterFactory)
Creates a new instance of DefaultAnchorPoint


AnchorPointImpl

public AnchorPointImpl(FilterFactory filterFactory,
                       Expression x,
                       Expression y)
Method Detail

getAnchorPointX

public Expression getAnchorPointX()
Getter for property anchorPointX.

Specified by:
getAnchorPointX in interface AnchorPoint
Returns:
Value of property anchorPointX.

setAnchorPointX

public void setAnchorPointX(Expression anchorPointX)
Setter for property anchorPointX.

Parameters:
anchorPointX - New value of property anchorPointX.

setAnchorPointX

public void setAnchorPointX(double x)
Define the anchor point.

Parameters:
x - Literal value of property anchorPointX

getAnchorPointY

public Expression getAnchorPointY()
Getter for property anchorPointY.

Specified by:
getAnchorPointY in interface AnchorPoint
Returns:
Value of property anchorPointY.

setAnchorPointY

public void setAnchorPointY(Expression anchorPointY)
Setter for property anchorPointY.

Parameters:
anchorPointY - New value of property anchorPointY.

getAnchorPointY

public void getAnchorPointY(double x)
Define the anchor point.

Parameters:
x - Literal value of property anchorPointX

accept

public void accept(StyleVisitor visitor)

accept

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

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-2009 Geotools. All Rights Reserved.