|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface ContextualRenderedImageFactory
ContextualRenderedImageFactory 는, RenderableImageOp 의 인스턴스간에 다른 기능을 위한 인터페이스를 제공합니다. 이것에 의해, RenderableImage 에 대한 다양한 조작은, 복수의 ContextualRenderedImageFactory 의 인스턴스를 사용해 RenderedImageOp 등의 단일의 클래스에 의해 실행할 수 있게 됩니다. ContextualRenderedImageFactory 는 「CRIF」라고 생략해집니다.
draw에 의존하지 않는 체인으로 사용되는 모든 조작은, ContextualRenderedImageFactory 를 구현할 필요가 있습니다.
이 인터페이스를 구현하는 클래스는, 인수 없음의 생성자 을 제공할 필요가 있습니다.
메소드의 개요 | |
---|---|
RenderedImage |
create (RenderContext renderContext,
ParameterBlock paramBlock)
RenderContext 와 조작의 소스와 파라미터가 포함되고 있는 ParameterBlock 를 지정해, draw를 작성합니다. |
Rectangle2D |
getBounds2D (ParameterBlock paramBlock)
draw에 의존하지 않는 스페이스에서의, 지정된 소스세트에 대해서 실행되는 조작의 출력을 위한 바운딩 박스를 돌려줍니다. |
Object |
getProperty (ParameterBlock paramBlock,
String name)
이름 파라미터로 지정된 프로퍼티의 대응하는 인스턴스를 돌려줍니다. |
String [] |
getPropertyNames ()
getProperty 에 의해 인식되는 이름의 리스트를 돌려줍니다. |
boolean |
isDynamic ()
같은 인수를 사용해 행한 연속한 draw (즉, 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
- draw 되는 RenderableImage
RenderContext
RenderedImage create(RenderContext renderContext, ParameterBlock paramBlock)
renderContext
- draw를 지정하는 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 Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.