NumberUpSupported
NumberUpSupported (지원되는 NumberUp 값)
NumberUp 속성에 대해 지원되는 값을 주는 정수 집합(셋) 인쇄 속성 클래스예요.
본문
IPP 호환성: NumberUpSupported 속성의 정규 배열 형태(canonical array form)는 IPP "number-up-supported" 속성에 포함될 각 number-up 범위의 하한과 상한을 줘요. 정규 배열 형태에 대한 설명은 SetOfIntegerSyntax 클래스를 참고하세요. getName()이 반환하는 카테고리 이름이 IPP 속성 이름을 줘요.
생성자 요약
- NumberUpSupported(int[][] members) — 주어진 멤버로 새 number up supported 속성을 생성해요.
NumberUp의 지원 값은 "배열 형태"로 지정돼요. 배열 형태에 대한 설명은SetOfIntegerSyntax클래스를 참고하세요.members가 null이거나 요소가 null이면NullPointerException, 요소가 길이 1 또는 2 배열이 아니거나members가 길이 0 배열이거나 집합 멤버가 1보다 작으면IllegalArgumentException을 던져요. - NumberUpSupported(int member) — 단일 정수를 포함하는 새 number up supported 속성을 생성해요. 즉
NumberUp의 한 값만 지원돼요.member < 1이면IllegalArgumentException을 던져요. - NumberUpSupported(int lowerBound, int upperBound) — 단일 정수 범위를 포함하는 새 number up supported 속성을 생성해요. 즉 한 범위의
NumberUp값만 지원돼요. null 범위가 지정되거나lowerBound가 1보다 작은 비-null 범위가 지정되면IllegalArgumentException을 던져요.
메서드 요약
- boolean equals(Object object) — 이 number up supported 속성이 전달받은 객체와 동등한지 여부를 반환해요. 동등하려면
object가 null이 아니고,NumberUpSupported클래스의 인스턴스이며, 두 멤버 집합이 같아야 해요. - final Class<? extends Attribute> getCategory() — 이 인쇄 속성 값의 "카테고리"로 사용할 인쇄 속성 클래스를 가져와요.
NumberUpSupported클래스의 카테고리는NumberUpSupported클래스 자체예요. - final String getName() — 이 속성 값이 인스턴스인 카테고리의 이름을 가져와요.
NumberUpSupported클래스의 카테고리 이름은"number-up-supported"예요.