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.
|
Modifier and Type | Method and Description |
---|---|
static JTable.PrintMode |
JTable.PrintMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JTable.PrintMode[] |
JTable.PrintMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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)
A convenience method that displays a printing dialog, and then prints
this
JTable in the given printing mode,
with no header or footer text. |
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 . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.