| Modifier and Type | Field and Description |
|---|---|
| protected BufferedImage | bImg
A reference to the BufferedImage whose contents are being managed. |
| protected SurfaceData | sdDefault
The default (software) surface containing the contents of the BufferedImage. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SurfaceData | getPrimarySurfaceData()
Implements abstract sun. Returns the main SurfaceData object that "owns" the pixels for this SurfaceManager. |
| public SurfaceData | restoreContents()
Implements abstract sun. Called from platform-specific SurfaceData objects to attempt to auto-restore the contents of an accelerated surface that has been lost. |
| bImg | back to summary |
|---|---|
| protected BufferedImage bImg A reference to the BufferedImage whose contents are being managed. | |
| sdDefault | back to summary |
|---|---|
| protected SurfaceData sdDefault The default (software) surface containing the contents of the BufferedImage. | |
| BufImgSurfaceManager | back to summary |
|---|---|
| public BufImgSurfaceManager(BufferedImage bImg) | |
| getPrimarySurfaceData | back to summary |
|---|---|
| public SurfaceData getPrimarySurfaceData() Implements abstract sun. Doc from sun. Returns the main SurfaceData object that "owns" the pixels for this SurfaceManager. This SurfaceData is used as the destination surface in a rendering operation and is the most authoritative storage for the current state of the pixels, though other versions might be cached in other locations for efficiency. | |
| restoreContents | back to summary |
|---|---|
| public SurfaceData restoreContents() Implements abstract sun. Called from platform-specific SurfaceData objects to attempt to auto-restore the contents of an accelerated surface that has been lost. | |