< prev index next >

modules/javafx.web/src/main/java/com/sun/webkit/LoadListenerClient.java

Print this page




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.webkit;
  27 
  28 import java.lang.annotation.Native;
  29 
  30 public interface LoadListenerClient {
  31     @Native public final static int PAGE_STARTED = 0;
  32     @Native public final static int PAGE_FINISHED = 1;
  33     @Native public final static int PAGE_REDIRECTED = 2;

  34     @Native public final static int LOAD_FAILED = 5;
  35     @Native public final static int LOAD_STOPPED = 6;
  36     @Native public final static int CONTENT_RECEIVED = 10;
  37     @Native public final static int TITLE_RECEIVED = 11;
  38     @Native public final static int ICON_RECEIVED = 12;
  39     @Native public final static int CONTENTTYPE_RECEIVED = 13;
  40     @Native public final static int DOCUMENT_AVAILABLE = 14;
  41     @Native public final static int RESOURCE_STARTED = 20;
  42     @Native public final static int RESOURCE_REDIRECTED = 21;
  43     @Native public final static int RESOURCE_FINISHED = 22;
  44     @Native public final static int RESOURCE_FAILED = 23;
  45     @Native public final static int PROGRESS_CHANGED = 30;
  46 
  47 
  48     // -- Error Code values
  49     /**
  50      * An error code indicating that the host name couldn't be resolved.
  51      */
  52     @Native public final static int UNKNOWN_HOST = 1;
  53     /**




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.webkit;
  27 
  28 import java.lang.annotation.Native;
  29 
  30 public interface LoadListenerClient {
  31     @Native public final static int PAGE_STARTED = 0;
  32     @Native public final static int PAGE_FINISHED = 1;
  33     @Native public final static int PAGE_REDIRECTED = 2;
  34     @Native public final static int PAGE_REPLACED = 3;
  35     @Native public final static int LOAD_FAILED = 5;
  36     @Native public final static int LOAD_STOPPED = 6;
  37     @Native public final static int CONTENT_RECEIVED = 10;
  38     @Native public final static int TITLE_RECEIVED = 11;
  39     @Native public final static int ICON_RECEIVED = 12;
  40     @Native public final static int CONTENTTYPE_RECEIVED = 13;
  41     @Native public final static int DOCUMENT_AVAILABLE = 14;
  42     @Native public final static int RESOURCE_STARTED = 20;
  43     @Native public final static int RESOURCE_REDIRECTED = 21;
  44     @Native public final static int RESOURCE_FINISHED = 22;
  45     @Native public final static int RESOURCE_FAILED = 23;
  46     @Native public final static int PROGRESS_CHANGED = 30;
  47 
  48 
  49     // -- Error Code values
  50     /**
  51      * An error code indicating that the host name couldn't be resolved.
  52      */
  53     @Native public final static int UNKNOWN_HOST = 1;
  54     /**


< prev index next >