public static enum JTable.PrintMode extends Enum<JTable.PrintMode>
JTable
s。
Enum Constant and Description |
---|
FIT_WIDTH
打印模式,将输出的规模较小,如果必要的话,以适应表的整个宽度(从而所有列)在每个页面上的行被传播在多个页面作为必要。
|
NORMAL
打印当前大小的表的打印模式,如果必要的话,在多个页面上扩展列和行。
|
Modifier and Type | Method and Description |
---|---|
static JTable.PrintMode |
valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static JTable.PrintMode[] |
values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
public static final JTable.PrintMode NORMAL
public static final JTable.PrintMode FIT_WIDTH
public static JTable.PrintMode[] values()
对于(jtable.printmode C:JTable。打印模式。values()) 系统,println(C);
public static JTable.PrintMode valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
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, 2014, Oracle and/or its affiliates. All rights reserved.