public interface BufferedPanel
BufferedPanel
provides a common interface for AWT or Swing, and Simple or Double
buffered panels.Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g)
The actual draw method that must be defined by a concrete BufferedPanel.
|
Graphics |
getGraphics()
Supposed to be provided by the implementing abstract class.
|
int |
getHeight()
Supposed to be provided by the implementing abstract class.
|
int |
getWidth()
Supposed to be provided by the implementing abstract class.
|
void draw(Graphics g)
Graphics getGraphics()
int getWidth()
int getHeight()
Copyright © 2016. All rights reserved.