Package heronarts.lx

Interface LXSerializable

All Known Implementing Classes:
AbstractDmxModulator, Accelerator, Accumulator, AddBlend, ADM, ADM.Obj, AHDSREnvelope, AlternatingPattern, APC40, APC40Mk2, APCmini, ArcFixture, ArtNetDatagram, ArtSyncDatagram, BandGate, BlurEffect, BooleanLogic, BurnBlend, ChasePattern, ChevronPattern, Click, ColorizeEffect, ColorMaskEffect, ComparatorModulator, DampedParameter, Damper, DarkestBlend, DDPDatagram, DDPOutputGroup, DecibelMeter, DifferenceBlend, DissolveBlend, DJM900nxs2, DJMA9, DJMV10, DmxColorModulator, DmxModulator, DmxPattern, DodgeBlend, DynamicsEffect, Envelop, Envelop.Decode, Envelop.MultiMeter, Envelop.Source, FadecandySocket, FocusedPatternControls, FunctionalModulator, GateEffect, GeometryTestPattern, GradientPattern, GraphicEqualizerPattern, GraphicMeter, GridFixture, GridModel, GridModel.Strip, HighlightBlend, HistoryBuffer, HueSaturationEffect, ImageMaskEffect, ImagePattern, ImagePattern.Image, Interval, InvertEffect, JsonFixture, KinetDatagram, LifePattern, LifePattern, LightestBlend, LinearEnvelope, LXAbstractChannel, LXAbstractChannelClip, LXAudioComponent, LXAudioEngine, LXAudioEngine.Meter, LXAudioInput, LXAudioOutput, LXBasicFixture, LXBlend, LXBlend.FunctionalBlend, LXBufferOutput, LXBus, LXChannel, LXChannelClip, LXClip, LXClipEngine, LXClipEvent, LXClipLane, LXClipSnapshot, LXComponent, LXCompoundModulation, LXDatagram, LXDeviceComponent, LXDmxEngine, LXDynamicColor, LXEffect, LXEffect.Placeholder, LXEngine, LXEngine.Output, LXFixture, LXFixture.Submodel, LXGlobalSnapshot, LXGroup, LXGroupClip, LXLayer, LXLayeredComponent, LXMasterBus, LXMasterClip, LXMidiEngine, LXMidiInput, LXMidiMapping, LXMidiMapping.ControlChange, LXMidiMapping.Note, LXMidiSurface, LXMixerEngine, LXModel, LXModelComponent, LXModelEffect, LXModelLayer, LXModelPattern, LXModulationEngine, LXModulator, LXModulator.Placeholder, LXModulatorComponent, LXOscEngine, LXOutput, LXOutputGroup, LXPalette, LXParameterModulation, LXPattern, LXPattern.Placeholder, LXPeriodicModulator, LXPreferences, LXProtocolFixture, LXRangeModulator, LXRegistry, LXRegistry.Plugin, LXRunnableComponent, LXScheduledProject, LXScheduler, LXSnapshot, LXSnapshot.ActivePatternView, LXSnapshot.ChannelFaderView, LXSnapshot.ParameterView, LXSnapshot.View, LXSnapshotEngine, LXSocket, LXStructure, LXStructureOutput, LXStudio.Registry, LXStudio.UI, LXSwatch, LXTriggerModulation, LXVariablePeriodModulator, LXView, LXViewDefinition, LXViewEngine, MacroKnobs, MacroSwitches, MacroTriggers, MidiFighterTwister, MidiNoteClipEvent, MidiNoteClipLane, MidiNoteTrigger, MultiModeEnvelope, MultiplyBlend, MultiStageEnvelope, MultiStageEnvelope.Stage, MultiTrig, NoiseModulator, NoisePattern, NormalBlend, OPCDatagram, OPCSocket, OperatorModulator, OrboxPattern, ParameterClipEvent, ParameterClipLane, PatternClipEvent, PatternClipLane, PlanesPattern, PlanesPattern.Plane, PointFixture, PointListFixture, QuadraticEnvelope, Randomizer, Reaper, SawLFO, Scaler, ScreenBlend, ScriptEffect, ScriptPattern, SinLFO, SlideshowPattern, SlideshowPattern.Image, Smoother, SolidPattern, SoundObject, SoundObjectEffect, SoundObjectPattern, SoundStage, SparkleEffect, SparklePattern, SpiralFixture, SpotlightBlend, Spring, SquareLFO, StepSequencer, StreamingACNDatagram, StripFixture, StripModel, StrobeEffect, SubtractBlend, Tempo, TestPattern, Timer, TriangleLFO, UI3dContext, UI3dContext.Camera, UIAxes, UIGrid, UIPointCloud, UIPreviewWindow, VariableLFO

public interface LXSerializable
Interface for any object that may be stored and loaded from a serialized file using Json.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Static container for utility methods
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(LX lx, JsonObject object)
    Restores this instance from a JSON object
    void
    save(LX lx, JsonObject object)
    Serializes this instance into the JSON object
  • Method Details

    • save

      void save(LX lx, JsonObject object)
      Serializes this instance into the JSON object
      Parameters:
      lx - LX instance
      object - Object to serialize into
    • load

      void load(LX lx, JsonObject object)
      Restores this instance from a JSON object
      Parameters:
      lx - LX instance
      object - Object to deserialize