|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.image.BufferStrategy
java.awt.Component.BltBufferStrategy
protected class 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)
numBuffers
- ÇÁ·±Æ® ¹öÆÛ·Î¼ »ç¿ëµÇ´Â ÄÄÆÛ³ÍÆ®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
¿¡
ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ ¼Ò½Ç »óÅ¿¡ ÀÖ´ø Ç¥¸éÀÌ ÃÖ±Ù º¹¿øµÇ¾úÀ» °æ¿ì´Â ÀçÆäÀÎÆ®°¡ ÇÊ¿äÇÑ Àϵµ ÀÖ½À´Ï´Ù. ¼Ò½Ç ¹öÆÛ¿¡ ´ëÇØ¼´Â VolatileImage
¸¦ ÂüÁ¶ÇϽʽÿÀ.
BufferStrategy
³»ÀÇ contentsRestored
VolatileImage
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.