Class Legend

All Implemented Interfaces:
Draggable, Shape, Serializable, Cloneable

public class Legend extends DraggableRectangle
See Also:
  • Constructor Details Link icon

    • Legend Link icon

      public Legend(PlotCanvas canvas)
      Create a Legend rectangle
      Parameters:
      canvas - the parent plot canvas
  • Method Details Link icon

    • draw Link icon

      public void draw(Graphics g)
      Draw the legend
      Parameters:
      g - the graphics context