|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Object java.awt.GraphicsConfigTemplate
public abstract class GraphicsConfigTemplate
GraphicsConfigTemplate
클래스를 사용하는 것으로, 유효한 GraphicsConfiguration
를 취득할 수 있습니다. 사용자는 이러한 객체의 1 개의 인스턴스를 생성하고 나서, 디폴트가 아닌 모든 속성을 필요에 따라서 설정합니다. GraphicsDevice
클래스에 있는 GraphicsDevice.getBestConfiguration(java.awt.GraphicsConfigTemplate)
메소드는 다음에, 이 GraphicsConfigTemplate
를 사용해 불려 갑니다. GraphicsConfigTemplate
로 요구된 것을 채울까 그것을 웃도는, 유효한 GraphicsConfiguration
가 돌려주어집니다.
GraphicsDevice
,
GraphicsConfiguration
,
직렬화 된 형식 필드의 개요 | |
---|---|
static int |
PREFERRED
「Enum」(Integer) 형태로 사용되는 값입니다. |
static int |
REQUIRED
「Enum」(Integer) 형태로 사용되는 값입니다. |
static int |
UNNECESSARY
「Enum」(Integer) 형태로 사용되는 값입니다. |
생성자 의 개요 | |
---|---|
GraphicsConfigTemplate ()
이 클래스는 abstract 클래스이므로, 인스턴스를 생성할 수 있는 것은 서브 클래스 뿐입니다. |
메소드의 개요 | |
---|---|
abstract GraphicsConfiguration |
getBestConfiguration (GraphicsConfiguration [] gc)
GraphicsConfigTemplate 로 정의되고 있는 기준을 건네줄 수 있는 최적인 구성을 돌려줍니다. |
abstract boolean |
isGraphicsConfigSupported (GraphicsConfiguration gc)
지정된 GraphicsConfiguration 를 사용해, 지정된 기능을 지원하는 draw 표면을 작성할 수 있을지 어떨지를 나타내는 boolean 형의 값을 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
public static final int REQUIRED
GraphicsConfiguration
객체에 필요한 것을 나타냅니다. 이 기능을 사용할 수 없는 경우는,GraphicsConfiguration
객체를 선택하지 말아 주세요.
public static final int PREFERRED
GraphicsConfiguration
객체에 필요한 것을 나타냅니다. 이 기능이 있는 선택사항과 이 기능이 없는 선택사항은 양쪽 모두 동등이라고 보여집니다만, 이 기능이 있는 선택사항이 우선됩니다.
public static final int UNNECESSARY
GraphicsConfiguration
객체의 선택에는, 이 기능이 필요없는 것을 나타냅니다. 이 기능은 사용되지 않기 때문에, 이 기능이 없는 선택사항이 이 기능이 있는 선택사항보다 우선됩니다.
생성자 의 상세 |
---|
public GraphicsConfigTemplate()
메소드의 상세 |
---|
public abstract GraphicsConfiguration getBestConfiguration(GraphicsConfiguration [] gc)
GraphicsConfigTemplate
로 정의되고 있는 기준을 건네줄 수 있는 최적인 구성을 돌려줍니다.
gc
- 선택원의 GraphicsConfiguration
객체의 배열
GraphicsConfiguration
객체GraphicsConfiguration
public abstract boolean isGraphicsConfigSupported(GraphicsConfiguration gc)
GraphicsConfiguration
를 사용해, 지정된 기능을 지원하는 draw 표면을 작성할 수 있을지 어떨지를 나타내는 boolean
형의 값을 돌려줍니다.
gc
- 테스트 대상의 GraphicsConfiguration
객체
GraphicsConfiguration
객체를
사용해, 지정된 기능을 지원하는 표면을
작성할 수 있는 경우는 true
,
GraphicsConfiguration
객체를 사용해
이 Java (tm) API 로 사용 가능한 draw 표면을 작성할 수 없는 경우는
false
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.