|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Legend
A legend for a Graphable2D (or Graphable3D) piece of data.
Version 1.0, 5/11/99 - original version.
Method Summary | |
---|---|
int |
getHeight()
Get the height that the legend wants to draw in. |
int |
getWidth()
Get the width that the legend wants to draw in. |
void |
paintLegend(java.awt.Graphics g,
int x,
int y)
draw the legend, at a given top, left position. |
void |
setFont(java.awt.Font f,
java.awt.FontMetrics fm)
set the font labels will be printed in. |
void |
setLabel(java.lang.String l)
set the label for this legend. |
Method Detail |
---|
int getWidth()
int getHeight()
void setLabel(java.lang.String l)
void setFont(java.awt.Font f, java.awt.FontMetrics fm)
void paintLegend(java.awt.Graphics g, int x, int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |