Package idare.imagenode.Utilities
Class LegendLabel
- java.lang.Object
 - 
- idare.imagenode.Utilities.LegendLabel
 
 
- 
- All Implemented Interfaces:
 Serializable
public class LegendLabel extends Object implements Serializable
Class that represents a LegendLabel, which can be drawn in a specific graphics context.- Author:
 - Thomas Pfau
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description LegendLabel(Font labelFont, Point position, String Label)Default Constructor providing the Font, position and String used when writing this label. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(org.apache.batik.svggen.SVGGraphics2D svg)Draw the Label in the givenSVGGraphics2Dcontextvoiddraw(org.apache.batik.svggen.SVGGraphics2D svg, String Label)Draw the Label in the givenSVGGraphics2Dcontext 
 - 
 
- 
- 
Field Detail
- 
Label
public String Label
 
 - 
 
- 
Method Detail
- 
draw
public void draw(org.apache.batik.svggen.SVGGraphics2D svg)
Draw the Label in the givenSVGGraphics2Dcontext- Parameters:
 svg- theSVGGraphics2Dcontext to draw in
 
- 
draw
public void draw(org.apache.batik.svggen.SVGGraphics2D svg, String Label)Draw the Label in the givenSVGGraphics2Dcontext- Parameters:
 svg- theSVGGraphics2Dcontext to draw inLabel- The label to write in the context.
 
 - 
 
 -