DialogTypeSelection is a printing attribute class, an
enumeration, that indicates the user dialog type to be used for specifying
printing options. If NATIVE is specified, then where available, a
native platform dialog is displayed. If COMMON is specified, a
cross-platform print dialog is displayed.
This option to specify a native dialog for use with an IPP attribute set provides a standard way to reflect back of the setting and option changes made by a user to the calling application, and integrates the native dialog into the Java printing APIs. But note that some options and settings in a native dialog may not necessarily map to IPP attributes as they may be non-standard platform, or even printer specific options.
IPP Compatibility: This is not an IPP attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final DialogTypeSelection | COMMON
The cross-platform print dialog should be used. |
| private static final DialogTypeSelection[] | myEnumValueTable
The enumeration value table for class
|
| private static final String[] | myStringTable
The string table for class |
| public static final DialogTypeSelection | NATIVE
The native platform print dialog should be used. |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.7 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| protected | DialogTypeSelection(int
Integer value value)Constructs a new dialog type selection enumeration value with the given integer value. |
| Modifier and Type | Method and Description |
|---|---|
| public final Class | Returns: printing attribute class (category), an instance of classjava.Implements javax. Gets the printing attribute class which is to be used as the "category" for this printing attribute value. |
| protected EnumSyntax[] | getEnumValueTable()
Overrides javax. Returns the enumeration value table for class
|
| public final String | Returns: attribute category nameImplements javax. Gets the name of the category of which this attribute value is an instance. |
| protected String[] | getStringTable()
Overrides javax. Returns the string table for class |
| COMMON | back to summary |
|---|---|
| public static final DialogTypeSelection COMMON The cross-platform print dialog should be used. | |
| myEnumValueTable | back to summary |
|---|---|
| private static final DialogTypeSelection[] myEnumValueTable The enumeration value table for class
| |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| NATIVE | back to summary |
|---|---|
| public static final DialogTypeSelection NATIVE The native platform print dialog should be used. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.7 for interoperability. | |
| DialogTypeSelection | back to summary |
|---|---|
| protected DialogTypeSelection(int value) Constructs a new dialog type selection enumeration value with the given integer value.
| |
| getCategory | back to summary |
|---|---|
| public final Class Implements javax. Gets the printing attribute class which is to be used as the "category" for this printing attribute value.
For class
| |
| getEnumValueTable | back to summary |
|---|---|
| protected EnumSyntax[] getEnumValueTable() Overrides javax. Returns the enumeration value table for class
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements javax. Gets the name of the category of which this attribute value is an instance.
For class | |
| getStringTable | back to summary |
|---|---|
| protected String[] getStringTable() Overrides javax. Returns the string table for class
| |