org.geotools.renderer.lite
Class LabelCacheItem

Object
  extended by LabelCacheItem
All Implemented Interfaces:
Comparable<LabelCacheItem>

Deprecated. Use LabelCacheItem instead (along with LabelCacheImpl

public class LabelCacheItem
extends Object
implements Comparable<LabelCacheItem>

The Labelling information that is put in the label cache.

Author:
jeichar, dblasby, simone giannecchini * @source $URL: http://svn.osgeo.org/geotools/tags/2.6.0/modules/library/render/src/main/java/org/geotools/renderer/lite/LabelCacheItem.java $
Module:
modules/library/render (gt-render.jar)

Constructor Summary
LabelCacheItem(String layerId, TextStyle2D textStyle, LiteShape2 shape, String label)
          Deprecated. Construct LabelCacheItem.
 
Method Summary
 int compareTo(LabelCacheItem o)
          Deprecated.  
 boolean equals(Object arg0)
          Deprecated.  
 Geometry getGeometry()
          Deprecated. Returns an example geometry from the list of geometries.
 List<Geometry> getGeoms()
          Deprecated. The list of geometries this item maintains
 String getLabel()
          Deprecated.  
 Set<String> getLayerIds()
          Deprecated. Return a modifiable set of ids
 double getPriority()
          Deprecated.  
 int getSpaceAround()
          Deprecated. space around - "dont put any label near me by this # of pixels"
 TextStyle2D getTextStyle()
          Deprecated. The textstyle that is used to label the shape.
 int hashCode()
          Deprecated.  
 void setLabel(String l)
          Deprecated.  
 void setPriority(double d)
          Deprecated.  
 void setSpaceAround(int space)
          Deprecated. space around - "dont put any label near me by this # of pixels"
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelCacheItem

public LabelCacheItem(String layerId,
                      TextStyle2D textStyle,
                      LiteShape2 shape,
                      String label)
Deprecated. 
Construct LabelCacheItem.

Method Detail

getLabel

public String getLabel()
Deprecated. 

setLabel

public void setLabel(String l)
Deprecated. 

getSpaceAround

public int getSpaceAround()
Deprecated. 
space around - "dont put any label near me by this # of pixels"


setSpaceAround

public void setSpaceAround(int space)
Deprecated. 
space around - "dont put any label near me by this # of pixels"


getPriority

public double getPriority()
Deprecated. 

setPriority

public void setPriority(double d)
Deprecated. 

getLayerIds

public Set<String> getLayerIds()
Deprecated. 
Return a modifiable set of ids

Returns:

getGeoms

public List<Geometry> getGeoms()
Deprecated. 
The list of geometries this item maintains


getTextStyle

public TextStyle2D getTextStyle()
Deprecated. 
The textstyle that is used to label the shape.


equals

public boolean equals(Object arg0)
Deprecated. 
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getGeometry

public Geometry getGeometry()
Deprecated. 
Returns an example geometry from the list of geometries.


compareTo

public int compareTo(LabelCacheItem o)
Deprecated. 
Specified by:
compareTo in interface Comparable<LabelCacheItem>


Copyright © 1996-2009 Geotools. All Rights Reserved.