SupportedValuesAttribute

SupportedValuesAttribute (지원 값 속성)

SupportedValuesAttribute는 인쇄 속성 클래스가 다른 속성의 지원되는 값을 나타냄을 표시하는 태깅(tagging) 인터페이스예요. 예를 들어 인쇄 서비스(Print Service) 인스턴스가 Copies 속성을 지원하면, 해당 인스턴스는 클라이언트가 Copies 속성에 지정할 수 있는 합법적인 값을 주는 SupportedValuesAttributeCopiesSupported 속성을 가져요.

출처: Java API Reference

본문

이 인터페이스는 Attribute 인터페이스를 확장하며, getCategory()getName() 메서드를 상속받아요.

SupportedValuesAttribute를 구현하는 알려진 클래스로는 CopiesSupported, JobImpressionsSupported, JobKOctetsSupported, JobMediaSheetsSupported, JobPrioritySupported, NumberUpSupported가 있어요.

더 알아보기