|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Labelers are responsible for labeling the features of a particular layer. They are part of the style of the layer, and can be replaced.
Method Summary | |
void |
beginLabel()
Called before the layer is initially labeled to allow the labeler to prepare for labeling. |
boolean |
drawLabel(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter,
Shader inShader)
Draw the label for the record on the graphics context |
boolean |
drawLabelHighlight(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter,
Shader inShader)
Highlight the Label when the shape is highlighted. |
void |
endLabel()
Called after the layer has completed labeling. |
java.lang.String |
getLabelerName()
Get a name for this labeler. |
Node |
getNode()
get the configuration information for this labeler |
void |
setNode(Node inNode)
Set the configuration information for this labeler |
Method Detail |
public java.lang.String getLabelerName()
public void beginLabel()
public void endLabel()
public boolean drawLabel(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
public boolean drawLabelHighlight(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
public Node getNode()
public void setNode(Node inNode) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |