|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.PrinterState
public final class PrinterState
PrinterState 는 프린터의 현재 상태를 식별해 열거하는 인쇄 속성 클래스입니다. 프린터 상태를 나타내는 표준치를 정의합니다. 인쇄 서비스가 구현되는 경우, 구현에 적합하는 프린터 상태만을 통지할 필요가 있습니다. 정의된 모든 상태를 통지할 필요는 없습니다. PrinterStateReasons
속성은 PrinterState 속성을 확장해, 어느 상태의 프린터에 대해보다 상세한 정보를 제공합니다.
IPP 호환성:getName()
에 의해 반환되는 카테고리명은 IPP 속성의 이름입니다. 열거의 정수치는 IPP 열거형치입니다. toString()
메소드는, 속성치의 IPP 캐릭터 라인 표현을 돌려줍니다.
필드의 개요 | |
---|---|
static PrinterState |
IDLE
새로운 작업을 곧바로 처리할 수 있는 것을 나타냅니다. |
static PrinterState |
PROCESSING
작업이 처리중인 것을 나타냅니다. |
static PrinterState |
STOPPED
작업의 처리를 할 수 없는 상태이며, 어떠한 액션을 잡을 필요가 있는 것을 나타냅니다. |
static PrinterState |
UNKNOWN
프린터 상태는 불명합니다. |
생성자 의 개요 | |
---|---|
protected |
PrinterState (int value)
지정된 정수치를 사용해 새로운 프린터 상태 열거치를 구축합니다. |
메소드의 개요 | |
---|---|
Class <? extends Attribute > |
getCategory ()
이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다. |
protected EnumSyntax [] |
getEnumValueTable ()
PrinterState 클래스의 열거치 테이블을 돌려줍니다. |
String |
getName ()
속성치가 인스턴스가 되는 카테고리의 이름을 돌려줍니다. |
protected String [] |
getStringTable ()
PrinterState 클래스의 캐릭터 라인 테이블을 돌려줍니다. |
클래스 javax.print.attribute. EnumSyntax 로부터 상속된 메소드 |
---|
clone , getOffset , getValue , hashCode , readResolve , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final PrinterState UNKNOWN
public static final PrinterState IDLE
public static final PrinterState PROCESSING
public static final PrinterState STOPPED
생성자 의 상세 |
---|
protected PrinterState(int value)
value
- 정수치메소드의 상세 |
---|
protected String [] getStringTable()
EnumSyntax
내의 getStringTable
protected EnumSyntax [] getEnumValueTable()
EnumSyntax
내의 getEnumValueTable
public final Class <? extends Attribute > getCategory()
PrinterState 클래스의 경우, 카테고리는 PrinterState 클래스 자신입니다.
Attribute
내의 getCategory
java.lang.Class
클래스의 인스턴스public final String getName()
PrinterState 클래스의 경우, 카테고리명은 printer-state
가 됩니다.
Attribute
내의 getName
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.