Class HTMLCollection<T>

  • All Implemented Interfaces:
    elemental2.core.JsIterable<T>, jsinterop.base.JsArrayLike<T>, jsinterop.base.JsPropertyMap<T>
    Direct Known Subclasses:
    HTMLFormControlsCollection, HTMLOptionsCollection

    @JsType(isNative=true,
            namespace="<global>")
    public class HTMLCollection<T>
    extends java.lang.Object
    implements elemental2.core.JsIterable<T>, jsinterop.base.JsArrayLike<T>, jsinterop.base.JsPropertyMap<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int length  
    • Constructor Summary

      Constructors 
      Constructor Description
      HTMLCollection()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T item​(int index)  
      T namedItem​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface jsinterop.base.JsArrayLike

        asList, delete, getAt, getAtAsAny, getLength, setAt, setLength
      • Methods inherited from interface jsinterop.base.JsPropertyMap

        delete, forEach, get, getAsAny, has, nestedGet, nestedGetAsAny, set
    • Field Detail

      • length

        public int length
    • Constructor Detail

      • HTMLCollection

        public HTMLCollection()
    • Method Detail

      • item

        public T item​(int index)
      • namedItem

        public T namedItem​(java.lang.String name)