Method Summary |
|
public Rectangle | getColorBox() Returns the size of the color boxes. |
public Font | getFont() Returns this Legend's Font. |
public Dimension | getPreferredSize() Returns the preferred size needed for the renderer. |
public RowColorModel | getRowColorModel() Returns the RowColorModel of the DataModel. |
public void | paintDefault(Graphics2D g) This method is called by the paint method to do the actual painting.
The painting is supposed to start at point (0,0) and the size is
always the same as the preferred size. |
public void | setColorBox(Rectangle r) Sets the size of the color boxes. |
public void | setFont(Font f) Sets the Font that is used to render the Legend. |
public void | setRowColorModel(RowColorModel rcm) Defines the RowColorModel of the DataModel. |