|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
PrinterException 를 사용하고 있는 패키지 | |
---|---|
java.awt.print | 이 패키지는, 범용 인쇄 API 로 사용하는 클래스 및 인터페이스를 제공합니다. |
javax.swing | 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다. |
javax.swing.text | 편집 가능한 텍스트 컴퍼넌트와 편집 불능인 텍스트 컴퍼넌트를 처리하는 클래스와 인터페이스를 제공합니다. |
java.awt.print 에서의 PrinterException 의 사용 |
---|
java.awt.print 에서의 PrinterException 의 서브 클래스 | |
---|---|
class |
PrinterAbortException
PrinterAbortException 클래스는 PrinterException 의 서브 클래스에서, 인쇄중에서 만난 사용자 또는 어플리케이션의 인쇄 작업이 종료한 것을 나타내기 위해서(때문에) 사용합니다. |
class |
PrinterIOException
PrinterIOException 클래스는 PrinterException 의 서브 클래스에서, 인쇄중에 하등의 IO 에러가 발생한 것을 나타내기 위해서(때문에) 사용됩니다. |
PrinterException 를 throw 하는 java.awt.print 의 메소드 | |
---|---|
abstract void |
PrinterJob. print ()
페이지세트를 인쇄합니다. |
int |
Printable. print (Graphics graphics,
PageFormat pageFormat,
int pageIndex)
지정된 인덱스에 있는 페이지를, 지정된 서식에서, 지정된 Graphics 문맥에 인쇄합니다. |
void |
PrinterJob. print (PrintRequestAttributeSet attributes)
속성 세트의 설정을 사용해 페이지세트를 인쇄합니다. |
void |
PrinterJob. setPrintService (PrintService service)
이 PrinterJob 를 새로운 PrintService 에 관련짓습니다. |
javax.swing 에서의 PrinterException 의 사용 |
---|
PrinterException 를 throw 하는 javax.swing 의 메소드 | |
---|---|
boolean |
JTable. print ()
인쇄 다이얼로그를 표시해, 이 JTable 를, 모드 PrintMode.FIT_WIDTH 로, 헤더 텍스트 또는 풋터 텍스트를 지정하지 않고 인쇄하는 편리한 메소드입니다. |
boolean |
JTable. print (JTable.PrintMode printMode)
인쇄 다이얼로그를 표시해, 이 JTable 를, 지정된 인쇄 모드로, 헤더 텍스트 또는 풋터 텍스트를 지정하지 않고 인쇄하는 편리한 메소드입니다. |
boolean |
JTable. print (JTable.PrintMode printMode,
MessageFormat headerFormat,
MessageFormat footerFormat)
인쇄 다이얼로그를 표시해, 이 JTable 를, 지정된 인쇄 모드로, 헤더 텍스트 또는 풋터 텍스트를 지정해 인쇄하는 편리한 메소드입니다. |
boolean |
JTable. print (JTable.PrintMode printMode,
MessageFormat headerFormat,
MessageFormat footerFormat,
boolean showPrintDialog,
PrintRequestAttributeSet attr,
boolean interactive)
완전 지정의 print 메소드로 지정된 것처럼, 인쇄 서비스로서 지정된 디폴트 프린터를 사용해, 이 테이블을 인쇄합니다. |
boolean |
JTable. print (JTable.PrintMode printMode,
MessageFormat headerFormat,
MessageFormat footerFormat,
boolean showPrintDialog,
PrintRequestAttributeSet attr,
boolean interactive,
PrintService service)
이 JTable 를 인쇄합니다. |
javax.swing.text 에서의 PrinterException 의 사용 |
---|
PrinterException 를 throw 하는 javax.swing.text 의 메소드 | |
---|---|
boolean |
JTextComponent. print ()
인쇄 다이얼로그를 표시해, 대화형 모드로, 헤더 텍스트 또는 풋터 텍스트를 지정하지 않고 이 JTextComponent 를 인쇄하는 간이 인쇄 메소드입니다. |
boolean |
JTextComponent. print (MessageFormat headerFormat,
MessageFormat footerFormat)
인쇄 다이얼로그를 표시해, 대화형 모드로, 헤더 텍스트 및 풋터 텍스트를 지정해 이 JTextComponent 를 인쇄하는 간이 인쇄 메소드입니다. |
boolean |
JTextComponent. print (MessageFormat headerFormat,
MessageFormat footerFormat,
boolean showPrintDialog,
PrintService service,
PrintRequestAttributeSet attributes,
boolean interactive)
이 JTextComponent 의 내용을 인쇄합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.