Interface BufferedPanel

All Known Implementing Classes:
AWTDoubleBufferedPanel, AWTSimpleBufferedPanel, SwingDoubleBufferedPanel, SwingSimpleBufferedPanel

public interface BufferedPanel
A BufferedPanel provides a common interface for AWT or Swing, and Simple or Double buffered panels.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The actual draw method that must be defined by a concrete BufferedPanel.
    Supposed to be provided by the implementing abstract class.
    int
    Supposed to be provided by the implementing abstract class.
    int
    Supposed to be provided by the implementing abstract class.
  • Method Details

    • draw

      void draw(Graphics g)
      The actual draw method that must be defined by a concrete BufferedPanel.
    • getGraphics

      Graphics getGraphics()
      Supposed to be provided by the implementing abstract class.
    • getWidth

      int getWidth()
      Supposed to be provided by the implementing abstract class.
    • getHeight

      int getHeight()
      Supposed to be provided by the implementing abstract class.