it.freedom.environment
Class Behavior
java.lang.Object
it.freedom.environment.BehaviorProperties
it.freedom.environment.Behavior
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Danger, Dim, Empty, Free, Full, NoDanger, Occupied, Off, On, Static, Warning
public abstract class Behavior
- extends BehaviorProperties
- See Also:
- Serialized Form
|
Method Summary |
void |
close(Breach aThis,
Config param)
|
void |
danger(Allert aThis,
Config param)
|
void |
dim(Light obj,
Config param)
|
void |
noDanger(Allert aThis,
Config param)
|
void |
off(ElectricDevice obj,
Config param)
|
void |
on(ElectricDevice obj,
Config param)
|
void |
open(Breach aThis,
Config param)
|
void |
oppositeBehavior(EnvObject device,
Config param)
|
void |
sit(Sitable aThis,
Config param)
|
void |
stand(Sitable aThis,
Config param)
|
void |
warning(Allert aThis,
Config param)
|
| Methods inherited from class it.freedom.environment.BehaviorProperties |
calculateTransformedShape, getBorderColor, getCommand, getDescriprion, getDimension, getFillColor, getIcon, getMasterObject, getName, getOffset, getPriority, getRotation, getShape, getStateProperties, getTextColor, getUntransformedShape, isBordered, isFilled, isIntersecable, isTangible, setBorderColor, setCommand, setDescription, setDimension, setFillColor, setIcon, setIntersecable, setMasterObject, setName, setOffset, setPriority, setRotation, setShape, setTangible, setTextColor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Behavior
public Behavior()
on
public void on(ElectricDevice obj,
Config param)
off
public void off(ElectricDevice obj,
Config param)
dim
public void dim(Light obj,
Config param)
noDanger
public void noDanger(Allert aThis,
Config param)
warning
public void warning(Allert aThis,
Config param)
danger
public void danger(Allert aThis,
Config param)
oppositeBehavior
public void oppositeBehavior(EnvObject device,
Config param)
open
public void open(Breach aThis,
Config param)
close
public void close(Breach aThis,
Config param)
sit
public void sit(Sitable aThis,
Config param)
stand
public void stand(Sitable aThis,
Config param)