org.geotools.renderer.lite
Class LabelCacheItem

java.lang.Object
  extended by org.geotools.renderer.lite.LabelCacheItem
All Implemented Interfaces:
java.lang.Comparable<LabelCacheItem>

Deprecated. Use LabelCacheItem instead (along with LabelCacheImpl

public class LabelCacheItem
extends java.lang.Object
implements java.lang.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.5/modules/library/render/src/main/java/org/geotools/renderer/lite/LabelCacheItem.java $

Constructor Summary
LabelCacheItem(java.lang.String layerId, TextStyle2D textStyle, LiteShape2 shape, java.lang.String label)
          Deprecated. Construct LabelCacheItem.
 
Method Summary
 int compareTo(LabelCacheItem o)
          Deprecated.  
 boolean equals(java.lang.Object arg0)
          Deprecated.  
 com.vividsolutions.jts.geom.Geometry getGeometry()
          Deprecated. Returns an example geometry from the list of geometries.
 java.util.List<com.vividsolutions.jts.geom.Geometry> getGeoms()
          Deprecated. The list of geometries this item maintains
 java.lang.String getLabel()
          Deprecated.  
 java.util.Set<java.lang.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(java.lang.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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelCacheItem

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

Method Detail

getLabel

public java.lang.String getLabel()
Deprecated. 

setLabel

public void setLabel(java.lang.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 java.util.Set<java.lang.String> getLayerIds()
Deprecated. 
Return a modifiable set of ids

Returns:

getGeoms

public java.util.List<com.vividsolutions.jts.geom.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(java.lang.Object arg0)
Deprecated. 
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

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

getGeometry

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


compareTo

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


Copyright © 1996-2010 Geotools. All Rights Reserved.