|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AFrame
public class AFrame
The representation of a single frame. Contains the data of all 512 LEDs in a given time.
Constructor Summary | |
---|---|
AFrame()
|
Method Summary | |
---|---|
short[] |
getData()
Gets tha Data of this Frame |
short[] |
getLayer(int i)
Gets the Data of the Layer you want |
java.lang.String |
getName()
Gets the Name of this Frame |
short |
getTime()
Gets the Duration of this Frame |
void |
setData(short[] d)
Sets the Data of this Frame |
void |
setName(java.lang.String s)
Sets the Name of this Frame |
void |
setTime(short t)
Sets the Duration of this Frame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AFrame()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String s)
s
- New Namepublic void setData(short[] d)
d
- 64 bytes that contain data (8 bit per byte, so 8 LEDs)public short[] getData()
public void setTime(short t)
t
- Duration of frame in (( t * (1/24) ) + (1/24)) secondspublic short getTime()
setTime()
public short[] getLayer(int i)
i
- Number of Layer you want
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |