org.micropsi.comp.world
Class AbstractPropertyAccessor
java.lang.Object
org.micropsi.comp.world.AbstractPropertyAccessor
- public abstract class AbstractPropertyAccessor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPropertyAccessor
public AbstractPropertyAccessor(java.lang.String key,
int valueType,
boolean editable,
boolean redundantProperty)
- Parameters:
key - valueType - editable - redundantProperty -
AbstractPropertyAccessor
public AbstractPropertyAccessor(java.lang.String key,
int valueType,
boolean editable)
- Parameters:
key - valueType - editable -
AbstractPropertyAccessor
public AbstractPropertyAccessor(java.lang.String key,
int valueType)
- Parameters:
key - valueType -
setProperty
public boolean setProperty(ObjectProperty prop)
getProperty
public ObjectProperty getProperty()
_setProperty
protected abstract boolean _setProperty(ObjectProperty prop)
getValue
protected abstract java.lang.String getValue()
getDoubleValue
protected double getDoubleValue()
getIntValue
protected double getIntValue()
matchesKey
public boolean matchesKey(java.lang.String key)
getKey
public java.lang.String getKey()
- Returns:
- Returns the key.
.