| 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<JTable.PrintMode>
javax.swing.JTable.PrintMode
public static enum JTable.PrintMode
用于打印 JTable 的打印模式。
JTable.print(JTable.PrintMode, MessageFormat, MessageFormat, boolean, PrintRequestAttributeSet, boolean),
JTable.getPrintable(javax.swing.JTable.PrintMode, java.text.MessageFormat, java.text.MessageFormat)| 枚举常量摘要 | |
|---|---|
FIT_WIDTH
按比例将输出缩小的打印模式(如果必要),以便每页可以放入表的整个宽度(这样就能够放入所有的列);如果必要,行可以分散到多页。  | 
|
NORMAL
以表的当前尺寸进行打印的打印模式,如果必要,把行和列分散到多页。  | 
|
| 方法摘要 | |
|---|---|
static JTable.PrintMode | 
valueOf(String name)
返回带有指定名称的该类型的枚举常量。  | 
static JTable.PrintMode[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared.  | 
| 从类 java.lang.Enum 继承的方法 | 
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| 从类 java.lang.Object 继承的方法 | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| 枚举常量详细信息 | 
|---|
public static final JTable.PrintMode NORMAL
public static final JTable.PrintMode FIT_WIDTH
| 方法详细信息 | 
|---|
public static final JTable.PrintMode[] values()
for(JTable.PrintMode c : JTable.PrintMode.values())
        System.out.println(c);
public static JTable.PrintMode valueOf(String name)
指定要返回的枚举常量的名称。 -
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException
  | 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。