org.geotools.styling
Class LinePlacementImpl

Object
  extended by LinePlacementImpl
All Implemented Interfaces:
Cloneable, LabelPlacement, LinePlacement

public class LinePlacementImpl
extends Object
implements LinePlacement, Cloneable

Default implementation of LinePlacement.

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

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)
           
 Object clone()
           
 boolean equals(Object obj)
           
 Expression getGap()
           
 Expression getInitialGap()
           
 Expression getPerpendicularOffset()
          Getter for property perpendicularOffset.
 int hashCode()
           
 boolean isAligned()
           
 boolean IsAligned()
           
 boolean isGeneralizeLine()
           
 boolean isRepeated()
           
 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

LinePlacementImpl

public LinePlacementImpl()

LinePlacementImpl

public LinePlacementImpl(LinePlacement placement)

LinePlacementImpl

public LinePlacementImpl(FilterFactory factory)

LinePlacementImpl

public LinePlacementImpl(FilterFactory factory,
                         boolean aligned,
                         boolean repeated,
                         boolean generalized,
                         Expression gap,
                         Expression initialGap)
Method Detail

setFilterFactory

@Deprecated
public void setFilterFactory(FilterFactory factory)
Deprecated. 


getPerpendicularOffset

public Expression getPerpendicularOffset()
Getter for property perpendicularOffset.

Specified by:
getPerpendicularOffset in interface LinePlacement
Returns:
Value of property perpendicularOffset.

setPerpendicularOffset

public void setPerpendicularOffset(Expression perpendicularOffset)
Setter for property perpendicularOffset.

Parameters:
perpendicularOffset - New value of property perpendicularOffset.

getInitialGap

public Expression getInitialGap()
Specified by:
getInitialGap in interface LinePlacement

getGap

public Expression getGap()
Specified by:
getGap in interface LinePlacement

isRepeated

public boolean isRepeated()
Specified by:
isRepeated in interface LinePlacement

IsAligned

public boolean IsAligned()
Specified by:
IsAligned in interface LinePlacement

isAligned

public boolean isAligned()

isGeneralizeLine

public boolean isGeneralizeLine()
Specified by:
isGeneralizeLine in interface LinePlacement

accept

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

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

setRepeated

public void setRepeated(boolean repeated)

setGeneralized

public void setGeneralized(boolean generalized)

setAligned

public void setAligned(boolean aligned)

setGap

public void setGap(Expression gap)

setInitialGap

public void setInitialGap(Expression initialGap)


Copyright © 1996-2009 Geotools. All Rights Reserved.