|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sgx.j2s.js.NativeWrapper
org.sgx.j2s.yui3.yui.YUINativeWrapper
org.sgx.j2s.yui3.yui.event.EventTarget
org.sgx.j2s.yui3.yui.Attribute
org.sgx.j2s.yui3.yui.Base
org.sgx.j2s.yui3.yui.NodeBase
org.sgx.j2s.yui3.yui.NodeList
public class NodeList
The NodeList class provides a wrapper for manipulating DOM NodeLists. NodeList properties can be accessed via the set/get methods. Use Y.all() to retrieve NodeList instances.
Field Summary |
---|
Fields inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper |
---|
Y |
Fields inherited from class org.sgx.j2s.js.NativeWrapper |
---|
_data, _EMPTYPARAMS |
Constructor Summary | |
---|---|
NodeList()
|
Method Summary | |
---|---|
boolean[] |
hasClass(java.lang.String name)
Determines whether each node has the given className. |
boolean |
isEmpty()
Determines if the instance is bound to any nodes |
int |
size()
Returns the current number of items in the NodeList. |
java.lang.String |
toString()
|
Methods inherited from class org.sgx.j2s.yui3.yui.NodeBase |
---|
addClass, removeClass, replaceClass, setContent |
Methods inherited from class org.sgx.j2s.yui3.yui.Attribute |
---|
addAttr, addAttrs, attrAdded, get, getAttrs, modifyAttr, removeAttr, reset, set, setAttrs |
Methods inherited from class org.sgx.j2s.yui3.yui.event.EventTarget |
---|
after, before, detach, detachAll, fire, getEvent, on, once, publish |
Methods inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper |
---|
_load |
Methods inherited from class org.sgx.j2s.js.NativeWrapper |
---|
_call, _get, _getData, create |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeList()
Method Detail |
---|
public boolean[] hasClass(java.lang.String name)
className
- public int size()
public boolean isEmpty()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |