Overview  Package   Class  Tree  Index 

be.lassi.domain
Class LevelObject

java.lang.Object
  extended by be.lassi.base.SaveableObject
      extended by be.lassi.base.NamedObject
          extended by be.lassi.domain.LevelObject
Direct Known Subclasses:
Controlable, Dimmer

public class LevelObject
extends NamedObject

Named wrapper arround Level object.


Constructor Summary
LevelObject(Dirty dirty, int id, java.lang.String name)
          Constructs a new level object.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int getIntValue()
          Gets the integer level value.
 Level getLevel()
          Gets the level.
 float getValue()
          Gets the level value.
 int hashCode()
          
 void setIntValue(int value)
          Sets the level value (integer value).
 void setValue(float value)
          Sets the level value.
 
Methods inherited from class be.lassi.base.NamedObject
addNameListener, getId, getName, removeNameListener, setName
 
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

LevelObject

public LevelObject(Dirty dirty,
                   int id,
                   java.lang.String name)
Constructs a new level object.

Parameters:
dirty - the dirty indicator
Method Detail

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class NamedObject

getIntValue

public int getIntValue()
Gets the integer level value.

Returns:
int the integer level value

getLevel

public Level getLevel()
Gets the level.

Returns:
the level

getValue

public float getValue()
Gets the level value.

Returns:
float the level value

hashCode

public int hashCode()

Overrides:
hashCode in class NamedObject

setIntValue

public void setIntValue(int value)
Sets the level value (integer value).

Parameters:
value - the level value to set

setValue

public void setValue(float value)
Sets the level value.

Parameters:
value - the level value to set

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2