站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class java.text.MessageFormat (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Class
java.text.MessageFormat

Packages that use MessageFormat
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of MessageFormat in javax.swing
 

Methods in javax.swing with parameters of type MessageFormat
 Printable JTable.getPrintable(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)
          Return a Printable for use in printing this JTable.
 boolean JTable.print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)
          A convenience method that displays a printing dialog, and then prints this JTable in the given printing mode, with the specified header and footer text.
 boolean JTable.print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive)
          Prints this table, as specified by the fully featured print method, with the default printer specified as the print service.
 boolean JTable.print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service)
          Prints this JTable.
 

Uses of MessageFormat in javax.swing.text
 

Methods in javax.swing.text with parameters of type MessageFormat
 Printable JTextComponent.getPrintable(MessageFormat headerFormat, MessageFormat footerFormat)
          Returns a Printable to use for printing the content of this JTextComponent.
 boolean JTextComponent.print(MessageFormat headerFormat, MessageFormat footerFormat)
          A convenience print method that displays a print dialog, and then prints this JTextComponent in interactive mode with the specified header and footer text.
 boolean JTextComponent.print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
          Prints the content of this JTextComponent.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.