2004-06-02 12:43:27 +00:00
|
|
|
# $Id$
|
|
|
|
# Documentation for SCA_PropertyActuator
|
|
|
|
from SCA_IActuator import *
|
|
|
|
|
|
|
|
class SCA_PropertyActuator(SCA_IActuator):
|
|
|
|
"""
|
|
|
|
Property Actuator
|
2009-01-26 08:34:40 +00:00
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
@ivar property: the property on which to operate.
|
|
|
|
@type property: string
|
|
|
|
@ivar value: the value with which the actuator operates.
|
|
|
|
@type value: string
|
2004-06-02 12:43:27 +00:00
|
|
|
"""
|
|
|
|
def setProperty(prop):
|
|
|
|
"""
|
2009-01-26 08:34:40 +00:00
|
|
|
DEPRECATED: use the 'property' property
|
2004-06-02 12:43:27 +00:00
|
|
|
Set the property on which to operate.
|
|
|
|
|
|
|
|
If there is no property of this name, the call is ignored.
|
|
|
|
|
|
|
|
@type prop: string
|
|
|
|
@param prop: The name of the property to set.
|
|
|
|
"""
|
|
|
|
def getProperty():
|
|
|
|
"""
|
2009-01-26 08:34:40 +00:00
|
|
|
DEPRECATED: use the 'property' property
|
2004-06-02 12:43:27 +00:00
|
|
|
Returns the name of the property on which to operate.
|
|
|
|
|
|
|
|
@rtype: string
|
|
|
|
"""
|
|
|
|
def setValue(value):
|
|
|
|
"""
|
2009-01-26 08:34:40 +00:00
|
|
|
DEPRECATED: use the 'value' property
|
2004-06-02 12:43:27 +00:00
|
|
|
Set the value with which the actuator operates.
|
|
|
|
|
|
|
|
If the value is not compatible with the type of the
|
|
|
|
property, the subsequent action is ignored.
|
|
|
|
|
|
|
|
@type value: string
|
|
|
|
"""
|
|
|
|
def getValue():
|
|
|
|
"""
|
2009-01-26 08:34:40 +00:00
|
|
|
DEPRECATED: use the 'value' property
|
2004-06-02 12:43:27 +00:00
|
|
|
Gets the value with which this actuator operates.
|
|
|
|
|
|
|
|
@rtype: string
|
|
|
|
"""
|