Overview  Package   Class  Tree  Index 

be.lassi.lanbox.domain
Class Buffer

java.lang.Object
  extended by be.lassi.lanbox.domain.Buffer
Direct Known Subclasses:
Layer

public class Buffer
extends java.lang.Object

A lanbox buffer (buffer is a generic term for lanbox layers and other buffers such as the lanbox mixer, i/o, dmx in and dmx out).


Constructor Summary
Buffer(int id, java.lang.String name, int numberOfLevels)
          Constructs a new instance.
 
Method Summary
 void addListener(BufferListener listener)
           
 int getId()
          Gets the buffer identifier.
 Levels getLevels()
          Gets the buffer levels.
 java.lang.String getName()
          Gets the buffer name.
 void removeListener(BufferListener listener)
           
 void setLevelValues(int[] values)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Buffer

public Buffer(int id,
              java.lang.String name,
              int numberOfLevels)
Constructs a new instance.

Parameters:
id - the buffer identifier
numberOfLevels - the number of levels
Method Detail

addListener

public void addListener(BufferListener listener)

getId

public int getId()
Gets the buffer identifier.

Returns:
the buffer identifier

getLevels

public Levels getLevels()
Gets the buffer levels.

Returns:
the buffer levels

getName

public java.lang.String getName()
Gets the buffer name.

Returns:
the buffer name

removeListener

public void removeListener(BufferListener listener)

setLevelValues

public void setLevelValues(int[] values)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2