|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.display.scalebar.SimpleScaleBar
gistoolkit.display.scalebar.MeterToEnglishScaleBar
Class to display a scale bar on the map.
Field Summary |
Fields inherited from class gistoolkit.display.scalebar.SimpleScaleBar |
LOWER_LEFT, LOWER_RIGHT, UPPER_LEFT, UPPER_RIGHT |
Constructor Summary | |
MeterToEnglishScaleBar()
|
Method Summary | |
void |
drawScale(java.awt.Graphics inGraphics,
Converter inConverter,
int inWidth,
int inHeight)
Method to draw a scale bar on the graphics context. |
java.lang.String |
getDescription()
A description to be displayed to the user that indicates what this scale bar does. |
Node |
getNode()
Get the configuration information for this ScaleBar |
void |
setNode(Node inNode)
Set the configuration information for this ScaleBar |
Methods inherited from class gistoolkit.display.scalebar.SimpleScaleBar |
getAlpha, getAvailableSize, getDefaultAlphaComposite, getDefaultFont, getDefaultLabelColor, getDefaultLineColor, getHorizontalOffset, getLabelGraphics, getLineGraphics, getQuadrant, getScreenPercent, getStart, getStroke, getVerticalOffset, setAlpha, setDefaultFont, setDefaultLabelColor, setDefaultLineColor, setHorizontalOffset, setQuadrant, setScreenPercent, setStroke, setVerticalOffset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MeterToEnglishScaleBar()
Method Detail |
public java.lang.String getDescription()
This one returns kilometers, meters, centimters, milimeters, and micrometers
getDescription
in interface ScaleBar
getDescription
in class SimpleScaleBar
public void drawScale(java.awt.Graphics inGraphics, Converter inConverter, int inWidth, int inHeight)
drawScale
in interface ScaleBar
drawScale
in class SimpleScaleBar
public Node getNode()
getNode
in interface ScaleBar
getNode
in class SimpleScaleBar
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface ScaleBar
setNode
in class SimpleScaleBar
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |