Home » openjdk-7 » javax » swing » [javadoc | source]
class: BufferStrategyPaintManager [javadoc | source]
A PaintManager implementation that uses a BufferStrategy for rendering.
Fields inherited from javax.swing.RepaintManager$PaintManager:
repaintManager,  isRepaintingRoot
Method from javax.swing.BufferStrategyPaintManager Summary:
beginPaint,   copyArea,   dispose,   doubleBufferingChanged,   endPaint,   paint,   show
Methods from javax.swing.RepaintManager$PaintManager:
beginPaint,   copyArea,   dispose,   doubleBufferingChanged,   endPaint,   isRepaintingRoot,   paint,   paintDoubleBuffered,   repaintRoot,   show
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.BufferStrategyPaintManager Detail:
 public  void beginPaint() 
 public  void copyArea(JComponent c,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int deltaX,
    int deltaY,
    boolean clip) 
 protected  void dispose() 
    Cleans up any created BufferStrategies.
 public  void doubleBufferingChanged(JRootPane rootPane) 
    Invoked when the double buffering or useTrueDoubleBuffering changes for a JRootPane. If the rootpane is not double buffered, or true double buffering changes we throw out any cache we may have.
 public  void endPaint() 
 public boolean paint(JComponent paintingComponent,
    JComponent bufferComponent,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
 public boolean show(Container c,
    int x,
    int y,
    int w,
    int h) 
    Shows the specified region of the back buffer. This will return true if successful, false otherwise. This is invoked on the toolkit thread in response to an expose event.