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