Package org.mozilla.interfaces

Examples of org.mozilla.interfaces.nsIDOMHTMLTableElement


      return value;
      }

   protected void exploreMainMenu() {
      nsIDOMNode node = this.getElementById("mt");
      nsIDOMHTMLTableElement table = asTable(node);

      System.out.println("=== Inspecting the table node ===");
      inspect(table);

   // at the time of writing there was only one row
      nsIDOMHTMLCollection rows = table.getRows();
      nsIDOMHTMLTableRowElement row = asTableRow(rows.item(0L));

      System.out.println("=== Inspecting the table row node ===");
      inspect(row);
View Full Code Here


    * @param   node   the node to convert.
    * @return   the node as an table element.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

    * Query the {@code nsIDOMHTMLTableElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

    * Query the {@code nsIDOMHTMLTableElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

    * Query the {@code nsIDOMHTMLTableElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

    * @param   node   the node to convert.
    * @return   the node as an table element.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

//---------------------------
// Instance methods
//---------------------------

   protected nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

      return value;
      }

   protected void exploreMainMenu() {
      nsIDOMNode node = this.getElementById("mt");
      nsIDOMHTMLTableElement table = this.asTable(node);

      System.out.println("=== Inspecting the table node ===");
      inspect(table);

   // at the time of writing there was only one row
      nsIDOMHTMLCollection rows = table.getRows();
      nsIDOMHTMLTableRowElement row = this.asTableRow(rows.item(0L));

      System.out.println("=== Inspecting the table row node ===");
      inspect(row);
View Full Code Here

      return value;
      }

   protected void exploreMainMenu() {
      nsIDOMNode node = this.getElementById("mt");
      nsIDOMHTMLTableElement table = asTable(node);

      System.out.println("=== Inspecting the table node ===");
      inspect(table);

   // at the time of writing there was only one row
      nsIDOMHTMLCollection rows = table.getRows();
      nsIDOMHTMLTableRowElement row = asTableRow(rows.item(0L));

      System.out.println("=== Inspecting the table row node ===");
      inspect(row);
View Full Code Here

    * Query the {@code nsIDOMHTMLTableElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not a table.
    */
   public static nsIDOMHTMLTableElement asTable(nsIDOMNode node) {
      nsIDOMHTMLTableElement table = (nsIDOMHTMLTableElement) node.queryInterface(nsIDOMHTMLTableElement.NS_IDOMHTMLTABLEELEMENT_IID);
      return table;
      }
View Full Code Here

TOP

Related Classes of org.mozilla.interfaces.nsIDOMHTMLTableElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.