|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.NodeImpl
com.gargoylesoftware.htmlunit.javascript.host.HTMLElement
com.gargoylesoftware.htmlunit.javascript.host.RowContainer
public class RowContainer
Superclass for all row-containing JavaScript host classes, including tables, table headers, table bodies and table footers.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
RowContainer()
Create an instance. |
Method Summary | |
---|---|
void |
jsConstructor()
Javascript constructor. |
void |
jsxFunction_deleteRow(int rowIndex)
Deletes the row at the specified index. |
static java.lang.Object |
jsxFunction_insertRow(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable s,
java.lang.Object[] args,
org.mozilla.javascript.Function f)
Inserts a new row at the specified index in the element's row collection. |
java.lang.Object |
jsxFunction_moveRow(int sourceIndex,
int targetIndex)
Moves the row at the specified source index to the specified target index, returning the row that was moved. |
java.lang.Object |
jsxGet_rows()
Returns the rows in the element. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.NodeImpl |
---|
executeEvent, fireEvent, getEventHandler, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Constructor Detail |
---|
public RowContainer()
Method Detail |
---|
public void jsConstructor()
public void jsxFunction_deleteRow(int rowIndex)
rowIndex
- the zero-based index of the row to delete.public static java.lang.Object jsxFunction_insertRow(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable s, java.lang.Object[] args, org.mozilla.javascript.Function f)
cx
- the current JavaScript context.s
- this scriptable object.args
- the arguments for the function call.f
- the function object that invoked this function.
public java.lang.Object jsxFunction_moveRow(int sourceIndex, int targetIndex)
sourceIndex
- the index of the row to move.targetIndex
- the index to move the row to.
public java.lang.Object jsxGet_rows()
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |