DomQueryFunction.java :  » Ajax » gwtext-2.01 » com » gwtext » client » core » Java Open Source

Java Open Source » Ajax » gwtext 2.01 
gwtext 2.01 » com » gwtext » client » core » DomQueryFunction.java
/*
 * GWT-Ext Widget Library
 * Copyright(c) 2007-2008, GWT-Ext.
 * licensing@gwt-ext.com
 * 
 * http://www.gwt-ext.com/license
 */

package com.gwtext.client.core;

import com.google.gwt.user.client.Element;

/**
 * Intefrace used / returned by certain {@link com.gwtext.client.core.DomQuery} methods.
 *
 * @see com.gwtext.client.core.DomQuery#compile(String)
 * @see com.gwtext.client.core.DomQuery#compile(String, com.gwtext.client.core.DomQuery.SelectorType)
 */
public interface DomQueryFunction {

    /**
     * Execute the query represented by this function.
     *
     * @return result of query
     */
    Element[] query();

    /**
     * Execute the query represented by this function starting with the specified root element.
     *
     * @param root the root element
     * @return result of query
     */
    Element[] query(Element root);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.