APIdia Launch Partner
Top Description Methods
sun.awt

public Interface SubRegionShowable

Known Direct Implementers
java.awt.Component.FlipSubRegionBufferStrategy, java.awt.Component.BltSubRegionBufferStrategy

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

Method Summary

Modifier and TypeMethod and Description
public void
show(int x1, int y1, int x2, int y2)

Shows the specific subregion.

public boolean

Returns:

true if successful
showIfNotLost
(int x1, int y1, int x2, int y2)

Shows the specified region if the buffer is not lost and the dimensions of the back-buffer match those of the component.

Method Detail

showback to summary
public void show(int x1, int y1, int x2, int y2)

Shows the specific subregion.

showIfNotLostback to summary
public boolean showIfNotLost(int x1, int y1, int x2, int y2)

Shows the specified region if the buffer is not lost and the dimensions of the back-buffer match those of the component.

Returns:boolean

true if successful