Uses of Class
java.text.MessageFormat
Packages that useMessageFormat Package Description 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 ofMessageFormat injavax.swing
Methods injavax.swing with parameters of typeMessageFormat Modifier and Type Method Description PrintableJTable. getPrintable(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat)Return aPrintablefor use in printing this JTable.booleanJTable. print(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat)A convenience method that displays a printing dialog, and then prints thisJTablein the given printing mode, with the specified header and footer text.booleanJTable. print(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat, boolean showPrintDialog,PrintRequestAttributeSet attr, boolean interactive)Prints this table, as specified by the fully featuredprintmethod, with the default printer specified as the print service.booleanJTable. print(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat, boolean showPrintDialog,PrintRequestAttributeSet attr, boolean interactive,PrintService service)Prints thisJTable.Uses ofMessageFormat injavax.swing.text
Methods injavax.swing.text with parameters of typeMessageFormat Modifier and Type Method Description PrintableJTextComponent. getPrintable(MessageFormat headerFormat,MessageFormat footerFormat)Returns aPrintableto use for printing the content of thisJTextComponent.booleanJTextComponent. print(MessageFormat headerFormat,MessageFormat footerFormat)A convenience print method that displays a print dialog, and then prints thisJTextComponentininteractive mode with the specified header and footer text.booleanJTextComponent. print(MessageFormat headerFormat,MessageFormat footerFormat, boolean showPrintDialog,PrintService service,PrintRequestAttributeSet attributes, boolean interactive)Prints the content of thisJTextComponent.