public class DmxUniverse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DmxUniverseConfig |
config |
protected byte[] |
frameData |
protected boolean |
isActive |
protected boolean |
isEnabled |
protected ArtNetNode |
node |
Constructor and Description |
---|
DmxUniverse(ArtNetNode node,
DmxUniverseConfig config) |
Modifier and Type | Method and Description |
---|---|
DmxUniverseConfig |
getConfig() |
java.lang.String |
getID() |
ArtNetNode |
getNode() |
int |
getNumChannels() |
ArtDmxPacket |
getPacket(int sequenceID) |
boolean |
isActive() |
boolean |
isEnabled() |
void |
setActive(boolean isActive) |
void |
setChannel(int offset,
int val) |
void |
setEnabled(boolean isEnabled) |
void |
setNode(ArtNetNode node) |
void |
setRGBPixel(int offset,
int col) |
java.lang.String |
toString() |
protected final DmxUniverseConfig config
protected final byte[] frameData
protected ArtNetNode node
protected boolean isEnabled
protected boolean isActive
public DmxUniverse(ArtNetNode node, DmxUniverseConfig config)
public DmxUniverseConfig getConfig()
public java.lang.String getID()
public ArtNetNode getNode()
public int getNumChannels()
public ArtDmxPacket getPacket(int sequenceID)
public boolean isActive()
public boolean isEnabled()
public void setActive(boolean isActive)
isActive
- the isActive to sunsetTimepublic void setChannel(int offset, int val)
public void setEnabled(boolean isEnabled)
isEnabled
- the isEnabled to sunsetTimepublic void setNode(ArtNetNode node)
node
- the node to sunsetTimepublic void setRGBPixel(int offset, int col)
public java.lang.String toString()
toString
in class java.lang.Object