Class Sectors2DPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class Sectors2DPanel extends JPanel

Title: Sectors 2D Panel

Description: This panel is used to show saturation sectors on 2-class models.

This was reimlemented by Bertoli Marco as original one had strong redraw problems, made strange things with rotations, did not autoscale and overlapped labels too frequently.

Author:
Bertoli Marco, Zanzottera Andrea Date: 8-feb-2006 Time: 11.33.48
See Also:
  • Constructor Details

    • Sectors2DPanel

      public Sectors2DPanel(Vector<Object> s3d, String[] classNames)
      Builds a new Sectors2DPanel
      Parameters:
      s3d - vector with output of Jaba engine
      classNames - name of classes to be shown on axis
  • Method Details

    • paint

      public void paint(Graphics g)
      Overrides default paint method to draw the graph
      Overrides:
      paint in class JComponent
      Parameters:
      g - graphic object. Must be an instance of Graphics2D