|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.OrientationRequested
public final class OrientationRequested
OrientationRequested 는, 인쇄되는 출력 스트림 페이지의 방향을 값의 열거로 가리키는 인쇄 속성 클래스입니다. 클라이언트가 지정하는 출력 스트림의 방향은 기술하지 않습니다.
"application/postscript"
등의 일부의 문서 형식에서는, 출력 스트림 페이지의 방향은 문서 데이터내에서 지정됩니다. 이 정보는 인쇄 작업의 송신전에 디바이스 드라이버로 생성됩니다. "text/plain"
등의 문서 형식에는, 방향에 대한 정보는 포함되지 않습니다. 이 경우, 문서 송신 후, 방향에 대한 정보를 프린터측에서 결정할 수 있습니다. "text/plain"
나 "text/html"
등의 문서 형식에서는, 프린터가 OrientationRequested 속성만을 지원하고 있는 것을 상정하고 있습니다만,"application/postscript"
등에서는 그러한 상정은 없습니다. 인쇄 작업을, 항상 복수의 작업 템플릿 속성의 값으로 제약할 수가 있는 점은, 다른 작업 템플릿 속성과 같습니다. 다만 여기에서는, 일반적으로 OrientationRequested 속성은 프린터가 지원하고 있는 문서 형식의 일부에만 지원되고 있는 점에 주의할 필요가 있습니다.
IPP 호환성:getName()
에 의해 반환되는 카테고리명은 IPP 속성의 이름입니다. 열거의 정수치는 IPP 열거형치입니다. toString()
메소드는, 속성치의 IPP 캐릭터 라인 표현을 돌려줍니다.
필드의 개요 | |
---|---|
static OrientationRequested |
LANDSCAPE
컨텐츠는 매체상에 횡장에 인쇄됩니다. |
static OrientationRequested |
PORTRAIT
컨텐츠는 매체상에 타테나가에 인쇄됩니다. |
static OrientationRequested |
REVERSE_LANDSCAPE
컨텐츠는 매체상에 횡장에 인쇄됩니다만, 풍경과는 거꾸로 됩니다. |
static OrientationRequested |
REVERSE_PORTRAIT
컨텐츠는 매체상에 타테나가에 인쇄됩니다만, 초상화와는 상하 거꾸로 됩니다. |
생성자 의 개요 | |
---|---|
protected |
OrientationRequested (int value)
지정된 정수치를 사용해 새로울 방향 요구 열거치를 구축합니다. |
메소드의 개요 | |
---|---|
Class <? extends Attribute > |
getCategory ()
이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다. |
protected EnumSyntax [] |
getEnumValueTable ()
OrientationRequested 클래스의 열거치 테이블을 돌려줍니다. |
String |
getName ()
속성치가 인스턴스가 되는 카테고리의 이름을 돌려줍니다. |
protected int |
getOffset ()
OrientationRequested 클래스에서 사용되는 최소의 정수치를 돌려줍니다. |
protected String [] |
getStringTable ()
OrientationRequested 클래스의 캐릭터 라인 테이블을 돌려줍니다. |
클래스 javax.print.attribute. EnumSyntax 로부터 상속된 메소드 |
---|
clone , getValue , hashCode , readResolve , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final OrientationRequested PORTRAIT
public static final OrientationRequested LANDSCAPE
public static final OrientationRequested REVERSE_LANDSCAPE
public static final OrientationRequested REVERSE_PORTRAIT
Finishings
속성으로 사용됩니다. 따라서, 일반적인 단순한 마무리 처리 디바이스를 사용해, 헤브라이어등의 중동의 언어의 text/plain
초상화 모드 문서의 우측을 철할 수가 있습니다.
생성자 의 상세 |
---|
protected OrientationRequested(int value)
value
- 정수치메소드의 상세 |
---|
protected String [] getStringTable()
EnumSyntax
내의 getStringTable
protected EnumSyntax [] getEnumValueTable()
EnumSyntax
내의 getEnumValueTable
protected int getOffset()
EnumSyntax
내의 getOffset
public final Class <? extends Attribute > getCategory()
OrientationRequested 클래스의 경우, 카테고리는 OrientationRequested 클래스 자신입니다.
Attribute
내의 getCategory
java.lang.Class
클래스의 인스턴스public final String getName()
OrientationRequested 클래스의 경우, 카테고리명은 orientation-requested
가 됩니다.
Attribute
내의 getName
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.