|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface ContextualRenderedImageFactory
ContextualRenderedImageFactory´Â RenderableImageOp ÀνºÅϽº°£¿¡ ´Ù¸¥ ±â´ÉÀ» À§ÇÑ ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. À̰Ϳ¡ ÀÇÇØ RenderableImage¿¡ ´ëÇÑ ´Ù¾çÇÑ Á¶ÀÛÀº º¹¼öÀÇ ContextualRenderedImageFactory ÀνºÅϽº¸¦ »ç¿ëÇØ RenderedImageOp µîÀÇ ´ÜÀÏÀÇ Å¬·¡½º¿¡ ÀÇÇØ ½ÇÇàÇÒ ¼ö ÀÖ°Ô µË´Ï´Ù. ContextualRenderedImageFactory´Â ¡¸CRIF¡¹¶ó°í »ý·«ÇØÁý´Ï´Ù.
·»´õ¸µ¿¡ Á¸ÇÏÁö ¾Ê´Â üÀÎÀ¸·Î »ç¿ëµÇ´Â ¸ðµç Á¶ÀÛÀº ContextualRenderedImageFactory¸¦ ±¸ÇöÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇϴ Ŭ·¡½º´Â Àμö ¾øÀ½ÀÇ »ý¼ºÀÚ¸¦ Á¦°øÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
¸Þ¼µå °³¿ä | |
---|---|
RenderedImage |
create (RenderContext renderContext,
ParameterBlock paramBlock)
RenderContext¿Í Á¶ÀÛÀÇ ¼Ò½º¿Í ÆÄ¶ó¹ÌÅͰ¡ Æ÷ÇԵǰí ÀÖ´Â ParameterBlock¸¦ ÁöÁ¤ÇØ, ·»´õ¸µ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
Rectangle2D |
getBounds2D (ParameterBlock paramBlock)
·»´õ¸µ¿¡ Á¸ÇÏÁö ¾Ê´Â ½ºÆäÀ̽º¿¡¼ÀÇ, ÁöÁ¤µÈ ¼Ò½º¼¼Æ®¿¡ ´ëÇØ¼ ½ÇÇàµÇ´Â Á¶ÀÛÀÇ Ãâ·ÂÀ» À§ÇÑ ¹Ù¿îµù¹Ú½º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Object |
getProperty (ParameterBlock paramBlock,
String name)
À̸§ ÆÄ¶ó¹ÌÅÍ·Î ÁöÁ¤µÈ ÇÁ·ÎÆÛƼÀÇ ´ëÀÀÇÏ´Â ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String [] |
getPropertyNames ()
getProperty¿¡ ÀÇÇØ ÀνĵǴ À̸§ÀÇ ¸®½ºÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isDynamic ()
°°Àº Àμö¸¦ »ç¿ëÇØ ÇàÇÑ ¿¬¼ÓÇÑ ·»´õ¸µ (Áï, create(RenderContext, ParameterBlock)ÀÇ È£Ãâ)ÀÇ °á°ú°¡ ´Ù¸¥ °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
RenderContext |
mapRenderContext (int i,
RenderContext renderContext,
ParameterBlock paramBlock,
RenderableImage image)
Á¶ÀÛÀÇ Ãâ·Â RenderContext¸¦, °¢ Á¶ÀÛÀÇ ¼Ò½ºÀÇ RenderContext¿¡ ¸ÅÇÎ ÇÕ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º java.awt.image.renderable. RenderedImageFactory ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
create |
¸Þ¼µåÀÇ »ó¼¼ |
---|
RenderContext mapRenderContext(int i, RenderContext renderContext, ParameterBlock paramBlock, RenderableImage image)
i
- ¼Ò½º À̹ÌÁöÀÇ À妽ºrenderContext
- Á¶ÀÛ¿¡ Àû¿ëµÇ´Â RenderContextparamBlock
- Á¶ÀÛÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅͰ¡ Æ÷ÇԵǰí ÀÖ´Â ParameterBlockimage
- ·»´õ¸µ µÇ´Â RenderableImage
RenderContext
RenderedImage create(RenderContext renderContext, ParameterBlock paramBlock)
renderContext
- ·»´õ¸µ¸¦ ÁöÁ¤ÇÏ´Â RenderContextparamBlock
- Á¶ÀÛÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅͰ¡ Æ÷ÇԵǰí ÀÖ´Â ParameterBlock
RenderedImage
Rectangle2D getBounds2D(ParameterBlock paramBlock)
paramBlock
- Á¶ÀÛÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅͰ¡ Æ÷ÇԵǰí ÀÖ´Â ParameterBlock
Object getProperty(ParameterBlock paramBlock, String name)
paramBlock
- Á¶ÀÛÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅͰ¡ Æ÷ÇԵǰí ÀÖ´Â ParameterBlockname
- ¸ñÀûÀÇ ÇÁ·ÎÆÛƼ¸¦ ÁöÁ¤ÇÏ´Â String
String [] getPropertyNames()
boolean isDynamic()
true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.