Class NodeList


  • public class NodeList
    extends JSObject
    https://developer.mozilla.org/en-US/docs/Web/API/NodeList
    • Field Summary

      • Fields inherited from class de.inetsoftware.jwebassembly.web.JSObject

        peer
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeList​(java.lang.Object peer)
      Create a Java instance as wrapper of the JavaScript object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Node item​(int idx)
      https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item
      int length()
      The number of items.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeList

        NodeList​(java.lang.Object peer)
        Create a Java instance as wrapper of the JavaScript object.
        Parameters:
        peer - the native JavaScript object
    • Method Detail

      • length

        public int length()
        The number of items.
        Returns:
        the count
      • item

        public Node item​(int idx)
        https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item
        Parameters:
        idx - the index
        Returns:
        the item