public class DropRepeatAction extends RepeatAction
HOUR, MINUTE, MSEC, SECOND
Constructor and Description |
---|
DropRepeatAction()
Creates a new instance of SpillRepeatAction
|
DropRepeatAction(edu.stanford.smi.protege.model.Instance inst) |
Modifier and Type | Method and Description |
---|---|
void |
fillFromProtege(edu.stanford.smi.protege.model.Instance instance,
edu.stanford.smi.protege.model.KnowledgeBase kb)
Method filling information to this RepeatAction object
from Protege Instance
|
Bounds |
getBounds() |
void |
removeObjects()
Method called while removing this Repeat Action object
Should clear created objects
|
void |
repeat(double time)
Method implementing periodically repeating action
Here is generates Spill objects and RepeatActions for them
|
void |
setBounds(Bounds bounds) |
actionPerformed, getInstance, getLifetime, getName, getPeriod, getPgid, setInstance, setLifetime, setName, setPeriod, setPgid, start, stop
public DropRepeatAction()
public DropRepeatAction(edu.stanford.smi.protege.model.Instance inst)
public void repeat(double time)
repeat
in class RepeatAction
time
- time elapsed between stepspublic void fillFromProtege(edu.stanford.smi.protege.model.Instance instance, edu.stanford.smi.protege.model.KnowledgeBase kb)
fillFromProtege
in class RepeatAction
instance
- Protege Instance describing this Repeat Actionkb
- Protege Knowledge Basepublic void removeObjects()
removeObjects
in class RepeatAction
public Bounds getBounds()
public void setBounds(Bounds bounds)