public class MediaName extends Media implements Attribute
这个属性可以用来代替指定mediasize或mediatray。
类medianame目前宣布的几个标准的媒体名称。实施或网站定义名称为媒体名称属性也可以通过定义类的子类创建medianame。
聚丙烯的相容性: medianame是表示类的价值观的“媒体”属性的名字等媒体。
Modifier and Type | Field and Description |
---|---|
static MediaName |
ISO_A4_TRANSPARENT
A4透明。
|
static MediaName |
ISO_A4_WHITE
白色A4纸。
|
static MediaName |
NA_LETTER_TRANSPARENT
信的透明度。
|
static MediaName |
NA_LETTER_WHITE
白信纸。
|
Modifier | Constructor and Description |
---|---|
protected |
MediaName(int value)
用给定的整数构造一个新的媒体名称枚举值。
|
Modifier and Type | Method and Description |
---|---|
protected EnumSyntax[] |
getEnumValueTable()
返回舱mediatray枚举值表。
|
protected String[] |
getStringTable()
返回舱mediatray字符串表。
|
equals, getCategory, getName
clone, getOffset, getValue, hashCode, readResolve, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCategory, getName
public static final MediaName NA_LETTER_WHITE
public static final MediaName NA_LETTER_TRANSPARENT
public static final MediaName ISO_A4_WHITE
public static final MediaName ISO_A4_TRANSPARENT
protected String[] getStringTable()
getStringTable
方法重写,继承类
EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
方法重写,继承类
EnumSyntax
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.