Package heronarts.lx
Class LXPreferences
java.lang.Object
heronarts.lx.LXPreferences
- All Implemented Interfaces:
LXSerializable
,LXParameterListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal BooleanParameter
final BooleanParameter
final BooleanParameter
final BooleanParameter
final BooleanParameter
final BooleanParameter
final BooleanParameter
final StringParameter
final DiscreteParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
void
load()
void
load
(LX lx, JsonObject object) Restores this instance from a JSON objectvoid
loadEULA()
void
loadInitialProject
(File overrideProjectFile) void
void
Invoked when the value of a parameter is changed.void
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectprotected void
setProject
(File project) void
setSchedule
(File schedule) void
setWindowPosition
(int windowPosX, int windowPosY) void
setWindowSize
(int windowWidth, int windowHeight) void
setWindowSize
(int windowWidth, int windowHeight, int windowPosX, int windowPosY)
-
Field Details
-
eulaAccepted
-
focusChannelOnCue
-
focusActivePattern
-
sendCueToOutput
-
uiZoom
-
showHelpBar
-
schedulerEnabled
-
showCpuLoad
-
uiTheme
-
-
Constructor Details
-
LXPreferences
-
-
Method Details
-
onParameterChanged
Description copied from interface:LXParameterListener
Invoked when the value of a parameter is changed.- Specified by:
onParameterChanged
in interfaceLXParameterListener
- Parameters:
p
- The parameter that has changed its value
-
getWindowWidth
public int getWindowWidth() -
getWindowHeight
public int getWindowHeight() -
setWindowSize
public void setWindowSize(int windowWidth, int windowHeight) -
setWindowSize
public void setWindowSize(int windowWidth, int windowHeight, int windowPosX, int windowPosY) -
getWindowPosX
public int getWindowPosX() -
getWindowPosY
public int getWindowPosY() -
setWindowPosition
public void setWindowPosition(int windowPosX, int windowPosY) -
setProject
-
setSchedule
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to serialize into
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to deserialize
-
loadEULA
public void loadEULA() -
load
public void load() -
loadInitialProject
-
loadInitialSchedule
public void loadInitialSchedule()
-