|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.awt.image.BufferStrategy | +--java.awt.Component.BltBufferStrategy
¿ÀÇÁ ½ºÅ©¸° Ç¥¸éÀÇ ÄÄÆÛ³ÍÆ®¿¡ÀÇ Blit ¿ë ³»ºÎ Ŭ·¡½ºÀÔ´Ï´Ù.
ÇʵåÀÇ °³¿ä | |
protected VolatileImage [] |
backBuffers
¹é ¹öÆÛ |
protected BufferCapabilities |
caps
¹öÆÛ ±â´É |
protected int |
height
|
protected boolean |
validatedContents
Ç¥Çö ¹öÆÛ°¡ ¼Ò½ÇÇÑ »óÅ·κÎÅÍ ÃÖ±Ù º¹¿øµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³À´Ï´Ù. |
protected int |
width
¹é ¹öÆÛÀÇ »çÀÌÁî |
»ý¼ºÀÚÀÇ °³¿ä | |
protected |
Component.BltBufferStrategy (int numBuffers,
BufferCapabilities caps)
ÄÄÆÛ³ÍÆ®¿¡ °üÇÑ ½Å±Ô blt ¹öÆÛ ¹æÄ§À» »ý¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
boolean |
contentsLost ()
getDrawGraphics ¿¡ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ(¶§¹®¿¡) Ç¥Çö ¹öÆÛ°¡ ¼Ò½ÇÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
contentsRestored ()
Ç¥Çö ¹öÆÛ°¡ ¼Ò½Ç »óÅ·κÎÅÍ ÃÖ±Ù º¹¿øµÇ¾î µðÆúÆ®ÀÇ ¹é±×¶ó¿îµå Ä®¶ó (Èò»ö)¿¡ ÀçÃʱâȵǾú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected void |
createBackBuffers (int numBuffers)
¹é ¹öÆÛ¸¦ »ý¼ºÇÕ´Ï´Ù. |
BufferCapabilities |
getCapabilities ()
|
Graphics |
getDrawGraphics ()
|
protected void |
revalidate ()
Ç¥Çö ¹öÆÛ°¡ ¼Ò½ÇÇϰí ÀÖ´Â °æ¿ì´Â º¹¿øÇÕ´Ï´Ù. |
void |
show ()
ÀÌ¿ë °¡´ÉÇÑ ´ÙÀ½ÀÇ ¹öÆÛ¸¦ °¡½Ã »óÅ·ΠÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected BufferCapabilities caps
protected VolatileImage [] backBuffers
protected boolean validatedContents
protected int width
protected int height
»ý¼ºÀÚÀÇ »ó¼¼ |
protected Component.BltBufferStrategy(int numBuffers, BufferCapabilities caps)
caps
- ¹öÆÛÀÇ ¿ë·®¸Þ¼ÒµåÀÇ »ó¼¼ |
protected void createBackBuffers(int numBuffers)
public BufferCapabilities getCapabilities()
BufferStrategy
³»ÀÇ getCapabilities
public Graphics getDrawGraphics()
BufferStrategy
³»ÀÇ getDrawGraphics
public void show()
BufferStrategy
³»ÀÇ show
protected void revalidate()
public boolean contentsLost()
BufferStrategy
ÀÇ ±â¼ú: getDrawGraphics
¿¡ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ(¶§¹®¿¡) Ç¥Çö ¹öÆÛ°¡ ¼Ò½ÇÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ µ¹·ÁÁÝ´Ï´Ù. ¹öÆÛ ½ºÆ®·¡ÅÍÁö³»ÀÇ ¹öÆÛ´Â Åë»ó,VolatileImage
ÇüÀ̱â (À§ÇØ)¶§¹®¿¡ ¼Ò½ÇÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. ¼Ò½Ç ¹öÆÛ¿¡ ´ëÇØ¼´Â VolatileImage
¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
BufferStrategy
³»ÀÇ contentsLost
getDrawGraphics
È£ÃâÇØ ÀÌÈÄ ¼Ò½ÇÇϰí ÀÖÀ»Áö ¾î¶³ÁöVolatileImage
public boolean contentsRestored()
BufferStrategy
ÀÇ ±â¼ú: VolatileImage
ÇüÀ̱â (À§ÇØ)¶§¹®¿¡ ¼Ò½ÇÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. getDrawGraphics
¿¡ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ(¶§¹®¿¡) ¼Ò½Ç »óÅ¿¡ ÀÖ´ø Ç¥¸éÀÌ ÃÖ±Ù º¹¿øµÇ¾úÀ» °æ¿ì´Â Àçpaint°¡ ÇÊ¿äÇÑ Àϵµ ÀÖ½À´Ï´Ù. ¼Ò½Ç ¹öÆÛ¿¡ ´ëÇØ¼´Â VolatileImage
¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
BufferStrategy
³»ÀÇ contentsRestored
VolatileImage
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.