JavaTM Platform
Standard Ed. 6

클래스
java.text.MessageFormat 의 사용

MessageFormat 를 사용하고 있는 패키지
javax.swing 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다.  
javax.swing.text 편집 가능한 텍스트 컴퍼넌트와 편집 불능인 텍스트 컴퍼넌트를 처리하는 클래스와 인터페이스를 제공합니다.  
 

javax.swing 에서의 MessageFormat 의 사용
 

MessageFormat 형의 파라미터를 가지는 javax.swing 의 메소드
 Printable JTable. getPrintable (JTable.PrintMode  printMode, MessageFormat  headerFormat, MessageFormat  footerFormat)
          이 JTable 의 인쇄에 사용하는 Printable 를 돌려줍니다.
 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 에서의 MessageFormat 의 사용
 

MessageFormat 형의 파라미터를 가지는 javax.swing.text 의 메소드
 Printable JTextComponent. getPrintable (MessageFormat  headerFormat, MessageFormat  footerFormat)
          이 JTextComponent 의 내용을 인쇄하기 위해서 사용하는 Printable 를 돌려줍니다.
 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

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

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