ice.storm
Class DocumentProxy
java.lang.Object
ice.storm.DynamicObject
ice.storm.DocumentProxy
- public class DocumentProxy
- extends DynamicObject
| Methods inherited from class ice.storm.DynamicObject |
deleteSlot, deleteSlot, execDynamicMethod, getEnumeratableIds, getMethodPropertySource, getScriptDataLock, getScriptWrapper, getSlot, getSlot, hasSlot, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot, setSlot, unlinkAllSlots |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentProxy
public DocumentProxy(Viewport view)
getDynamicScopeParent
public Object getDynamicScopeParent()
- Description copied from class:
DynamicObject
- This is only relevant to support scope chain during event handler
execution. In ideal world this should always return null
- Overrides:
getDynamicScopeParent in class DynamicObject
getDynamicValue
public Object getDynamicValue(String name,
DynEnv env)
- Description copied from class:
DynamicObject
- Returns the `key' field or Defs.NOT_FOUND if `name' does not exist.
Returns `FUNCTION_MARK' if `name' represent a function that can be invoke
via execDynamicMethod.
Note that returned `null' indicates that value is present but set to null.
- Overrides:
getDynamicValue in class DynamicObject
setDynamicValue
public int setDynamicValue(String name,
Object value,
DynEnv env)
- Description copied from class:
DynamicObject
- Set field `name' to `value'.
Use `env' to unwrap `value' to a particular type or store it as is
- Overrides:
setDynamicValue in class DynamicObject
- Returns:
- SETD_NOT_FOUND if fied `name' is absent,
SETD_IGNORE if field exist but set is ignored
SETD_OK if set opeartion was ok