|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
be.lassi.domain
Class Dimmers
java.lang.Objectbe.lassi.base.SaveableObject
be.lassi.base.NamedObjects
be.lassi.domain.Dimmers
- All Implemented Interfaces:
- java.lang.Iterable<Dimmer>
public class Dimmers
- extends NamedObjects
- implements java.lang.Iterable<Dimmer>
- extends NamedObjects
Collection with Dimmer objects.
| Constructor Summary | |
|---|---|
Dimmers()
Constructs a new instance. |
|
Dimmers(Dirty dirty)
Constructs a new instance. |
|
| Method Summary | |
|---|---|
void |
add(Dimmer dimmer)
Adds a dimmer. |
boolean |
equals(java.lang.Object object)
|
Dimmer |
get(int index)
Gets the dimmer with given index. |
NamedObject |
getNamedObject(int index)
Gets the object at given index. |
float |
getValue(int index)
Gets the level value of dimmer with given index. |
int |
hashCode()
|
java.util.Iterator<Dimmer> |
iterator()
|
void |
setValue(int channelIndex,
float value)
Set level value of all dimmers that are patched to channel with given index. |
int |
size()
The number of dimmers. |
| 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, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Dimmers
public Dimmers()
- Constructs a new instance.
Dimmers
public Dimmers(Dirty dirty)
- Constructs a new instance.
- Parameters:
dirty- the dirty indicator
| Method Detail |
|---|
add
public void add(Dimmer dimmer)
- Adds a dimmer.
- Parameters:
dimmer- the dimmer to be added
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equalsin classjava.lang.Object
get
public Dimmer get(int index)
- Gets the dimmer with given index.
- Parameters:
index- the dimmer index- Returns:
- the dimmer at given index
getNamedObject
public NamedObject getNamedObject(int index)
- Gets the object at given index.
- Specified by:
getNamedObjectin classNamedObjects
- Parameters:
index- the index of the object to be returned- Returns:
- the object at given index
getValue
public float getValue(int index)
- Gets the level value of dimmer with given index.
- Parameters:
index- the dimmer index- Returns:
- the level value of dimmer at given index
hashCode
public int hashCode()
-
- Overrides:
hashCodein classjava.lang.Object
iterator
public java.util.Iterator<Dimmer> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<Dimmer>
setValue
public void setValue(int channelIndex,
float value)
- Set level value of all dimmers that are patched to channel with given index.
- Parameters:
channelIndex- the channel indexvalue- the level value to set
size
public int size()
- The number of dimmers.
- Specified by:
sizein classNamedObjects
- Returns:
- the number of dimmers
|
Lighting Assistant 1.2 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
