public class KahinaSimplePropertySensor extends KahinaStepPropertySensor
| Constructor and Description |
|---|
KahinaSimplePropertySensor(KahinaControlAgent controlPoint) |
| Modifier and Type | Method and Description |
|---|---|
KahinaSimplePropertySensor |
copy(KahinaControlAgent controlPoint) |
void |
copyDataInto(KahinaSimplePropertySensor copy) |
boolean |
detectPattern(int stepID)
Returns true iff a step has the property detected by this sensor.
|
KahinaSimpleProperty |
getPattern()
Gets the step pattern associated with this control point.
|
KahinaSimpleProperty |
getStepProperty() |
void |
setPattern(KahinaSimpleProperty pattern)
Associates this control point with a new step pattern.
|
copyDataIntopublic KahinaSimplePropertySensor(KahinaControlAgent controlPoint)
public KahinaSimplePropertySensor copy(KahinaControlAgent controlPoint)
copy in class KahinaStepPropertySensorpublic void copyDataInto(KahinaSimplePropertySensor copy)
public KahinaSimpleProperty getStepProperty()
getStepProperty in class KahinaStepPropertySensorpublic KahinaSimpleProperty getPattern()
public void setPattern(KahinaSimpleProperty pattern)
pattern - the step pattern to be associated with this control pointpublic boolean detectPattern(int stepID)
KahinaStepPropertySensordetectPattern in class KahinaStepPropertySensorstepID - ID of the step which the sensor is to detect for its property.