gistoolkit.display.labeler
Class LineLabeler

java.lang.Object
  extended bygistoolkit.display.labeler.SimpleLabeler
      extended bygistoolkit.display.labeler.LineLabeler
All Implemented Interfaces:
Labeler

public class LineLabeler
extends SimpleLabeler

Labeler for drawing line labels on the screen.


Field Summary
 
Fields inherited from class gistoolkit.display.labeler.SimpleLabeler
CENTER, EAST, NORTH, SOUTH, WEST
 
Constructor Summary
LineLabeler()
          Creates new PolygonLabeler
 
Method Summary
protected  boolean drawLabel(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter)
          Draw the label for the record on the graphics context
protected  boolean drawLabel(java.lang.String inString, Shape inShape, java.awt.Graphics inGraphics, Converter inConverter, OverlapManager inOverlapManager)
           
 java.lang.String getLabelerName()
          The name for this labeler, returns "Line Labeler"
 Node getNode()
          get the configuration information for this labeler
 void setNode(Node inNode)
          Set the configuration information for this labeler
 
Methods inherited from class gistoolkit.display.labeler.SimpleLabeler
beginLabel, drawLabel, drawLabelHighlight, drawString, endLabel, getAllowDuplicates, getAllowOverlaps, getBounds, getLabelColumn, getLabelOffset, getLabelOrientation, getLabelPosition, getOverlapManager, getStrings, isDuplicate, isOverLaps, isOverLaps, removeDuplicate, setAllowDuplicates, setAllowOverlaps, setLabelColumn, setLabelOffset, setLabelOrientation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineLabeler

public LineLabeler()
Creates new PolygonLabeler

Method Detail

getLabelerName

public java.lang.String getLabelerName()
The name for this labeler, returns "Line Labeler"

Specified by:
getLabelerName in interface Labeler
Specified by:
getLabelerName in class SimpleLabeler

drawLabel

protected boolean drawLabel(java.lang.String inString,
                            Shape inShape,
                            java.awt.Graphics inGraphics,
                            Converter inConverter,
                            OverlapManager inOverlapManager)

drawLabel

protected boolean drawLabel(Record inRecord,
                            java.awt.Graphics inGraphics,
                            Converter inConverter)
Draw the label for the record on the graphics context

Specified by:
drawLabel in class SimpleLabeler

getNode

public Node getNode()
get the configuration information for this labeler

Specified by:
getNode in interface Labeler
Overrides:
getNode in class SimpleLabeler

setNode

public void setNode(Node inNode)
             throws java.lang.Exception
Set the configuration information for this labeler

Specified by:
setNode in interface Labeler
Overrides:
setNode in class SimpleLabeler
Throws:
java.lang.Exception