public class DefaultAuralPropertyHandler extends DefaultPropertyHandler implements IAuralPropertyHandler
AURAL_MODALITY, DURATION, IS_AUDIBLE, ONSET, TOKEN, TYPE
Constructor and Description |
---|
DefaultAuralPropertyHandler() |
Modifier and Type | Method and Description |
---|---|
double |
getDuration(ISimulationObject object) |
double |
getOnset(ISimulationObject object) |
java.lang.String |
getToken(ISimulationObject object) |
java.lang.String[] |
getTypes(ISimulationObject object) |
boolean |
hasModality(ISensoryObject sensoryObject)
This tests if an
IAfferentObject is a aural.. |
boolean |
isAudible(ISimulationObject object) |
check, getBoolean, getDouble, getDoubles, getInt, getInts, getString, getStrings, hasProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBoolean, getDouble, getDoubles, getInt, getInts, getString, getStrings, hasProperty
public boolean isAudible(ISimulationObject object) throws UnknownPropertyNameException
isAudible
in interface IAuralPropertyHandler
UnknownPropertyNameException
org.commonreality.modalities.aural.IAuralPropertyHandler#isAudible()
public boolean hasModality(ISensoryObject sensoryObject)
IAfferentObject
is a aural..hasModality
in interface IModalityPropertyHandler
IModalityPropertyHandler.hasModality(org.commonreality.object.ISensoryObject)
public java.lang.String getToken(ISimulationObject object) throws UnknownPropertyNameException
getToken
in interface IAuralPropertyHandler
UnknownPropertyNameException
IAuralPropertyHandler.getToken(org.commonreality.object.ISimulationObject)
public java.lang.String[] getTypes(ISimulationObject object) throws UnknownPropertyNameException
getTypes
in interface IAuralPropertyHandler
UnknownPropertyNameException
org.commonreality.modalities.aural.IAuralPropertyHandler#getType(org.commonreality.object.ISimulationObject)
public double getDuration(ISimulationObject object) throws UnknownPropertyNameException
getDuration
in interface IAuralPropertyHandler
UnknownPropertyNameException
public double getOnset(ISimulationObject object) throws UnknownPropertyNameException
getOnset
in interface IAuralPropertyHandler
UnknownPropertyNameException