JavaTM Platform
Standard Ed. 6

클래스
java.awt.print.PageFormat 의 사용

PageFormat 를 사용하고 있는 패키지
java.awt.print 이 패키지는, 범용 인쇄 API 로 사용하는 클래스 및 인터페이스를 제공합니다.  
 

java.awt.print 에서의 PageFormat 의 사용
 

PageFormat 를 돌려주는 java.awt.print 의 메소드
 PageFormat PrinterJob. defaultPage ()
          새로운 PageFormat 의 인스턴스를 생성해, 디폴트의 사이즈와 인쇄 방향으로 설정합니다.
abstract  PageFormat PrinterJob. defaultPage (PageFormat  page)
          PageFormat 인수를 복제해, 그 복제를 변경해 디폴트의 페이지 사이즈와 인쇄 방향을 기술합니다.
 PageFormat Pageable. getPageFormat (int pageIndex)
          pageIndex 로 지정된 페이지의 PageFormat 를 돌려줍니다.
 PageFormat Book. getPageFormat (int pageIndex)
          pageIndex 로 지정된 페이지 PageFormat 를 돌려줍니다.
 PageFormat PrinterJob. getPageFormat (PrintRequestAttributeSet  attributes)
          이 작업의 현재의 PrintService 로 지원되는 값과 일치하는 값 (즉,getPrintService() 로 반환되는 값), 및 attributes 에 포함된 미디어, 인쇄 가능 영역, 인쇄 방향을 사용해,PageFormat 를 계산합니다.
abstract  PageFormat PrinterJob. pageDialog (PageFormat  page)
          PageFormat 의 인스턴스를 변경하기 위한 다이얼로그를 표시합니다.
 PageFormat PrinterJob. pageDialog (PrintRequestAttributeSet  attributes)
          공통 플랫폼의 페이지 설정 다이얼로그를 표시하는 편리한 메소드입니다.
abstract  PageFormat PrinterJob. validatePage (PageFormat  page)
          이 PrinterJob 의 현재의 프린터와 호환성이 있도록(듯이) 조정된 설정을 가지는,page 의 복제를 돌려줍니다.
 

PageFormat 형의 파라미터를 가지는 java.awt.print 의 메소드
 void Book. append (Printable  painter, PageFormat  page)
          단일의 페이지를 이 Book 의 마지막에 추가합니다.
 void Book. append (Printable  painter, PageFormat  page, int numPages)
          numPages 페이지를 이 Book 의 마지막에 추가합니다.
abstract  PageFormat PrinterJob. defaultPage (PageFormat  page)
          PageFormat 인수를 복제해, 그 복제를 변경해 디폴트의 페이지 사이즈와 인쇄 방향을 기술합니다.
abstract  PageFormat PrinterJob. pageDialog (PageFormat  page)
          PageFormat 의 인스턴스를 변경하기 위한 다이얼로그를 표시합니다.
 int Printable. print (Graphics  graphics, PageFormat  pageFormat, int pageIndex)
          지정된 인덱스에 있는 페이지를, 지정된 서식에서, 지정된 Graphics 문맥에 인쇄합니다.
 void Book. setPage (int pageIndex, Printable  painter, PageFormat  page)
          지정된 페이지수로 PageFormatPainter 를 설정합니다.
abstract  void PrinterJob. setPrintable (Printable  painter, PageFormat  format)
          지정된 format 로 페이지를 draw 하기 위해서 painter 를 호출합니다.
abstract  PageFormat PrinterJob. validatePage (PageFormat  page)
          이 PrinterJob 의 현재의 프린터와 호환성이 있도록(듯이) 조정된 설정을 가지는,page 의 복제를 돌려줍니다.
 


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 도 참조해 주세요.