JavaTM 2 Platform
Standard Ed. 5.0

java.awt
Ŭ·¡½º Component.BltBufferStrategy

java.lang.Object 
  »óÀ§¸¦ È®Àå java.awt.image.BufferStrategy 
      »óÀ§¸¦ È®Àå java.awt.Component.BltBufferStrategy
Æ÷ÇԵǾî Àִ Ŭ·¡½º:
Component

protected class Component.BltBufferStrategy
extends BufferStrategy

¿ÀÇÁ ½ºÅ©¸° Ç¥¸éÀÇ ÄÄÆÛ³ÍÆ®¿¡ÀÇ Blit ¿ë ³»ºÎ Ŭ·¡½ºÀÔ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4

ÇÊµå °³¿ä
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
 

ÇʵåÀÇ »ó¼¼

caps

protected BufferCapabilities  caps
¹öÆÛ ±â´É.


backBuffers

protected VolatileImage [] backBuffers
¹é ¹öÆÛ.


validatedContents

protected boolean validatedContents
·»´õ¸µ ¹öÆÛ°¡ ¼Ò½ÇÇÑ »óÅ·κÎÅÍ ÃÖ±Ù º¹¿øµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³À´Ï´Ù.


width

protected int width
¹é ¹öÆÛÀÇ »çÀÌÁî.


height

protected int height
»ý¼ºÀÚ »ó¼¼

Component.BltBufferStrategy

protected Component.BltBufferStrategy(int numBuffers,
                                      BufferCapabilities  caps)
ÄÄÆÛ³ÍÆ®¿¡ °üÇÑ »õ·Î¿î blt ¹öÆÛ ¹æħÀ» »ý¼ºÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
numBuffers - ÇÁ·±Æ® ¹öÆ۷μ­ »ç¿ëµÇ´Â ÄÄÆÛ³ÍÆ®
caps - ¹öÆÛÀÇ ¿ë·®
¸Þ¼­µåÀÇ »ó¼¼

createBackBuffers

protected void createBackBuffers(int numBuffers)
¹é ¹öÆÛ¸¦ »ý¼ºÇÕ´Ï´Ù.


getCapabilities

public BufferCapabilities  getCapabilities()
Á¤ÀÇ:
Ŭ·¡½º BufferStrategy ³»ÀÇ getCapabilities
¹Ýȯ°ª:
ÀÌ ¹æħÀÇ ¹öÆÛ ¿ë·®

getDrawGraphics

public Graphics  getDrawGraphics()
Á¤ÀÇ:
Ŭ·¡½º BufferStrategy ³»ÀÇ getDrawGraphics
¹Ýȯ°ª:
·»´õ¸µ ±×·¡ÇÈ

show

public void show()
ÀÌ¿ë °¡´ÉÇÑ ´ÙÀ½ÀÇ ¹öÆÛ¸¦ °¡½Ã »óÅ·ΠÇÕ´Ï´Ù.

Á¤ÀÇ:
Ŭ·¡½º BufferStrategy ³»ÀÇ show

revalidate

protected void revalidate()
·»´õ¸µ ¹öÆÛ°¡ ¼Ò½ÇÇÏ°í ÀÖ´Â °æ¿ì´Â º¹¿øÇÕ´Ï´Ù.


contentsLost

public boolean contentsLost()
Ŭ·¡½º BufferStrategy ±â¼ú:
getDrawGraphics¿¡ ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ­ ·»´õ¸µ ¹öÆÛ°¡ ¼Ò½ÇÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ¸®ÅÏÇÕ´Ï´Ù. ¹öÆÛ ½ºÆ®·¡ÅÍÁö³»ÀÇ ¹öÆÛ´Â º¸Åë, VolatileImage ÇüÀ̱⠶§¹®¿¡ ¼Ò½ÇÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. ¼Ò½Ç ¹öÆÛ¿¡ ´ëÇؼ­´Â VolatileImage¸¦ ÂüÁ¶ÇϽʽÿÀ.

Á¤ÀÇ:
Ŭ·¡½º BufferStrategy ³»ÀÇ contentsLost
¹Ýȯ°ª:
·»´õ¸µ ¹öÆÛ°¡ ¸¶Áö¸· getDrawGraphics È£ÃâÇØ ÀÌÈÄ ¼Ò½ÇÇÏ°í ÀÖÀ»Áö ¾î¶³Áö
°ü·Ã Ç׸ñ:
VolatileImage

contentsRestored

public boolean contentsRestored()
Ŭ·¡½º BufferStrategy ±â¼ú:
·»´õ¸µ ¹öÆÛ°¡ ¼Ò½Ç »óÅ·κÎÅÍ ÃÖ±Ù º¹¿øµÇ¾î µðÆúÆ®ÀÇ ¹é±×¶ó¿îµå Ä÷¯ (Èò»ö)¿¡ ÀçÃʱâÈ­µÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ¸®ÅÏÇÕ´Ï´Ù. ¹öÆÛ ½ºÆ®·¡ÅÍÁö³»ÀÇ ¹öÆÛ´Â º¸Åë, VolatileImage ÇüÀ̱⠶§¹®¿¡ ¼Ò½ÇÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. getDrawGraphics¿¡ ÀÇ ¸¶Áö¸· È£ÃâÀ» À§Çؼ­ ¼Ò½Ç »óÅ¿¡ ÀÖ´ø Ç¥¸éÀÌ ÃÖ±Ù º¹¿øµÇ¾úÀ» °æ¿ì´Â ÀçÆäÀÎÆ®°¡ ÇÊ¿äÇÑ Àϵµ ÀÖ½À´Ï´Ù. ¼Ò½Ç ¹öÆÛ¿¡ ´ëÇؼ­´Â VolatileImage¸¦ ÂüÁ¶ÇϽʽÿÀ.

Á¤ÀÇ:
Ŭ·¡½º BufferStrategy ³»ÀÇ contentsRestored
¹Ýȯ°ª:
·»´õ¸µ ¹öÆÛ°¡ ¼Ò½ÇÇÑ »óÅ·κÎÅÍ ÃÖ±Ù º¹¿øµÇ¾î µðÆúÆ®ÀÇ ¹é±×¶ó¿îµå Ä÷¯ (Èò»ö)¿¡ ÀçÃʱâÈ­µÇ°í ÀÖ´ÂÁö ¾î¶²Áö
°ü·Ã Ç׸ñ:
VolatileImage

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.