Package heronarts.lx.clip
Class LXClipLane
java.lang.Object
heronarts.lx.clip.LXClipLane
- All Implemented Interfaces:
LXSerializable
- Direct Known Subclasses:
MidiNoteClipLane
,ParameterClipLane
,PatternClipLane
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal LXClip
final List<LXClipEvent>
protected static final String
protected final List<LXClipEvent>
final MutableParameter
protected static final String
protected static final String
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LXClipLane
appendEvent
(LXClipEvent event) clearSelection
(double fromBasis, double toBasis) abstract String
getLabel()
protected LXClipLane
insertEvent
(LXClipEvent event) void
load
(LX lx, JsonObject obj) Restores this instance from a JSON objectprotected abstract LXClipEvent
loadEvent
(LX lx, JsonObject eventObj) moveEvent
(LXClipEvent event, double basis) removeEvent
(LXClipEvent event) void
save
(LX lx, JsonObject obj) Serializes this instance into the JSON object
-
Field Details
-
onChange
-
clip
-
mutableEvents
-
events
-
KEY_LANE_TYPE
- See Also:
-
VALUE_LANE_TYPE_PARAMETER
- See Also:
-
VALUE_LANE_TYPE_PATTERN
- See Also:
-
VALUE_LANE_TYPE_MIDI_NOTE
- See Also:
-
-
Constructor Details
-
LXClipLane
-
-
Method Details
-
appendEvent
-
insertEvent
-
moveEvent
-
getLabel
-
clearSelection
-
removeEvent
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobj
- Object to deserialize
-
loadEvent
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobj
- Object to serialize into
-