org.apache.cocoon.woody.flow.javascript.v2
Class ScriptableWidget

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by 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

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, PERMANENT, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
ScriptableWidget()
           
ScriptableWidget(Object widget)
           
 
Method Summary
 void delete(int index)
           
 Object get(int index, org.mozilla.javascript.Scriptable start)
           
 Object get(String id, org.mozilla.javascript.Scriptable start)
           
 Object[] getAllIds()
           
 String getClassName()
           
 Object[] getIds()
           
 boolean has(int index, org.mozilla.javascript.Scriptable start)
           
 boolean has(String id, org.mozilla.javascript.Scriptable start)
           
 ScriptableWidget jsFunction_addRow()
           
 boolean jsFunction_equals(Object other)
           
 ScriptableWidget jsFunction_getForm()
           
 String jsFunction_getFullyQualifiedId()
           
 String jsFunction_getId()
           
 String jsFunction_getNamespace()
           
 Object jsFunction_getParent()
           
 org.mozilla.javascript.ScriptableObject jsFunction_getRow(int index)
           
 ScriptableWidget jsFunction_getSubmitWidget()
           
 Object jsFunction_getValue()
           
 ScriptableWidget jsFunction_getWidget(String id)
           
 String jsFunction_getWidgetClass()
           
 boolean jsFunction_isRequired()
           
 void jsFunction_removeRow(Object obj)
           
 void jsFunction_setSelectionList(Object arg, Object valuePathArg, Object labelPathArg)
           
 void jsFunction_setValidationError(String message, Object parameters)
           
 void jsFunction_setValue(Object value)
           
 String jsFunction_toString()
           
 Widget jsFunction_unwrap()
           
 Object jsGet_length()
           
 Object jsGet_value()
           
 void jsSet_length(int len)
           
 void jsSet_value(Object value)
           
 
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
 

Constructor Detail

ScriptableWidget

public ScriptableWidget()

ScriptableWidget

public ScriptableWidget(Object widget)
Method Detail

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.