|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
be.lassi.preferences
Class AllPreferences
java.lang.Objectbe.lassi.preferences.AllPreferences
public class AllPreferences
- extends java.lang.Object
Collection with all preferences in the application.
| Field Summary | |
|---|---|
static java.lang.String |
FILE
The preferences file. |
| Constructor Summary | |
|---|---|
AllPreferences()
Constructs a new instance. |
|
| Method Summary | |
|---|---|
ConnectionPreferences |
getConnectionPreferences()
Gets the lanbox connection properties. |
DisplayPreferences |
getDisplayPreferences()
Gets the display preferences. |
LogOptions |
getLogLassi()
Gets the Lassi lanbox command logging options. |
LogOptions |
getLogLcedit()
Gets the LCedit+ lanbox command logging options. |
MidiPreferences |
getMidiPreferences()
|
MonitorPreferences |
getMonitorPreferences()
Gets the monitor preferences. |
PatchPreferences |
getPatch()
|
SheetPreferences |
getSheetPreferences()
|
StartParameters |
getStartParameters()
|
void |
load()
Loads all preferences from the default preferences file. |
void |
load(java.lang.String filename)
Loads all preferences from given file. |
void |
save()
Saves all preferences to the default preferences file. |
void |
save(java.lang.String filename)
Saves all preferences to the file with given name. |
void |
set(AllPreferences other)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
FILE
public static final java.lang.String FILE
- The preferences file.
- See Also:
- Constant Field Values
| Constructor Detail |
|---|
AllPreferences
public AllPreferences()
- Constructs a new instance.
| Method Detail |
|---|
getConnectionPreferences
public ConnectionPreferences getConnectionPreferences()
- Gets the lanbox connection properties.
- Returns:
- the lanbox connection properties
getDisplayPreferences
public DisplayPreferences getDisplayPreferences()
- Gets the display preferences.
- Returns:
- the display preferences
getLogLassi
public LogOptions getLogLassi()
- Gets the Lassi lanbox command logging options.
- Returns:
- the Lassi logging options
getLogLcedit
public LogOptions getLogLcedit()
- Gets the LCedit+ lanbox command logging options.
- Returns:
- the LCedit+ logging options
getMidiPreferences
public MidiPreferences getMidiPreferences()
getMonitorPreferences
public MonitorPreferences getMonitorPreferences()
- Gets the monitor preferences.
- Returns:
- the monitor preferences
getPatch
public PatchPreferences getPatch()
getSheetPreferences
public SheetPreferences getSheetPreferences()
getStartParameters
public StartParameters getStartParameters()
load
public void load()
throws java.io.IOException
- Loads all preferences from the default preferences file.
- Throws:
java.io.IOException
load
public void load(java.lang.String filename)
throws java.io.IOException
- Loads all preferences from given file.
- Parameters:
filename- the name of the file from which to load the preferences- Throws:
java.io.IOException
save
public void save()
throws java.io.FileNotFoundException
- Saves all preferences to the default preferences file.
- Throws:
java.io.FileNotFoundException
save
public void save(java.lang.String filename)
throws java.io.FileNotFoundException
- Saves all preferences to the file with given name.
- Parameters:
filename- the name of the file to which to save the preferences- Throws:
java.io.FileNotFoundException
set
public void set(AllPreferences other)
|
Lighting Assistant 1.2 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
be.lassi.preferences.AllPreferences