JavaTM Platform
Standard Ed. 6

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 인스턴스가 보고하는 이벤트를 캡슐화해, 클라이언트가 인쇄 서비스 상태의 변경을 알 수 있도록(듯이) 합니다.

관련 항목:
직렬화 된 형식

필드의 개요
 
클래스 java.util. EventObject 로부터 상속된 필드
source
 
생성자 의 개요
PrintServiceAttributeEvent (PrintService  source, PrintServiceAttributeSet  attributes)
          PrintServiceAttributeEvent 객체를 구축합니다.
 
메소드의 개요
 PrintServiceAttributeSet getAttributes ()
          변경된 인쇄 서비스 속성과 그 새로운 값을 판정합니다.
 PrintService getPrintService ()
          인쇄 서비스를 돌려줍니다.
 
클래스 javax.print.event. PrintEvent 로부터 상속된 메소드
toString
 
클래스 java.util. EventObject 로부터 상속된 메소드
getSource
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

PrintServiceAttributeEvent

public PrintServiceAttributeEvent(PrintService  source,
                                  PrintServiceAttributeSet  attributes)
PrintServiceAttributeEvent 객체를 구축합니다.

파라미터:
source - 이 이벤트를 생성하는 인쇄 작업
attributes - 보고된 속성의 변경
예외:
IllegalArgumentException - sourcenull 의 경우
메소드의 상세

getPrintService

public PrintService  getPrintService()
인쇄 서비스를 돌려줍니다.

반환값:
Print Service 객체

getAttributes

public PrintServiceAttributeSet  getAttributes()
변경된 인쇄 서비스 속성과 그 새로운 값을 판정합니다.

반환값:
변경된 서비스 속성의 새로운 값을 보관 유지한다 속성. 반환된 세트는 변경할 수 없다

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.