Overview  Package   Class  Tree  Index 

be.lassi.domain
Class Submasters

java.lang.Object
  extended by be.lassi.base.SaveableObject
      extended by be.lassi.base.NamedObjects
          extended by be.lassi.domain.Submasters
All Implemented Interfaces:
LevelController, LevelProvider, java.lang.Iterable<Submaster>

public class Submasters
extends NamedObjects
implements LevelController, LevelProvider, java.lang.Iterable<Submaster>


Constructor Summary
Submasters()
          Constructs a new instance.
Submasters(Dirty dirty)
           
Submasters(Dirty dirty, int numberOfChannels)
          Constructs a new instance.
 
Method Summary
 void add(Submaster submaster)
           
 boolean equals(java.lang.Object object)
          
 Submaster get(int index)
          Method get.
 float getLevelValue(long now, int channelId)
          
 NamedObject getNamedObject(int index)
          Gets the object at given index.
 int getNumberOfSubmasters()
          Method getNumberOfSubmasters.
 float getValue(long now, int channelIndex)
           
 java.util.Iterator<Submaster> iterator()
           
 void set(int index, Submaster submaster)
          Method set.
 int size()
          The number of named objects in the collection.
 
Methods inherited from class be.lassi.base.NamedObjects
addNameListener, removeNameListener
 
Methods inherited from class be.lassi.base.SaveableObject
doNotMarkDirty, getDirty, isDirty, markDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Submasters

public Submasters()
Constructs a new instance.


Submasters

public Submasters(Dirty dirty)

Submasters

public Submasters(Dirty dirty,
                  int numberOfChannels)
Constructs a new instance.

Parameters:
dirty - the dirty indicator
numberOfChannels -
Method Detail

add

public void add(Submaster submaster)

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class java.lang.Object

get

public Submaster get(int index)
Method get.

Parameters:
index -
Returns:
Submaster

getLevelValue

public float getLevelValue(long now,
                           int channelId)

Specified by:
getLevelValue in interface LevelController

getNamedObject

public NamedObject getNamedObject(int index)
Gets the object at given index.

Specified by:
getNamedObject in class NamedObjects
Parameters:
index - the index of the object to be returned
Returns:
the object at given index

getNumberOfSubmasters

public int getNumberOfSubmasters()
Method getNumberOfSubmasters.

Returns:
int

getValue

public float getValue(long now,
                      int channelIndex)
Specified by:
getValue in interface LevelProvider

iterator

public java.util.Iterator<Submaster> iterator()
Specified by:
iterator in interface java.lang.Iterable<Submaster>

set

public void set(int index,
                Submaster submaster)
Method set.

Parameters:
index -
submaster -

size

public int size()
The number of named objects in the collection.

Specified by:
size in class NamedObjects
Returns:
the number of objects in the collection

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2