Package org.bidib.wizard.mvc.dmx.model
Class DmxSceneryModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.dmx.model.DmxSceneryModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable,DmxEnvironmentProvider
public class DmxSceneryModel extends com.jgoodies.binding.beans.Model implements DmxEnvironmentProvider
TheDmxSceneryModelholds all information of the selected node that is needed for DMX modeling. It has a list of theDmxSceneryinstances.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_BACKLIGHTPORTSstatic StringPROPERTY_DMX_CHANNELSstatic StringPROPERTY_LIGHTPORTSstatic StringPROPERTY_MACROSstatic StringPROPERTY_SCENERIES
-
Constructor Summary
Constructors Constructor Description DmxSceneryModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddScenery(DmxScenery scenery)List<org.bidib.wizard.model.ports.BacklightPort>getBacklightPorts()List<org.bidib.wizard.model.ports.DmxChannel>getDmxChannels()List<org.bidib.wizard.model.ports.DmxLightPort>getLightPorts()List<org.bidib.wizard.api.model.Macro>getMacros()List<DmxScenery>getSceneries()voidsetBacklightPorts(List<org.bidib.wizard.model.ports.BacklightPort> backlightPorts)voidsetDmxChannels(List<org.bidib.wizard.model.ports.DmxChannel> dmxChannels)voidsetLightPorts(List<org.bidib.wizard.model.ports.DmxLightPort> lightPorts)voidsetMacros(List<org.bidib.wizard.api.model.Macro> macros)voidsetSceneries(List<DmxScenery> sceneries)-
Methods inherited from class com.jgoodies.binding.beans.Model
createPropertyChangeSupport, firePropertyChange
-
Methods inherited from class com.jgoodies.common.bean.Bean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
-
-
-
Field Detail
-
PROPERTY_SCENERIES
public static final String PROPERTY_SCENERIES
- See Also:
- Constant Field Values
-
PROPERTY_DMX_CHANNELS
public static final String PROPERTY_DMX_CHANNELS
- See Also:
- Constant Field Values
-
PROPERTY_LIGHTPORTS
public static final String PROPERTY_LIGHTPORTS
- See Also:
- Constant Field Values
-
PROPERTY_BACKLIGHTPORTS
public static final String PROPERTY_BACKLIGHTPORTS
- See Also:
- Constant Field Values
-
PROPERTY_MACROS
public static final String PROPERTY_MACROS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBacklightPorts
public List<org.bidib.wizard.model.ports.BacklightPort> getBacklightPorts()
- Specified by:
getBacklightPortsin interfaceDmxEnvironmentProvider- Returns:
- the backlightPorts
-
setBacklightPorts
public void setBacklightPorts(List<org.bidib.wizard.model.ports.BacklightPort> backlightPorts)
- Parameters:
backlightPorts- the backlightPorts to set
-
getLightPorts
public List<org.bidib.wizard.model.ports.DmxLightPort> getLightPorts()
- Specified by:
getLightPortsin interfaceDmxEnvironmentProvider- Returns:
- the lightPorts
-
setLightPorts
public void setLightPorts(List<org.bidib.wizard.model.ports.DmxLightPort> lightPorts)
- Parameters:
lightPorts- the lightPorts to set
-
getSceneries
public List<DmxScenery> getSceneries()
- Returns:
- the sceneries
-
addScenery
public void addScenery(DmxScenery scenery)
- Parameters:
scenery- the scenery to add
-
setSceneries
public void setSceneries(List<DmxScenery> sceneries)
- Parameters:
sceneries- the sceneries to set
-
getDmxChannels
public List<org.bidib.wizard.model.ports.DmxChannel> getDmxChannels()
- Specified by:
getDmxChannelsin interfaceDmxEnvironmentProvider- Returns:
- the dmxChannels
-
setDmxChannels
public void setDmxChannels(List<org.bidib.wizard.model.ports.DmxChannel> dmxChannels)
- Parameters:
dmxChannels- the dmxChannels to set
-
getMacros
public List<org.bidib.wizard.api.model.Macro> getMacros()
- Returns:
- the macros
-
setMacros
public void setMacros(List<org.bidib.wizard.api.model.Macro> macros)
- Parameters:
macros- the macros to set
-
-