org.apache.cocoon.woody.flow.javascript.v2
Class ScriptableWidget
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.apache.cocoon.woody.flow.javascript.v2.ScriptableWidget
- All Implemented Interfaces:
- Serializable, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable
public class ScriptableWidget
- extends org.mozilla.javascript.ScriptableObject
- Version:
- $Id: ScriptableWidget.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
- Serialized Form
Fields inherited from class org.mozilla.javascript.ScriptableObject |
DONTENUM, EMPTY, PERMANENT, READONLY |
Fields inherited from interface org.mozilla.javascript.Scriptable |
NOT_FOUND |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, equivalentValues, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptableWidget
public ScriptableWidget()
ScriptableWidget
public ScriptableWidget(Object widget)
getClassName
public String getClassName()
- Specified by:
getClassName
in interface org.mozilla.javascript.Scriptable
- Specified by:
getClassName
in class org.mozilla.javascript.ScriptableObject
has
public boolean has(String id,
org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interface org.mozilla.javascript.Scriptable
- Overrides:
has
in class org.mozilla.javascript.ScriptableObject
has
public boolean has(int index,
org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interface org.mozilla.javascript.Scriptable
- Overrides:
has
in class org.mozilla.javascript.ScriptableObject
get
public Object get(String id,
org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interface org.mozilla.javascript.Scriptable
- Overrides:
get
in class org.mozilla.javascript.ScriptableObject
get
public Object get(int index,
org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interface org.mozilla.javascript.Scriptable
- Overrides:
get
in class org.mozilla.javascript.ScriptableObject
getAllIds
public Object[] getAllIds()
- Specified by:
getAllIds
in interface org.mozilla.javascript.debug.DebuggableObject
- Overrides:
getAllIds
in class org.mozilla.javascript.ScriptableObject
getIds
public Object[] getIds()
- Specified by:
getIds
in interface org.mozilla.javascript.Scriptable
- Overrides:
getIds
in class org.mozilla.javascript.ScriptableObject
delete
public void delete(int index)
- Specified by:
delete
in interface org.mozilla.javascript.Scriptable
- Overrides:
delete
in class org.mozilla.javascript.ScriptableObject
jsGet_value
public Object jsGet_value()
jsFunction_getValue
public Object jsFunction_getValue()
jsFunction_setValue
public void jsFunction_setValue(Object value)
throws org.mozilla.javascript.JavaScriptException
- Throws:
org.mozilla.javascript.JavaScriptException
jsSet_length
public void jsSet_length(int len)
jsGet_length
public Object jsGet_length()
jsSet_value
public void jsSet_value(Object value)
throws org.mozilla.javascript.JavaScriptException
- Throws:
org.mozilla.javascript.JavaScriptException
jsFunction_getId
public String jsFunction_getId()
jsFunction_getSubmitWidget
public ScriptableWidget jsFunction_getSubmitWidget()
jsFunction_getFullyQualifiedId
public String jsFunction_getFullyQualifiedId()
jsFunction_getNamespace
public String jsFunction_getNamespace()
jsFunction_getParent
public Object jsFunction_getParent()
jsFunction_isRequired
public boolean jsFunction_isRequired()
jsFunction_getForm
public ScriptableWidget jsFunction_getForm()
jsFunction_equals
public boolean jsFunction_equals(Object other)
jsFunction_getWidget
public ScriptableWidget jsFunction_getWidget(String id)
jsFunction_setValidationError
public void jsFunction_setValidationError(String message,
Object parameters)
jsFunction_unwrap
public Widget jsFunction_unwrap()
jsFunction_addRow
public ScriptableWidget jsFunction_addRow()
jsFunction_getRow
public org.mozilla.javascript.ScriptableObject jsFunction_getRow(int index)
jsFunction_removeRow
public void jsFunction_removeRow(Object obj)
throws org.mozilla.javascript.JavaScriptException
- Throws:
org.mozilla.javascript.JavaScriptException
jsFunction_setSelectionList
public void jsFunction_setSelectionList(Object arg,
Object valuePathArg,
Object labelPathArg)
throws Exception
- Throws:
Exception
jsFunction_getWidgetClass
public String jsFunction_getWidgetClass()
jsFunction_toString
public String jsFunction_toString()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.