|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlotLegend
This interface encapsulates the functionality that is need to adjust legends that are put onto plots.
Method Summary | |
---|---|
void |
drawToGraphics(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D bounds)
This method will attempt to draw the legend information to the provided graphics object inside the provided bounds. |
javax.swing.JComponent |
getPropertiesPanel()
As the name implies, this method returns a panel that can be used to edit the properties of a legend object. |
boolean |
isDrawn()
This method tells you whether this legend element is to be drawn based on user settings. |
double |
relativeVerticalSize()
This method returns a double for the relative amount of space that this legend component should take. |
Method Detail |
---|
javax.swing.JComponent getPropertiesPanel()
void drawToGraphics(java.awt.Graphics2D g, java.awt.geom.Rectangle2D bounds)
g
- The Graphics2D object that is being drawn to.bounds
- A rectangle in which the drawing should be confined. Things drawn outside may be clipped.boolean isDrawn()
double relativeVerticalSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |