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

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended byorg.apache.cocoon.forms.flow.javascript.v2.ScriptableWidget
All Implemented Interfaces:
org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, Serializable

public class ScriptableWidget
extends org.mozilla.javascript.ScriptableObject

Version:
$Id: ScriptableWidget.java 154564 2005-02-20 21:46:41Z sylvain $
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_getChild(String id)
           
 ScriptableWidget jsFunction_getForm()
           
 String jsFunction_getId()
           
 Object jsFunction_getParent()
           
 String jsFunction_getRequestParameterName()
           
 org.mozilla.javascript.ScriptableObject jsFunction_getRow(int index)
           
 ScriptableWidget jsFunction_getSubmitWidget()
           
 Object jsFunction_getValue()
           
 String jsFunction_getWidgetClass()
           
 boolean jsFunction_isRequired()
           
 ScriptableWidget jsFunction_lookupWidget(String id)
           
 void jsFunction_removeRow(Object obj)
           
 void jsFunction_setSelectionList(Object arg, Object valuePathArg, Object labelPathArg)
           
 void jsFunction_setValidationError(Object message, Object parameters)
           
 void jsFunction_setValue(Object value)
           
 String jsFunction_toString()
           
 Widget jsFunction_unwrap()
           
 Object jsGet_length()
           
 WidgetState jsGet_state()
           
 Object jsGet_value()
           
 void jsSet_length(int len)
           
 void jsSet_state(Object stateObj)
           
 void jsSet_value(Object value)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, 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()

has

public boolean has(String id,
                   org.mozilla.javascript.Scriptable start)

has

public boolean has(int index,
                   org.mozilla.javascript.Scriptable start)

get

public Object get(String id,
                  org.mozilla.javascript.Scriptable start)

get

public Object get(int index,
                  org.mozilla.javascript.Scriptable start)

getAllIds

public Object[] getAllIds()

getIds

public Object[] getIds()

delete

public void delete(int index)

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()

jsGet_state

public WidgetState jsGet_state()

jsSet_state

public void jsSet_state(Object stateObj)

jsFunction_getSubmitWidget

public ScriptableWidget jsFunction_getSubmitWidget()

jsFunction_getRequestParameterName

public String jsFunction_getRequestParameterName()

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_getChild

public ScriptableWidget jsFunction_getChild(String id)

jsFunction_lookupWidget

public ScriptableWidget jsFunction_lookupWidget(String id)

jsFunction_setValidationError

public void jsFunction_setValidationError(Object 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-2005 The Apache Software Foundation. All Rights Reserved.