Class DmxScenery

  • All Implemented Interfaces:
    com.jgoodies.common.bean.ObservableBean, com.jgoodies.common.bean.ObservableBean2, Serializable

    public class DmxScenery
    extends com.jgoodies.binding.beans.Model
    The DmxScenery holds the data of a single scenery. The single scenery contains points of one or more DMX channels.
    See Also:
    Serialized Form
    • Constructor Detail

      • DmxScenery

        public DmxScenery​(String id)
        Creates a new instance of DmxScenery with the provided scenery id.
        Parameters:
        id - the scenery id
    • Method Detail

      • getId

        public String getId()
        Returns:
        the scenery id
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • getUsedChannels

        public List<org.bidib.wizard.model.ports.DmxChannel> getUsedChannels()
        Returns:
        the usedChannels
      • setUsedChannels

        public void setUsedChannels​(List<org.bidib.wizard.model.ports.DmxChannel> usedChannels)
        Parameters:
        usedChannels - the usedChannels to set
      • addUsedChannels

        public void addUsedChannels​(List<org.bidib.wizard.model.ports.DmxChannel> usedChannels)
        Parameters:
        usedChannels - the usedChannels to add
      • addUsedChannel

        public void addUsedChannel​(org.bidib.wizard.model.ports.DmxChannel usedChannel)
        Parameters:
        usedChannel - the usedChannel to add
      • removeUsedChannel

        public void removeUsedChannel​(org.bidib.wizard.model.ports.DmxChannel usedChannel)
        Parameters:
        usedChannel - the usedChannel to remove
      • getSceneryPoints

        public List<DmxSceneryPoint> getSceneryPoints()
        Returns:
        the sceneryPoints
      • setSceneryPoints

        public void setSceneryPoints​(List<DmxSceneryPoint> sceneryPoints)
        Parameters:
        sceneryPoints - the sceneryPoints to set
      • getMacroNumber

        public Integer getMacroNumber()
        Returns:
        the macroNumber
      • setMacroNumber

        public void setMacroNumber​(Integer macroNumber)
        Parameters:
        macroNumber - the macroNumber to set
      • withDmxScenery

        public DmxScenery withDmxScenery​(DmxEnvironmentProvider dmxEnvironmentProvider,
                                         org.bidib.jbidibc.exchange.dmxscenery.DmxSceneryType dmxScenery)
      • withDmxChannel

        public org.bidib.wizard.model.ports.DmxChannel withDmxChannel​(org.bidib.wizard.model.ports.DmxChannel dmxChannel,
                                                                      DmxEnvironmentProvider dmxEnvironmentProvider,
                                                                      org.bidib.jbidibc.exchange.dmxscenery.DmxChannelType dmxChannelType)
      • fromDmxScenery

        public org.bidib.jbidibc.exchange.dmxscenery.DmxSceneryType fromDmxScenery()