public class PrinterProperties extends PropertyList
PropertyList.NullPropertyList
Modifier and Type | Field and Description |
---|---|
static String |
AVAILABLE_PRINTERS
This property is a comma separated list of printers, each in the form
|
static String |
CHOSEN_PRINTER
This property is a String which is the name of the printer
that was chosen.
|
static String |
DEFAULT_PRINTER
This property is a String which is the name of the printer
that was chosen.
|
static String |
PRINT_DIALOG_TITLE |
static String |
PRINTER_CONTROL
This property is a PrinterControl object.
|
static String |
VALUE_AVAILABLE_PRINTERS_DONT_SHOW_LIST
This is a possible value for the AVAILABLE_PRINTERS property and
indicates that the printer dialog should not display or allow
the use to change the available printer.
|
nullPropertyList
capacityIncrement, elementCount, elementData
serialVersionUID
Constructor and Description |
---|
PrinterProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getChosen() |
String |
getDefault() |
PrinterControl |
getPrinterControl() |
void |
setPrinterControl(PrinterControl pc) |
_getSetField, add, add, add, add, defaultTo, defaultTo, fromHashtable, fromStrings, get, get, getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getLong, getNames, getProperties, getProperties, getProperties, getPropertyValues, getSetProperties, getString, getString, getStrings, getValue, getValue, getValue, getValue, getValue, make, readConfigFile, remove, set, set, set, set, setBoolean, setClassValue, setDouble, setInt, setLong, setStrings, toHashtable, toPropertyList
add, add, addAll, addAll, addAll, addAll, addCopiesFrom, cacheAllElements, clear, compareTo, copied, copyCopiesFrom, copyFrom, copyInto, copyInto, del, find, get, getCopy, getCount, getFullCopy, getNew, insert, iterator, newVector, pop, push, size, toArray, toArray, toArray, toArray, toArray, toObjectArray, toString
add, addAll, addAll, addElement, capacity, clone, contains, containsAll, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, setElementAt, setSize, size, trimToSize
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public static final String CHOSEN_PRINTER
public static final String DEFAULT_PRINTER
public static final String AVAILABLE_PRINTERS
public static final String VALUE_AVAILABLE_PRINTERS_DONT_SHOW_LIST
public static final String PRINTER_CONTROL
public static final String PRINT_DIALOG_TITLE
public String getChosen()
public String getDefault()
public PrinterControl getPrinterControl()
public void setPrinterControl(PrinterControl pc)