Package org.geotools.styling
Class AnchorPointImpl
- Object
-
- AnchorPointImpl
-
- All Implemented Interfaces:
Cloneable,AnchorPoint,Cloneable
public class AnchorPointImpl extends Object implements AnchorPoint, Cloneable
Direct implementation of AnchorPoint.- Author:
- Ian Turton, CCG
-
-
Constructor Summary
Constructors Constructor Description AnchorPointImpl()AnchorPointImpl(FilterFactory filterFactory)Creates a new instance of DefaultAnchorPointAnchorPointImpl(FilterFactory filterFactory, Expression x, Expression y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)calls the visit method of a StyleVisitorObjectaccept(TraversingStyleVisitor visitor, Object data)calls the visit method of a StyleVisitorObjectclone()Creates and returns a copy of this object.booleanequals(Object obj)ExpressiongetAnchorPointX()Getter for property anchorPointX.ExpressiongetAnchorPointY()Getter for property anchorPointY.voidgetAnchorPointY(double x)Define the anchor point.inthashCode()voidsetAnchorPointX(Expression anchorPointX)Setter for property anchorPointX.voidsetAnchorPointY(Expression anchorPointY)Setter for property anchorPointY.
-
-
-
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:
getAnchorPointXin interfaceAnchorPoint- Returns:
- Value of property anchorPointX.
-
setAnchorPointX
public void setAnchorPointX(Expression anchorPointX)
Setter for property anchorPointX.- Specified by:
setAnchorPointXin interfaceAnchorPoint- Parameters:
anchorPointX- New value of property anchorPointX.
-
getAnchorPointY
public Expression getAnchorPointY()
Getter for property anchorPointY.- Specified by:
getAnchorPointYin interfaceAnchorPoint- Returns:
- Value of property anchorPointY.
-
setAnchorPointY
public void setAnchorPointY(Expression anchorPointY)
Setter for property anchorPointY.- Specified by:
setAnchorPointYin interfaceAnchorPoint- 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 Object accept(TraversingStyleVisitor visitor, Object data)
Description copied from interface:AnchorPointcalls the visit method of a StyleVisitor- Specified by:
acceptin interfaceAnchorPoint- Parameters:
visitor- the style visitor
-
accept
public void accept(StyleVisitor visitor)
Description copied from interface:AnchorPointcalls the visit method of a StyleVisitor- Specified by:
acceptin interfaceAnchorPoint- Parameters:
visitor- the style visitor
-
clone
public Object clone()
Description copied from interface:CloneableCreates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object.- Specified by:
clonein interfaceCloneable- Overrides:
clonein classObject- Returns:
- A copy of this object.
- See Also:
Object.clone()
-
-