|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLabelCacheItem
public class LabelCacheItem
The Labelling information that is put in the label cache.
Constructor Summary | |
---|---|
LabelCacheItem(String layerId,
TextStyle2D textStyle,
LiteShape2 shape,
String label)
Construct LabelCacheItem . |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object arg0)
|
Geometry |
getGeometry()
Returns an example geometry from the list of geometries. |
List |
getGeoms()
The list of geometries this item maintains |
String |
getLabel()
|
Set |
getLayerIds()
Return a modifiable set of ids |
double |
getPriority()
|
int |
getSpaceAround()
space around - "dont put any label near me by this # of pixels" |
TextStyle2D |
getTextStyle()
The textstyle that is used to label the shape. |
int |
hashCode()
|
void |
setLabel(String l)
|
void |
setPriority(double d)
|
void |
setSpaceAround(int space)
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 |
---|
public LabelCacheItem(String layerId, TextStyle2D textStyle, LiteShape2 shape, String label)
LabelCacheItem
.
Method Detail |
---|
public String getLabel()
public void setLabel(String l)
public int getSpaceAround()
public void setSpaceAround(int space)
public double getPriority()
public void setPriority(double d)
public Set getLayerIds()
public List getGeoms()
public TextStyle2D getTextStyle()
public boolean equals(Object arg0)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Geometry getGeometry()
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |