|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.PrintUserSettings
public class PrintUserSettings
The DDLUserSettings class stores project-independent DDL settings.
CoreUserSettings,
ETLUserSettings,
DDLUserSettings,
ArchitectSwingUserSettings| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_PRINTER_NAME
|
protected java.util.Properties |
props
A copy of the property list we were constructed with (empty if created from the public no-args constructor). |
| Constructor Summary | |
|---|---|
PrintUserSettings()
Creates a user settings instance initialised to the default values. |
|
| Method Summary | |
|---|---|
static PrintUserSettings |
createFromPropList(java.util.Properties props)
|
java.lang.String |
getDefaultPrinterName()
|
void |
putProperty(java.lang.String name,
java.lang.String value)
This method is only intended for the UserSettings class to deserialize an instance of ETLUserSettings without having to know how to set the properties using their individual setXXX methods. |
void |
setDefaultPrinterName(java.lang.String v)
|
java.util.Properties |
toPropList()
Creates a Properties list and stores all settings to it in a string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_PRINTER_NAME
protected java.util.Properties props
It is necessary to retain the initial list of properties this instance was constructed with because a newer version of the architect may have written additional properties which we don't want to drop when we save back to disk.
| Constructor Detail |
|---|
public PrintUserSettings()
| Method Detail |
|---|
public static PrintUserSettings createFromPropList(java.util.Properties props)
public java.util.Properties toPropList()
public void putProperty(java.lang.String name,
java.lang.String value)
public java.lang.String getDefaultPrinterName()
public void setDefaultPrinterName(java.lang.String v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||