javax.print.event
클래스 PrintJobAttributeEvent
java.lang.Object
java.util.EventObject
javax.print.event.PrintEvent
javax.print.event.PrintJobAttributeEvent
- 모든 구현된 인터페이스:
- Serializable
public class PrintJobAttributeEvent
- extends PrintEvent
PrintJobAttributeEvent 클래스는, PrintService 가 보고하는 이벤트를 캡슐화해, PrintJob 의 1 개 이상의 인쇄 속성이 변경된 것을 클라이언트가 알 수 있도록(듯이) 합니다.
- 관련 항목:
- 직렬화 된 형식
PrintJobAttributeEvent
public PrintJobAttributeEvent(DocPrintJob source,
PrintJobAttributeSet attributes)
- PrintJobAttributeEvent 를 구축합니다.
- 파라미터:
source
- 이 이벤트를 생성하는 인쇄 작업attributes
- 보고된 속성의 변경
- 예외:
IllegalArgumentException
- source
가
null
의 경우
getPrintJob
public DocPrintJob getPrintJob()
- 이 인쇄 작업의 이벤트가 관련하는 Print Job 를 판정합니다.
- 반환값:
- Print Job 객체
getAttributes
public PrintJobAttributeSet getAttributes()
- 변경된 인쇄 속성과 그 새로운 값을 판정합니다.
- 반환값:
- 변경된 인쇄 작업 속성의 새로운 값을 보관 유지한다
속성. 반환된 세트는 변경할 수 없다
버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다. Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.