1319 lines
57 KiB
HTML
1319 lines
57 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc on Wed Mar 03 11:23:12 GMT 1999 -->
|
|
<TITLE>
|
|
: Class CalHTMLPreferences
|
|
</TITLE>
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
</HEAD>
|
|
<BODY BGCOLOR="white">
|
|
|
|
<!-- ========== START OF NAVBAR ========== -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../calpa/html/CalHTMLPane.html"><B>PREV CLASS</B></A>
|
|
<A HREF="../../calpa/html/DefaultCalHTMLObserver.html"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
|
<A HREF="CalHTMLPreferences.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== END OF NAVBAR =========== -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
calpa.html</FONT>
|
|
<BR>
|
|
Class CalHTMLPreferences</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
|
|
|
+--<B>calpa.html.CalHTMLPreferences</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT>public class <B>CalHTMLPreferences</B><DT>extends java.lang.Object<DT>implements calpa.html.CalCons</DL>
|
|
|
|
<P>
|
|
A class used to control the default operation and rendering methods
|
|
of a <code>CalHTMLPane</code>. The same <code>CalHTMLPreferences</code>
|
|
object can be used with multiple panes. During construction all fields of
|
|
the preferences object are set to default values. Individual fields
|
|
can then be modified through the access methods listed. <P>Certain methods
|
|
can only modify fields before the preferences object has been passed to
|
|
a <code>CalHTMLPane</code>. Calling such methods after this point will not
|
|
throw an exception - the calls are simply ignored.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPane.html"><CODE>CalHTMLPane</CODE></A></DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#CalHTMLPreferences()">CalHTMLPreferences</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Creates a new <code>CalHTMLPreferences</code> object which will have all fields
|
|
set to default values.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.awt.Font</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultButtonFont(int)">getDefaultButtonFont</A></B>(int displaySize)</CODE>
|
|
|
|
<BR>
|
|
Returns a default font being used within <code>THREEDEE</code> and <code>FLUSH</code>
|
|
Buttons and ComboBoxes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.awt.Color</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultColor(int)">getDefaultColor</A></B>(int attributeType)</CODE>
|
|
|
|
<BR>
|
|
Returns a default color used by a <code>CalHTMLPane</code> to render documents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.awt.Font</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultFont(int)">getDefaultFont</A></B>(int displaySize)</CODE>
|
|
|
|
<BR>
|
|
Returns a default font being used by a <code>CalHTMLPane</code></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.awt.Font</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultFormTextFont(int)">getDefaultFormTextFont</A></B>(int displaySize)</CODE>
|
|
|
|
<BR>
|
|
Returns a default font being used within <code>THREEDEE</code> and <code>FLUSH</code>
|
|
Textfields, TextAreas and Lists.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultFrameSpacing()">getDefaultFrameSpacing</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the default spacing in pixels between frames within a Frameset document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultMarginheight()">getDefaultMarginheight</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the default vertical margin of a document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getDefaultMarginwidth()">getDefaultMarginwidth</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the default horizontal margin of a document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getFormRenderingStyle()">getFormRenderingStyle</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the default rendering style of <code>FORM</code> components within a
|
|
<code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getFrameDisplayWidth(int)">getFrameDisplayWidth</A></B>(int displaySize)</CODE>
|
|
|
|
<BR>
|
|
Returns the width for the specified displaySize at which point a <CODE>CalHTMLPane</CODE> will
|
|
start scaling its display if <code>optimizeDisplay</code> is enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.net.URL</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getHomeURL()">getHomeURL</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <code>URL</code> which will accessed if a <code>CalHTMLPane's
|
|
goHome()</code> method is called</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getOptimizeDisplay()">getOptimizeDisplay</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will
|
|
adjust display parameters based on frame size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.Hashtable</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#getVisitedHash()">getVisitedHash</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a <code>Hashtable</code> containing references to visited <code>URLs</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isAutomaticallyFollowHyperlinksEnabled()">isAutomaticallyFollowHyperlinksEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will automatically navigate activated hyperlinks.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isDisplayErrorDialogsEnabled()">isDisplayErrorDialogsEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will automatically display a dialog when
|
|
errors such as failed hyperlinks occur.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isHandleFormSubmissionEnabled()">isHandleFormSubmissionEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will
|
|
automatically handle GET and POST form submissions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isHandleNewFramesEnabled()">isHandleNewFramesEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a new <code>CalHTMLPane</code> will
|
|
automatically be created if specified by an HTML tag.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isLoadImagesEnabled()">isLoadImagesEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will
|
|
automatically load images within documents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isRequestFocusOnMouseClickEnabled()">isRequestFocusOnMouseClickEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will request keyboard focus if the mouse is
|
|
clicked within it.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isShowHyperlinkOnMouseFocusEnabled()">isShowHyperlinkOnMouseFocusEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will only show a hyperlink when the link has mouse focus.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isShowTestNavBarEnabled()">isShowTestNavBarEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will display a diagnostic navigation bar on startup.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isShowWarningBeforePostEnabled()">isShowWarningBeforePostEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will show a warning to the user before a form POST
|
|
submission is made.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#isUnderlineLinksEnabled()">isUnderlineLinksEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns whether a <code>CalHTMLPane</code> will underline hyperlinks.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setAutomaticallyFollowHyperlinks(boolean)">setAutomaticallyFollowHyperlinks</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the automatic navigation of activated hyperlinks in a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultButtonFont(int, java.awt.Font)">setDefaultButtonFont</A></B>(int displaySize,
|
|
java.awt.Font font)</CODE>
|
|
|
|
<BR>
|
|
Sets a default font to be used within form Buttons and ComboBoxes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultColor(int, java.awt.Color)">setDefaultColor</A></B>(int attributeType,
|
|
java.awt.Color c)</CODE>
|
|
|
|
<BR>
|
|
Sets a default color.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFont(int, java.awt.Font)">setDefaultFont</A></B>(int displaySize,
|
|
java.awt.Font font)</CODE>
|
|
|
|
<BR>
|
|
Sets a default font to be used by a <CODE>CalHTMLPane</CODE>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFont(int, int, int)">setDefaultFont</A></B>(int displaySize,
|
|
int fontFamily,
|
|
int sizeIndex)</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> <I>Use <code>setDefaultFont(int, Font)</code> which allows the setting of
|
|
system fonts.</I></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFormTextFont(int, java.awt.Font)">setDefaultFormTextFont</A></B>(int displaySize,
|
|
java.awt.Font font)</CODE>
|
|
|
|
<BR>
|
|
Sets a default font to be used within form TextFields, TextAreas and Lists.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFrameSpacing(int)">setDefaultFrameSpacing</A></B>(int n)</CODE>
|
|
|
|
<BR>
|
|
Sets the default spacing in pixels between frames within a Frameset document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultMarginheight(int)">setDefaultMarginheight</A></B>(int n)</CODE>
|
|
|
|
<BR>
|
|
Sets the default vertical margin of a document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultMarginwidth(int)">setDefaultMarginwidth</A></B>(int n)</CODE>
|
|
|
|
<BR>
|
|
Sets the default horizontal margin of a document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setDisplayErrorDialogs(boolean)">setDisplayErrorDialogs</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the automatic display of error dialogs within a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setFormFont(int, int, int, int)">setFormFont</A></B>(int displaySize,
|
|
int fontFamily,
|
|
int fontStyle,
|
|
int sizeArrayIndex)</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> <I>Use either <code>setDefaultButtonFont(int, Font)</code> or
|
|
<code>setDefaultFormTextFont(int, Font)</code>.</I></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setFormRenderingStyle(int)">setFormRenderingStyle</A></B>(int style)</CODE>
|
|
|
|
<BR>
|
|
Sets the rendering style of <code>FORM</code> components within a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setFrameDisplayWidth(int, int)">setFrameDisplayWidth</A></B>(int displaySize,
|
|
int width)</CODE>
|
|
|
|
<BR>
|
|
Sets the width for the specified displaySize at which point a <CODE>CalHTMLPane</CODE> will
|
|
start scaling its display if <code>optimizeDisplay</code> is enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setHandleFormSubmission(boolean)">setHandleFormSubmission</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the automatic processing of GET and POST html forms
|
|
within a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setHandleNewFrames(boolean)">setHandleNewFrames</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the automatic creation of a new <code>CalHTMLPane</code> if
|
|
specified by an HTML tag.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setHomeURL(java.net.URL)">setHomeURL</A></B>(java.net.URL url)</CODE>
|
|
|
|
<BR>
|
|
Sets the <code>URL</code> which will be accessed if a <code>CalHTMLPane's
|
|
goHome()</code> method is called.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setLoadImages(boolean)">setLoadImages</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the automatic loading of images within a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setOptimizeDisplay(int)">setOptimizeDisplay</A></B>(int optimizeLevel)</CODE>
|
|
|
|
<BR>
|
|
Determines whether a <code>CalHTMLPane</code> will
|
|
adjust display parameters based on frame width.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setRequestFocusOnMouseClick(boolean)">setRequestFocusOnMouseClick</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Determines whether a <code>CalHTMLPane</code> or one of its subframes will request keyboard focus
|
|
if the mouse is clicked within it.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setShowHyperlinkOnMouseFocus(boolean)">setShowHyperlinkOnMouseFocus</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Determines whether a hyperlink will only be marked as such when it has mouse focus.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setShowTestNavBar(boolean)">setShowTestNavBar</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the display of a diagnostic navigation bar.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setShowWarningBeforePost(boolean)">setShowWarningBeforePost</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the showing of a warning message before a form POST submission
|
|
is made.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setUnderlineLinks(boolean)">setUnderlineLinks</A></B>(boolean b)</CODE>
|
|
|
|
<BR>
|
|
Enables/disables the underlining of hyperlinks within a <code>CalHTMLPane</code>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../calpa/html/CalHTMLPreferences.html#setVisitedHash(java.util.Hashtable)">setVisitedHash</A></B>(java.util.Hashtable table)</CODE>
|
|
|
|
<BR>
|
|
Sets the <code>Hashtable</code> containing references to <code>URLs</code> which
|
|
will be used by a <CODE>CalHTMLPane</CODE> to mark visited
|
|
hyperlinks.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
|
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD><CODE>clone,
|
|
equals,
|
|
finalize,
|
|
getClass,
|
|
hashCode,
|
|
notify,
|
|
notifyAll,
|
|
toString,
|
|
wait,
|
|
wait,
|
|
wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="CalHTMLPreferences()"><!-- --></A><H3>
|
|
CalHTMLPreferences</H3>
|
|
<PRE>
|
|
public <B>CalHTMLPreferences</B>()</PRE>
|
|
<DL>
|
|
<DD>Creates a new <code>CalHTMLPreferences</code> object which will have all fields
|
|
set to default values.</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="getVisitedHash()"><!-- --></A><H3>
|
|
getVisitedHash</H3>
|
|
<PRE>
|
|
public java.util.Hashtable <B>getVisitedHash</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a <code>Hashtable</code> containing references to visited <code>URLs</code>.
|
|
This hashtable can be passed into a new <code>CalHTMLPreferences</code> object
|
|
at a later date so that a user's visited links are persistent. The
|
|
method of storing the hashtable's contents outside of this class
|
|
is left to the programmer.
|
|
<P>The keys within the hashtable are all <CODE>Integer</CODE> objects,
|
|
each representing a hashcode of a visited <code>URL</code> (note that this is
|
|
<EM>not</EM> the hashcode returned from the <code>URL.hashcode()</code> method).
|
|
<BR>The values within the hashtable are all <CODE>Long</CODE> objects
|
|
representing the <CODE>System.currentTimeMillis()</CODE> when the
|
|
link was last visited. The programmer may therefore remove 'old'
|
|
links if so desired.<DD><DL>
|
|
<DT><B>Returns:</B><DD>a Hashtable recording visited document URLs<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setVisitedHash(java.util.Hashtable)"><CODE>setVisitedHash(java.util.Hashtable)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setVisitedHash(java.util.Hashtable)"><!-- --></A><H3>
|
|
setVisitedHash</H3>
|
|
<PRE>
|
|
public void <B>setVisitedHash</B>(java.util.Hashtable table)</PRE>
|
|
<DL>
|
|
<DD>Sets the <code>Hashtable</code> containing references to <code>URLs</code> which
|
|
will be used by a <CODE>CalHTMLPane</CODE> to mark visited
|
|
hyperlinks. Only pass in a hashtable which was previously
|
|
obtained from a <code>CalHTMLPreferences</code> object via the
|
|
<CODE>getVisitedHash()</CODE> method.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>table</CODE> - a Hashtable containing Integer/Long pairs representing visited document URLs<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#getVisitedHash()"><CODE>getVisitedHash()</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOptimizeDisplay(int)"><!-- --></A><H3>
|
|
setOptimizeDisplay</H3>
|
|
<PRE>
|
|
public void <B>setOptimizeDisplay</B>(int optimizeLevel)</PRE>
|
|
<DL>
|
|
<DD>Determines whether a <code>CalHTMLPane</code> will
|
|
adjust display parameters based on frame width.
|
|
The arguments which can be sent to this method are:<P>
|
|
<UL type=disc>
|
|
<LI><code>CalCons.NO_OPTIMIZATION</code><BR>
|
|
No adjustments will be made for frame width. This is the default value.
|
|
<LI><code>CalCons.OPTIMIZE_FONTS</code><BR>
|
|
Font size may be scaled based on frame width.
|
|
<LI><code>CalCons.OPTIMIZE_ALL</code><BR>
|
|
In addition to font scaling, other parameters such as table cellspacing
|
|
and cellpadding may be adjusted in an attempt to fit the document into the current frame.
|
|
</UL>
|
|
<P>See the README.TXT file accompanying this document for more details on optimizeDisplay.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>optimizeLevel</CODE> - a value indicating the level (if any) of display optimization required<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setFrameDisplayWidth(int, int)"><CODE>setFrameDisplayWidth(int, int)</CODE></A>,
|
|
<A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFont(int, int, int)"><CODE>setDefaultFont(int, int, int)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOptimizeDisplay()"><!-- --></A><H3>
|
|
getOptimizeDisplay</H3>
|
|
<PRE>
|
|
public int <B>getOptimizeDisplay</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will
|
|
adjust display parameters based on frame size.
|
|
<P>See the README.TXT file accompanying this document for more details on optimizeDisplay.<DD><DL>
|
|
<DT><B>Returns:</B><DD>a value indicating the current level of display optimization</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFrameDisplayWidth(int, int)"><!-- --></A><H3>
|
|
setFrameDisplayWidth</H3>
|
|
<PRE>
|
|
public void <B>setFrameDisplayWidth</B>(int displaySize,
|
|
int width)</PRE>
|
|
<DL>
|
|
<DD>Sets the width for the specified displaySize at which point a <CODE>CalHTMLPane</CODE> will
|
|
start scaling its display if <code>optimizeDisplay</code> is enabled.
|
|
The permitted displaySize arguments are:<P>
|
|
<UL type=disc><LI><code>CalCons.S_SMALL</code><LI><code>CalCons.S_MEDIUM</code></UL>
|
|
<P>There is no need to set a width for displaySize <code>CalCons.S_LARGE</code> as a
|
|
<code>CalHTMLPane</code> will treat any width greater than the <code>CalCons.S_MEDIUM</code>
|
|
width as a large display.
|
|
<P>Default values are: <code>S_SMALL: 250 pixels, S_MEDIUM: 400 pixels</code>
|
|
<P>See the README.TXT file accompanying this document for more details on optimizeDisplay.<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFrameDisplayWidth(int)"><!-- --></A><H3>
|
|
getFrameDisplayWidth</H3>
|
|
<PRE>
|
|
public int <B>getFrameDisplayWidth</B>(int displaySize)</PRE>
|
|
<DL>
|
|
<DD>Returns the width for the specified displaySize at which point a <CODE>CalHTMLPane</CODE> will
|
|
start scaling its display if <code>optimizeDisplay</code> is enabled.
|
|
The permitted displaySize arguments are:<P>
|
|
<UL type=disc><LI><code>CalCons.S_SMALL
|
|
<LI>CalCons.S_MEDIUM</code></UL><DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultFont(int, int, int)"><!-- --></A><H3>
|
|
setDefaultFont</H3>
|
|
<PRE>
|
|
public void <B>setDefaultFont</B>(int displaySize,
|
|
int fontFamily,
|
|
int sizeIndex)</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B> <I>Use <code>setDefaultFont(int, Font)</code> which allows the setting of
|
|
system fonts.</I><DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultFont(int, java.awt.Font)"><!-- --></A><H3>
|
|
setDefaultFont</H3>
|
|
<PRE>
|
|
public void <B>setDefaultFont</B>(int displaySize,
|
|
java.awt.Font font)</PRE>
|
|
<DL>
|
|
<DD>Sets a default font to be used by a <CODE>CalHTMLPane</CODE>.
|
|
This method takes three different size arguments:
|
|
<UL type=disc><LI><code>CalCons.S_SMALL
|
|
<LI>CalCons.S_MEDIUM
|
|
<LI>CalCons.S_LARGE</code><P>
|
|
</UL>
|
|
In most cases you will call this method with the <code>CalCons.S_LARGE</code> argument.
|
|
The <code>S_SMALL</code> and <code>S_MEDIUM</code> arguments are used in special cases
|
|
relating to printing (which is not yet supported in the Java 2 version of CalPane) and
|
|
the <code>optimizeDisplay</code> feature of <code>CalHTMLPane</code>.
|
|
<P>This method replaces the now deprecated
|
|
<code>setDefaultFont(int displaySize, int fontFamily, int sizeIndex)</code> method because
|
|
Java 2 allows access to system fonts, rather than just Java's logical fonts.
|
|
<P>The font point sizes supported in CalPane are: 10, 11, 12, 13, 14, 16, 18, 20, 22, 24, 28, 36, 48
|
|
<P>If the size of the font sent to this method does not exactly match a supported size, then the
|
|
closest supported value will be used.<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setOptimizeDisplay(int)"><CODE>setOptimizeDisplay(int)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultFont(int)"><!-- --></A><H3>
|
|
getDefaultFont</H3>
|
|
<PRE>
|
|
public java.awt.Font <B>getDefaultFont</B>(int displaySize)</PRE>
|
|
<DL>
|
|
<DD>Returns a default font being used by a <code>CalHTMLPane</code><DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFont(int, java.awt.Font)"><CODE>setDefaultFont(int, java.awt.Font)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFormFont(int, int, int, int)"><!-- --></A><H3>
|
|
setFormFont</H3>
|
|
<PRE>
|
|
public void <B>setFormFont</B>(int displaySize,
|
|
int fontFamily,
|
|
int fontStyle,
|
|
int sizeArrayIndex)</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B> <I>Use either <code>setDefaultButtonFont(int, Font)</code> or
|
|
<code>setDefaultFormTextFont(int, Font)</code>.</I><DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultButtonFont(int, java.awt.Font)"><!-- --></A><H3>
|
|
setDefaultButtonFont</H3>
|
|
<PRE>
|
|
public void <B>setDefaultButtonFont</B>(int displaySize,
|
|
java.awt.Font font)</PRE>
|
|
<DL>
|
|
<DD>Sets a default font to be used within form Buttons and ComboBoxes. This method only applies
|
|
to <code>THREEDEE</code> and <code>FLUSH</code> form components. <code>LOOKANDFEEL</code>
|
|
components will not be affected.
|
|
This method takes three different size arguments:
|
|
<UL type=disc><LI><code>CalCons.S_SMALL
|
|
<LI>CalCons.S_MEDIUM
|
|
<LI>CalCons.S_LARGE</code><P>
|
|
</UL>
|
|
In most cases you will call this method with the <code>CalCons.S_LARGE</code> argument.
|
|
The <code>S_SMALL</code> and <code>S_MEDIUM</code> arguments are used in special cases
|
|
relating to the <code>optimizeDisplay</code> feature of <code>CalHTMLPane</code>.
|
|
<P>The font point sizes supported in CalPane are: 10, 11, 12, 13, 14, 16, 18, 20, 22, 24, 28, 36, 48
|
|
<P>If the size of the font sent to this method does not exactly match a supported size, then the
|
|
closest supported value will be used.<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setOptimizeDisplay(int)"><CODE>setOptimizeDisplay(int)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultButtonFont(int)"><!-- --></A><H3>
|
|
getDefaultButtonFont</H3>
|
|
<PRE>
|
|
public java.awt.Font <B>getDefaultButtonFont</B>(int displaySize)</PRE>
|
|
<DL>
|
|
<DD>Returns a default font being used within <code>THREEDEE</code> and <code>FLUSH</code>
|
|
Buttons and ComboBoxes.<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultButtonFont(int, java.awt.Font)"><CODE>setDefaultButtonFont(int, java.awt.Font)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultFormTextFont(int, java.awt.Font)"><!-- --></A><H3>
|
|
setDefaultFormTextFont</H3>
|
|
<PRE>
|
|
public void <B>setDefaultFormTextFont</B>(int displaySize,
|
|
java.awt.Font font)</PRE>
|
|
<DL>
|
|
<DD>Sets a default font to be used within form TextFields, TextAreas and Lists. This method only applies
|
|
to <code>THREEDEE</code> and <code>FLUSH</code> form components. <code>LOOKANDFEEL</code>
|
|
components will not be affected.
|
|
This method takes three different size arguments:
|
|
<UL type=disc><LI><code>CalCons.S_SMALL
|
|
<LI>CalCons.S_MEDIUM
|
|
<LI>CalCons.S_LARGE</code><P>
|
|
</UL>
|
|
In most cases you will call this method with the <code>CalCons.S_LARGE</code> argument.
|
|
The <code>S_SMALL</code> and <code>S_MEDIUM</code> arguments are used in special cases
|
|
relating to the <code>optimizeDisplay</code> feature of <code>CalHTMLPane</code>.
|
|
<P>The font point sizes supported in CalPane are: 10, 11, 12, 13, 14, 16, 18, 20, 22, 24, 28, 36, 48
|
|
<P>If the size of the font sent to this method does not exactly match a supported size, then the
|
|
closest supported value will be used.<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setOptimizeDisplay(int)"><CODE>setOptimizeDisplay(int)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultFormTextFont(int)"><!-- --></A><H3>
|
|
getDefaultFormTextFont</H3>
|
|
<PRE>
|
|
public java.awt.Font <B>getDefaultFormTextFont</B>(int displaySize)</PRE>
|
|
<DL>
|
|
<DD>Returns a default font being used within <code>THREEDEE</code> and <code>FLUSH</code>
|
|
Textfields, TextAreas and Lists.<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultFormTextFont(int, java.awt.Font)"><CODE>setDefaultFormTextFont(int, java.awt.Font)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultColor(int, java.awt.Color)"><!-- --></A><H3>
|
|
setDefaultColor</H3>
|
|
<PRE>
|
|
public void <B>setDefaultColor</B>(int attributeType,
|
|
java.awt.Color c)</PRE>
|
|
<DL>
|
|
<DD>Sets a default color. Permitted values are:
|
|
<P>
|
|
<TABLE border align=center cellpadding=3>
|
|
<TR><TH>attributeType</TH><TH>Default</TH><TH>Description</TH></TR>
|
|
<TR><TD><code>CalCons.A_BGCOLOR</code></TD>
|
|
<TD><code>Color.white</code></TD><TD>Document background color</TD></TR>
|
|
<TR><TD><code>CalCons.A_TEXT</code></TD>
|
|
<TD><code>Color.black</code></TD><TD>Document text color</TD></TR>
|
|
<TR><TD><code>CalCons.A_LINK</code></TD>
|
|
<TD><code>Color(0xOOOOEA)</code></TD><TD>Normal link color</TD></TR>
|
|
<TR><TD><code>CalCons.A_VLINK</code></TD>
|
|
<TD><code>Color(0x800080)</code></TD><TD>Visited link color</TD></TR>
|
|
<TR><TD><code>CalCons.A_ALINK</code></TD>
|
|
<TD><code>Color.red</code></TD><TD>Active link color</TD></TR>
|
|
<TR><TD><code>CalCons.FORM_CONTROL</code></TD>
|
|
<TD><code>UIControl</code></TD><TD>Control color of form components</TD></TR>
|
|
<TR><TD><code>CalCons.FORM_HIGHLIGHT</code></TD>
|
|
<TD><code>UIHighlight</code></TD><TD>Highlight color of form components</TD></TR>
|
|
<TR><TD><code>CalCons.FORM_SHADOW</code></TD>
|
|
<TD><code>UIShadow</code></TD><TD>Shadow color of form components</TD></TR>
|
|
<TR><TD><code>CalCons.FORM_TEXT_BACKGROUND</code></TD>
|
|
<TD><code>Color.white</code></TD><TD>Background color within form components such
|
|
as textfields</TD></TR>
|
|
<TR><TD><code>CalCons.FORM_TEXT_COLOR</code></TD>
|
|
<TD><code>Color.black</code></TD><TD>Text color within form components such
|
|
as textfields</TD></TR>
|
|
<TR><TD><code>CalCons.TAB_FOCUS_BACKGROUND</code></TD>
|
|
<TD><code>Color(0x300060)</code></TD><TD>Background color of hyperlinks which have
|
|
keyboard focus</TD></TR>
|
|
<TR><TD><code>CalCons.TAB_FOCUS_FOREGROUND</code></TD>
|
|
<TD><code>Color(0xFFFFD0)</code></TD><TD>Foreground color of hyperlinks which have
|
|
keyboard focus</TD></TR></TABLE>
|
|
<P>This method should be called prior to passing the
|
|
<code>CalHTMLPreferences</code> to a <code>CalHTMLPane</code>. Calls after this point
|
|
will be ignored.<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultColor(int)"><!-- --></A><H3>
|
|
getDefaultColor</H3>
|
|
<PRE>
|
|
public java.awt.Color <B>getDefaultColor</B>(int attributeType)</PRE>
|
|
<DL>
|
|
<DD>Returns a default color used by a <code>CalHTMLPane</code> to render documents.
|
|
See <code>setDefaultColor()</code> for allowed attributeTypes<DD><DL>
|
|
<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setDefaultColor(int, java.awt.Color)"><CODE>setDefaultColor(int, java.awt.Color)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFormRenderingStyle(int)"><!-- --></A><H3>
|
|
setFormRenderingStyle</H3>
|
|
<PRE>
|
|
public void <B>setFormRenderingStyle</B>(int style)</PRE>
|
|
<DL>
|
|
<DD>Sets the rendering style of <code>FORM</code> components within a <code>CalHTMLPane</code>.
|
|
The permitted style values are:<P>
|
|
<UL type=disc><LI><code>CalCons.USE_LOOK_AND_FEEL</code>
|
|
<LI><code>CalCons.USE_CALPA_THREEDEE</code>
|
|
<LI><code>CalCons.USE_CALPA_FLUSH</code>
|
|
</UL>
|
|
<P>The <code>USE_LOOK_AND_FEEL</code> argument will use standard Swing components based
|
|
on the currently installed Look&Feel. Generally these will provide an acceptable
|
|
display, but with certain document background colors these components lose
|
|
style features due to a clash between the background color of the document
|
|
and the control, shadow, and highlight color of the component.
|
|
<P>The <code>USE_CALPA_THREEDEE</code> and <code>USE_CALPA_FLUSH</code> styles have
|
|
been incorporated to help overcome such a situation. These components support
|
|
author-specific color attributes which can be made to blend satisfactorily with
|
|
the surrounding document color.
|
|
<P>Note that setting the default style via this method does not prevent the
|
|
document author from setting individual styles within the document itself. Styles
|
|
can be freely mixed by specifying style attributes within the relevant document
|
|
form tags.
|
|
<P>Although this method can be called at any time during program execution,
|
|
existing form components will remain in their original style.
|
|
<P>The default rendering style of form components is <code>USE_CALPA_THREEDEE</code>
|
|
<P>See the README.TXT file accompanying this document for more details on form rendering.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>style</CODE> - a value which determines the default rendering style of HTML form components</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFormRenderingStyle()"><!-- --></A><H3>
|
|
getFormRenderingStyle</H3>
|
|
<PRE>
|
|
public int <B>getFormRenderingStyle</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the default rendering style of <code>FORM</code> components within a
|
|
<code>CalHTMLPane</code>.<DD><DL>
|
|
<DT><B>Returns:</B><DD>a value indicating the default rendering style of HTML form components<DT><B>See Also: </B><DD><A HREF="../../calpa/html/CalHTMLPreferences.html#setFormRenderingStyle(int)"><CODE>setFormRenderingStyle(int)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultFrameSpacing(int)"><!-- --></A><H3>
|
|
setDefaultFrameSpacing</H3>
|
|
<PRE>
|
|
public void <B>setDefaultFrameSpacing</B>(int n)</PRE>
|
|
<DL>
|
|
<DD>Sets the default spacing in pixels between frames within a Frameset document. The default
|
|
setting is 4 pixels.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the default spacing in pixels between HTML frames in a Frameset document</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultFrameSpacing()"><!-- --></A><H3>
|
|
getDefaultFrameSpacing</H3>
|
|
<PRE>
|
|
public int <B>getDefaultFrameSpacing</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the default spacing in pixels between frames within a Frameset document.<DD><DL>
|
|
<DT><B>Returns:</B><DD>the default spacing in pixels between HTML frames in a Frameset document</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultMarginwidth(int)"><!-- --></A><H3>
|
|
setDefaultMarginwidth</H3>
|
|
<PRE>
|
|
public void <B>setDefaultMarginwidth</B>(int n)</PRE>
|
|
<DL>
|
|
<DD>Sets the default horizontal margin of a document. The default setting is 6 pixels.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the default horizontal margin in pixels between a document and the border of the frame it
|
|
resides in.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultMarginwidth()"><!-- --></A><H3>
|
|
getDefaultMarginwidth</H3>
|
|
<PRE>
|
|
public int <B>getDefaultMarginwidth</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the default horizontal margin of a document.<DD><DL>
|
|
<DT><B>Returns:</B><DD>the default horizontal margin in pixels between a document and the border of the frame it
|
|
resides in.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultMarginheight(int)"><!-- --></A><H3>
|
|
setDefaultMarginheight</H3>
|
|
<PRE>
|
|
public void <B>setDefaultMarginheight</B>(int n)</PRE>
|
|
<DL>
|
|
<DD>Sets the default vertical margin of a document. The default setting is 6 pixels.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the default vertical margin in pixels between a document and the border of the frame it
|
|
resides in.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultMarginheight()"><!-- --></A><H3>
|
|
getDefaultMarginheight</H3>
|
|
<PRE>
|
|
public int <B>getDefaultMarginheight</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the default vertical margin of a document.<DD><DL>
|
|
<DT><B>Returns:</B><DD>the default vertical margin in pixels between a document and the border of the frame it
|
|
resides in.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setHomeURL(java.net.URL)"><!-- --></A><H3>
|
|
setHomeURL</H3>
|
|
<PRE>
|
|
public void <B>setHomeURL</B>(java.net.URL url)</PRE>
|
|
<DL>
|
|
<DD>Sets the <code>URL</code> which will be accessed if a <code>CalHTMLPane's
|
|
goHome()</code> method is called. The default setting is http://www.w3.org<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>url</CODE> - the default <code>URL</code> to be accessed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getHomeURL()"><!-- --></A><H3>
|
|
getHomeURL</H3>
|
|
<PRE>
|
|
public java.net.URL <B>getHomeURL</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <code>URL</code> which will accessed if a <code>CalHTMLPane's
|
|
goHome()</code> method is called<DD><DL>
|
|
<DT><B>Returns:</B><DD>the default <code>URL</code> which will be accessed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setUnderlineLinks(boolean)"><!-- --></A><H3>
|
|
setUnderlineLinks</H3>
|
|
<PRE>
|
|
public void <B>setUnderlineLinks</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the underlining of hyperlinks within a <code>CalHTMLPane</code>.
|
|
The default value is true.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether hyperlinks should be underlined</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isUnderlineLinksEnabled()"><!-- --></A><H3>
|
|
isUnderlineLinksEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isUnderlineLinksEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will underline hyperlinks.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if hyperlinks will be underlined</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setShowHyperlinkOnMouseFocus(boolean)"><!-- --></A><H3>
|
|
setShowHyperlinkOnMouseFocus</H3>
|
|
<PRE>
|
|
public void <B>setShowHyperlinkOnMouseFocus</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Determines whether a hyperlink will only be marked as such when it has mouse focus. This is
|
|
commonly used in help systems where it is obvious that all text is a hyperlink entry, and users
|
|
only need to know which hyperlink is currently active.
|
|
The default value is false.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether hyperlinks will only be marked as such if they have mouse focus</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isShowHyperlinkOnMouseFocusEnabled()"><!-- --></A><H3>
|
|
isShowHyperlinkOnMouseFocusEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isShowHyperlinkOnMouseFocusEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will only show a hyperlink when the link has mouse focus.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if a hyperlink will only be marked as such when it has mouse focus</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLoadImages(boolean)"><!-- --></A><H3>
|
|
setLoadImages</H3>
|
|
<PRE>
|
|
public void <B>setLoadImages</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the automatic loading of images within a <code>CalHTMLPane</code>.
|
|
The default value is true.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether images within documents should be loaded and displayed</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLoadImagesEnabled()"><!-- --></A><H3>
|
|
isLoadImagesEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isLoadImagesEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will
|
|
automatically load images within documents.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if images within documents will be loaded and displayed</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDisplayErrorDialogs(boolean)"><!-- --></A><H3>
|
|
setDisplayErrorDialogs</H3>
|
|
<PRE>
|
|
public void <B>setDisplayErrorDialogs</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the automatic display of error dialogs within a <code>CalHTMLPane</code>.
|
|
At present such errors will most commonly arise from a failure to navigate to a
|
|
selected URL. The default value is true. If set to false, errors will not be displayed
|
|
to the screen but will still be passed to the resident <code>CalHTMLObserver</code><DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether an dialog should be displayed if an error occurs within a Pane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isDisplayErrorDialogsEnabled()"><!-- --></A><H3>
|
|
isDisplayErrorDialogsEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isDisplayErrorDialogsEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will automatically display a dialog when
|
|
errors such as failed hyperlinks occur.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if an error dialog will be displayed if an error occurs within a Pane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setShowTestNavBar(boolean)"><!-- --></A><H3>
|
|
setShowTestNavBar</H3>
|
|
<PRE>
|
|
public void <B>setShowTestNavBar</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the display of a diagnostic navigation bar. The default value is false.
|
|
<P>The navigation bar is a legacy of testing the component and is very basic,
|
|
but it has not been removed as it can be useful at times.
|
|
It is expected that users will implement their own custom navigation controls if required.
|
|
<P>The NavBar operates independently of the <code>CalHTMLObserver</code> monitoring the
|
|
Pane, and will not interfere with updates to that object. Note also that the NavBar controls do not
|
|
receive keyboard focus when tabbing.
|
|
<P>This method should be called prior to passing the
|
|
<code>CalHTMLPreferences</code> to a <code>CalHTMLPane</code>. Calls after this point
|
|
will be ignored.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether a <code>CalHTMLPane's</code> test navigation controls should be
|
|
displayed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isShowTestNavBarEnabled()"><!-- --></A><H3>
|
|
isShowTestNavBarEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isShowTestNavBarEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will display a diagnostic navigation bar on startup.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if a <code>CalHTMLPane</code> will display test navigation controls.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAutomaticallyFollowHyperlinks(boolean)"><!-- --></A><H3>
|
|
setAutomaticallyFollowHyperlinks</H3>
|
|
<PRE>
|
|
public void <B>setAutomaticallyFollowHyperlinks</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the automatic navigation of activated hyperlinks in a <code>CalHTMLPane</code>.
|
|
The default value is true. If set to false, activated hyperlinks will not be followed
|
|
but the event will still be passed to the resident <code>CalHTMLObserver</code><DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether hyperlinks should be followed if activated by mouse or keyboard.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAutomaticallyFollowHyperlinksEnabled()"><!-- --></A><H3>
|
|
isAutomaticallyFollowHyperlinksEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isAutomaticallyFollowHyperlinksEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will automatically navigate activated hyperlinks.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if hyperlinks should be followed if activated by keyboard or mouse.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setHandleFormSubmission(boolean)"><!-- --></A><H3>
|
|
setHandleFormSubmission</H3>
|
|
<PRE>
|
|
public void <B>setHandleFormSubmission</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the automatic processing of GET and POST html forms
|
|
within a <code>CalHTMLPane</code>. The default value is true. If set to false,
|
|
form submissions will still be passed to the resident <code>CalHTMLObserver</code><DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether http GET and POST form submissions should be handled automatically
|
|
by a <code>CalHTMLPane</code></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isHandleFormSubmissionEnabled()"><!-- --></A><H3>
|
|
isHandleFormSubmissionEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isHandleFormSubmissionEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will
|
|
automatically handle GET and POST form submissions.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if http GET and POST form submissions will be handled automatically
|
|
by a <code>CalHTMLPane</code></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setShowWarningBeforePost(boolean)"><!-- --></A><H3>
|
|
setShowWarningBeforePost</H3>
|
|
<PRE>
|
|
public void <B>setShowWarningBeforePost</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the showing of a warning message before a form POST submission
|
|
is made. The default value is true. This setting only has any meaning if the Pane is
|
|
handling form submissions.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether a warning message will displayed before an http form POST
|
|
submission</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isShowWarningBeforePostEnabled()"><!-- --></A><H3>
|
|
isShowWarningBeforePostEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isShowWarningBeforePostEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will show a warning to the user before a form POST
|
|
submission is made.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if a warning message will displayed before an http form POST
|
|
submission</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setHandleNewFrames(boolean)"><!-- --></A><H3>
|
|
setHandleNewFrames</H3>
|
|
<PRE>
|
|
public void <B>setHandleNewFrames</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Enables/disables the automatic creation of a new <code>CalHTMLPane</code> if
|
|
specified by an HTML tag. The default value is true. If set to false, a request
|
|
for a new frame will be sent to the resident <code>CalHTMLObserver</code><DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether a new <code>CalHTMLPane</code> should automatically be
|
|
displayed if specified by an HTML tag.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isHandleNewFramesEnabled()"><!-- --></A><H3>
|
|
isHandleNewFramesEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isHandleNewFramesEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a new <code>CalHTMLPane</code> will
|
|
automatically be created if specified by an HTML tag.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if a new <code>CalHTMLPane</code> will automatically be
|
|
displayed if specified by an HTML tag.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setRequestFocusOnMouseClick(boolean)"><!-- --></A><H3>
|
|
setRequestFocusOnMouseClick</H3>
|
|
<PRE>
|
|
public void <B>setRequestFocusOnMouseClick</B>(boolean b)</PRE>
|
|
<DL>
|
|
<DD>Determines whether a <code>CalHTMLPane</code> or one of its subframes will request keyboard focus
|
|
if the mouse is clicked within it. The default value is false.<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a flag indicating whether a <code>CalHTMLPane</code> frame should call
|
|
<code>requestFocus()</code> if the mouse is clicked within it.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isRequestFocusOnMouseClickEnabled()"><!-- --></A><H3>
|
|
isRequestFocusOnMouseClickEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isRequestFocusOnMouseClickEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns whether a <code>CalHTMLPane</code> will request keyboard focus if the mouse is
|
|
clicked within it.<DD><DL>
|
|
<DT><B>Returns:</B><DD><code>true</code> if a <code>CalHTMLPane</code> frame will call
|
|
<code>requestFocus()</code> if the mouse is clicked within it.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
<!-- ========== START OF NAVBAR ========== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../calpa/html/CalHTMLPane.html"><B>PREV CLASS</B></A>
|
|
<A HREF="../../calpa/html/DefaultCalHTMLObserver.html"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
|
<A HREF="CalHTMLPreferences.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== END OF NAVBAR =========== -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|