Klasse OurDrawArea

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible

public class OurDrawArea extends DrawArea
This class provides an example for using visualization.DrawArea. It extends DrawArea to visualize a graph based on logging elements.
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • OurDrawArea

      public OurDrawArea()
      Standard constructor. Initializes an empty draw area.
    • OurDrawArea

      public OurDrawArea(LogElementList<OurLogElement> logList, String drawAreaName)
      Extended constructor. Creates a draw area with a specified log list and display name.
      Parameter:
      logList - the draw area's log element list
      drawAreaName - the display name over the draw area
  • Methodendetails

    • draw

      public void draw(Graphics g)
      Draws visualization elements on the draw area.
      Setzt außer Kraft:
      draw in Klasse DrawArea
      Parameter:
      g - the graphics context used for drawing