public class LXPreferences extends Object implements LXSerializable, LXParameterListener
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
BooleanParameter |
focusActivePattern |
BooleanParameter |
focusChannelOnCue |
BooleanParameter |
schedulerEnabled |
BooleanParameter |
sendCueToOutput |
BooleanParameter |
showHelpBar |
DiscreteParameter |
uiZoom |
Modifier | Constructor and Description |
---|---|
protected |
LXPreferences(LX lx) |
Modifier and Type | Method and Description |
---|---|
int |
getWindowHeight() |
int |
getWindowWidth() |
void |
load() |
void |
load(LX lx,
JsonObject object)
Restores this instance from a JSON object
|
void |
loadInitialProject(File overrideProjectFile) |
void |
loadInitialSchedule() |
void |
onParameterChanged(LXParameter p)
Invoked when the value of a parameter is changed.
|
void |
save(LX lx,
JsonObject object)
Serializes this instance into the JSON object
|
protected void |
setProject(File project) |
void |
setSchedule(File schedule) |
void |
setWindowSize(int uiWidth,
int uiHeight) |
public final BooleanParameter focusChannelOnCue
public final BooleanParameter focusActivePattern
public final BooleanParameter sendCueToOutput
public final DiscreteParameter uiZoom
public final BooleanParameter showHelpBar
public final BooleanParameter schedulerEnabled
protected LXPreferences(LX lx)
public void onParameterChanged(LXParameter p)
LXParameterListener
onParameterChanged
in interface LXParameterListener
p
- The parameter that has changed its valuepublic int getWindowWidth()
public int getWindowHeight()
public void setWindowSize(int uiWidth, int uiHeight)
protected void setProject(File project)
public void setSchedule(File schedule)
public void save(LX lx, JsonObject object)
LXSerializable
save
in interface LXSerializable
lx
- LX instanceobject
- Object to serialize intopublic void load(LX lx, JsonObject object)
LXSerializable
load
in interface LXSerializable
lx
- LX instanceobject
- Object to deserializepublic void load()
public void loadInitialProject(File overrideProjectFile)
public void loadInitialSchedule()
LX library by Mark C. Slee. © 2012-2020