internetexplorerengine.html

来自「java GUI编程」· HTML 代码 · 共 613 行 · 第 1/2 页

HTML
613
字号
  Examples for the standardized names are: Internet Explorer, Mozilla.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#getBrowserName()">getBrowserName</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The standardized name of the embedded browser engine. May not be         null or empty.</DL>
</DD>
</DL>
<HR>

<A NAME="isEngineAvailable()"><!-- --></A><H3>
isEngineAvailable</H3>
<PRE>
public boolean <B>isEngineAvailable</B>()</PRE>
<DL>
<DD>Checks whether the associated Engine is available on the current system. This is a prerequisite for creating <code>Browser</code> instances on the current system.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#isEngineAvailable()">isEngineAvailable</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if an engine is available, false if no engine is available,         the engine is not found or can not be accessed.</DL>
</DD>
</DL>
<HR>

<A NAME="isDefaultBrowser(java.lang.String)"><!-- --></A><H3>
isDefaultBrowser</H3>
<PRE>
public boolean <B>isDefaultBrowser</B>(java.lang.String&nbsp;browserPath)</PRE>
<DL>
<DD>Checks whether IE is the default Browser.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#isDefaultBrowser(java.lang.String)">isDefaultBrowser</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>browserPath</CODE> - default browser path taken from the OS or whereever<DT><B>Returns:</B><DD>true if this BrowserEngine represents the default browser, false         otherwise or if browserPath is null</DL>
</DD>
</DL>
<HR>

<A NAME="prepareVariables()"><!-- --></A><H3>
prepareVariables</H3>
<PRE>
protected boolean <B>prepareVariables</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>

<A NAME="setEnv()"><!-- --></A><H3>
setEnv</H3>
<PRE>
protected void <B>setEnv</B>()</PRE>
<DL>
<DD>Pre-append the "ielib" directory to PATH, which includes the bundled,IeEmbed.exe dependent library nspr4.dll.  If nspr4.dll doesn't under curr folder,user can: 1. set it through setLibPath method 2. set it directlly in the path
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBrowserBinary()"><!-- --></A><H3>
getBrowserBinary</H3>
<PRE>
public java.lang.String <B>getBrowserBinary</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getNspr4dllPath()"><!-- --></A><H3>
getNspr4dllPath</H3>
<PRE>
protected java.lang.String <B>getNspr4dllPath</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the nspr4dllPath.</DL>
</DD>
</DL>
<HR>

<A NAME="initialize()"><!-- --></A><H3>
initialize</H3>
<PRE>
public void <B>initialize</B>()                throws <A HREF="../../../../org/jdesktop/jdic/init/JdicInitException.html" title="class in org.jdesktop.jdic.init">JdicInitException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></B></DD>
<DD>Initialize engine.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#initialize()">initialize</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/init/JdicInitException.html" title="class in org.jdesktop.jdic.init">JdicInitException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getEmbeddedBinaryName()"><!-- --></A><H3>
getEmbeddedBinaryName</H3>
<PRE>
public java.lang.String <B>getEmbeddedBinaryName</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#getEmbeddedBinaryName()">getEmbeddedBinaryName</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>embeded name of current browser.</DL>
</DD>
</DL>
<HR>

<A NAME="setEnginePath(java.lang.String)"><!-- --></A><H3>
setEnginePath</H3>
<PRE>
public void <B>setEnginePath</B>(java.lang.String&nbsp;fullPath)</PRE>
<DL>
<DD>Not suppored under win for IE
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#setEnginePath(java.lang.String)">setEnginePath</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCharsetName()"><!-- --></A><H3>
getCharsetName</H3>
<PRE>
public java.lang.String <B>getCharsetName</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#getCharsetName()">getCharsetName</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>browser's default charset used to de/encode messages.</DL>
</DD>
</DL>
<HR>

<A NAME="getFileProtocolURLPrefix()"><!-- --></A><H3>
getFileProtocolURLPrefix</H3>
<PRE>
public java.lang.String <B>getFileProtocolURLPrefix</B>()</PRE>
<DL>
<DD>IE omited the file protocol
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#getFileProtocolURLPrefix()">getFileProtocolURLPrefix</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>browser's file protocol prefix (eg. "file:/")</DL>
</DD>
</DL>
<HR>

<A NAME="isInitialized()"><!-- --></A><H3>
isInitialized</H3>
<PRE>
public boolean <B>isInitialized</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></B></DD>
<DD>check if the browser engine has been intialized. It needs only be initialized once.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#isInitialized()">isInitialized</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>if initialized return true else return false</DL>
</DD>
</DL>
<HR>

<A NAME="getWebBrowser()"><!-- --></A><H3>
getWebBrowser</H3>
<PRE>
public <A HREF="../../../../org/jdesktop/jdic/browser/IWebBrowser.html" title="interface in org.jdesktop.jdic.browser">IWebBrowser</A> <B>getWebBrowser</B>()</PRE>
<DL>
<DD>WebBrowser is used
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html#getWebBrowser()">getWebBrowser</A></CODE> in interface <CODE><A HREF="../../../../org/jdesktop/jdic/browser/IBrowserEngine.html" title="interface in org.jdesktop.jdic.browser">IBrowserEngine</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a WebBrowser instance</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/InternetExplorerEngine.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
JDIC API V2006 Release 0308</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/jdesktop/jdic/browser/BrowserEngineManager.html" title="class in org.jdesktop.jdic.browser"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/jdesktop/jdic/browser/MozillaEngine.html" title="class in org.jdesktop.jdic.browser"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="InternetExplorerEngine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<font size=-1>For more information and documentation on JDIC,                see <a href=https://jdic.dev.java.net>JDIC website</a>. <p>That documentation                contains more detailed, developer-targeted descriptions, with conceptual                overviews, working code examples, license terms and bug report information.               <p>Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is                subject to <a href=               https://jdic.dev.java.net/source/browse/jdic/src/COPYING>license terms</a>.                </font>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?