public interface

SubRegionShowable

sun.awt.SubRegionShowable

Class Overview

Interface used by Swing to make copies from the Swing back buffer more optimal when using BufferStrategy; no need to copy the entire buffer when only a small sub-region has changed.

See Also
  • javax.swing.BufferStrategyPaintManager

Summary

Public Methods
abstract void show(int x1, int y1, int x2, int y2)
Shows the specific subregion.
abstract boolean validateAndShow(int x1, int y1, int x2, int y2)
Validates the buffer and if successful shows the specified region.

Public Methods

public abstract void show (int x1, int y1, int x2, int y2)

Shows the specific subregion.

public abstract boolean validateAndShow (int x1, int y1, int x2, int y2)

Validates the buffer and if successful shows the specified region.

Returns
  • true if successful