public class PrintDefaults extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XMLKEY_PRINT_DEFAULTS
XML Element name used for reading/writing as an XML string
|
Modifier and Type | Method and Description |
---|---|
static void |
setFromXML(String xmlString)
This method sets the print default attributes with properly formatted
String xml element. |
static String |
toXMLString()
This method creates a
String that contains an xml element of
the print default attributes. |
public static final String XMLKEY_PRINT_DEFAULTS
public static String toXMLString()
String
that contains an xml element of
the print default attributes. The print default attributes are used to
set the default values in the custom print dialog. This
String
can be stored and used to set the default print
attributes.String
containing an xml element of the print defaults.setFromXML(String)
public static void setFromXML(String xmlString)
String
xml element.toXMLString()