Initial revision

This commit is contained in:
dchandler 2003-07-05 22:13:17 +00:00
parent 8c4ab30a52
commit 0643096899
139 changed files with 10024 additions and 0 deletions

View file

@ -0,0 +1,102 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: accesskey</B><BR>
<P>
<TABLE border cellpadding=6 align=center>
<TR>
<TD>
<B>Synopsis:</B><BR>
Use this attribute to give a keyboard accelerator to a form component.
<P>For form buttons created with the INPUT tag the button text will show
the accelerator underlined.
<P>For other controls the U (underline) tag can be used to mark the key
accelerator.
<P>Note that the LABEL tag can be used to pass focus to another form
component by using the <B>for</B> attribute (see HTML4.0 spec).
<P>
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;P align=center&gt;<BR>
&lt;INPUT type=button value="Press me" accesskey="P"&gt;&nbsp;&nbsp;<BR>
Your &lt;U&gt;n&lt;/U&gt;ame: &lt;INPUT type=text accesskey=n&gt;<BR>
&lt;P align=center&gt;<BR>
&lt;LABEL bgcolor=white for=mycombo accesskey='c'&gt;&lt;U&gt;C&lt;/U&gt;omposer&lt;/LABEL&gt;<BR>
&lt;SELECT id=mycombo&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;OPTION&gt;Mozart<BR>
<code>&nbsp;&nbsp;</code>&lt;OPTION&gt;Schubert<BR>
<code>&nbsp;&nbsp;</code>&lt;OPTION&gt;Bach<BR>
&lt;/SELECT&gt;<BR>
</td>
</tr>
</table>
<P>
<TR><TD>
<B>Rendering:</B>
<FONT color=red size=-1>Note: Java 1.2 has a bug (no. 4159610) relating to this example. If
the textfield has focus and an accelerator is used for a different control, the
accelerator character will show within the textfield</FONT>
<P align=center>
<INPUT type=button value="Press me" accesskey="P">&nbsp;&nbsp;
Your <U>n</U>ame: <INPUT type=text accesskey=n>
<P align=center>
<LABEL bgcolor=white for=mycombo accesskey='c'><U>C</U>omposer</LABEL>
<SELECT id=mycombo>
<OPTION>Mozart
<OPTION>Schubert
<OPTION>Bach
</SELECT>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-labeltag.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Frames-iframe.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,178 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: INPUT (submit)</B><BR>
<B>Tag: INPUT (reset)</B><BR>
<B>Tag: INPUT (button)</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center cellpadding=12 width=100%>
<TR>
<TD>
<B>Default Rendering (no color modification):</B>
<P>
<FORM>
<table align=center border=2 cellspacing=2 cellpadding=10 width=400 bgcolor=uicontrol>
<colgroup span=4 align=center width=25%>
</colgroup>
<tr><th>&nbsp;</th><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td><B>uicontrol</B>
<td><input type=button style=lookandfeel value="Press Me"></td>
<td><input type=button style=threedee value="Press Me"></td>
<td><input type=button style=flush value="Press Me"></td>
</tr>
<tr bgcolor=white>
<td><B>white</B>
<td><input type=button style=lookandfeel value="Press Me"></td>
<td><input type=button style=threedee value="Press Me"></td>
<td><input type=button style=flush value="Press Me"></td>
</tr>
<tr bgcolor=black>
<td><B><FONT color=white>black</FONT></B>
<td><input type=button style=lookandfeel value="Press Me"></td>
<td><input type=button style=threedee value="Press Me"></td>
<td><input type=button style=flush value="Press Me"></td>
</tr>
<tr bgcolor=ddccee>
<td><B>(light)</B>
<td><input type=button style=lookandfeel value="Press Me"></td>
<td><input type=button style=threedee value="Press Me"></td>
<td><input type=button style=flush value="Press Me"></td>
</tr>
<tr bgcolor=557733>
<td><B>(dark)</B>
<td><input type=button style=lookandfeel value="Press Me"></td>
<td><input type=button style=threedee value="Press Me"></td>
<td><input type=button style=flush value="Press Me"></td>
</tr>
</table>
</FORM>
<BR>
</TD></TR>
<TR><TD>
<B>Setting color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;COLGROUP span=2 align=center width=50%&gt;&lt;/COLGROUP&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TH&gt;threedee&lt;/TH&gt;&lt;TH&gt;flush&lt;/TH&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=aa88aa&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=threedee bgcolor=aa88aa value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=flush bgcolor=aa88aa value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=threedee bgcolor=779988 value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=buton style=flush bgcolor=779988 value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=ee99aa&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=threedee bgcolor=ee99aa value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=flush bgcolor=ee99aa value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=threedee bgcolor=ccaa22 value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=button style=flush bgcolor=ccaa22 value="Press Me"&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR><TD>
<P>
<B>Rendering:</B>
<BR>
<table align=center border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol>
<colgroup span=2 align=center width=50%>
</colgroup>
<tr><th>threedee</th><th>flush</th></tr>
<tr bgcolor=aa88aa>
<td><input type=button style=threedee bgcolor=aa88aa value="Press Me"></td>
<td><input type=button style=flush bgcolor=aa88aa value="Press Me"></td>
</tr>
<tr>
<td><input type=button style=threedee bgcolor=779988 value="Press Me"></td>
<td><input type=button style=flush bgcolor=779988 value="Press Me"></td>
</tr>
<tr bgcolor=ee99aa>
<td><input type=button style=threedee bgcolor=ee99aa value="Press Me"></td>
<td><input type=button style=flush bgcolor=ee99aa value="Press Me"></td>
</tr>
<tr>
<td><input type=button style=threedee bgcolor=ccaa22 value="Press Me"></td>
<td><input type=button style=flush bgcolor=ccaa22 value="Press Me"></td>
</tr>
</table>
<BR>
</TD>
</TR>
<TR>
<TD>
The inner highlight of the <B>flush</B> style can be removed by
setting the control's <B>bordercolorlight</B> to the same color as its background
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr><td>
&lt;TABLE align=center border=2 cellspacing=2 cellpadding=5 width=100 bgcolor=aabbcc&gt;<BR>
&lt;TR&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;INPUT type=button align=bottom style=flush bgcolor=aabbcc<BR>
<code>&nbsp;&nbsp;</code>bordercolorlight=aabbcc value="Press Me"&gt;<BR>
&lt/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;
</td></tr>
</table>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=100 bgcolor=aabbcc>
<tr><td>
<input type=button align=bottom style=flush bgcolor=aabbcc bordercolorlight=aabbcc value="Press Me">
</td></tr>
</table>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-uiscrollcolors.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-checkbox.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,123 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: BUTTON</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center cellpadding=6 width=100%>
<TR>
<TD>
<B>Synopsis:</B><BR>
The <B>BUTTON</B> tag can contain HTML content, although it cannot contain
other form components, framesets, or hyperlinks.
<P>Within the threedee and flush styles the <B>marginwidth</B> and <B>marginheight</B>
attributes determine the button's insets (the gap between the button's border
and its content). The default marginwidth is 5 pixels, default marginheight 2 pixels.
<P>This tag takes the <B>type</B> attribute. The default type is <B>submit</B>.
<P>Note that to get the spacing and word-wrap you desire within the button it
is often advisable to format content using tables.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;BUTTON style=lookandfeel bgcolor=ccaacc&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;IMG src="images/gift.gif" align=left&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;DIV align=center&gt;Click&lt;BR&gt;here for&lt;BR clear=left&gt;your special&lt;BR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;FONT color=red&gt;&lt;B&gt;&lt;I&gt;FREE GIFT!!&lt;/I&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/DIV&gt;<BR>
&lt;/BUTTON&gt;
<P>
&lt;BUTTON style=threedee bgcolor=palegreen&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;IMG src="images/gift.gif" align=left&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;DIV align=center&gt;Click&lt;BR&gt;here for&lt;BR clear=left&gt;your special&lt;BR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;FONT color=red&gt;&lt;B&gt;&lt;I&gt;FREE GIFT!!&lt;/I&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/DIV&gt;<BR>
&lt;/BUTTON&gt;
<P>
&lt;BUTTON style=flush bgcolor=aaaaee&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;IMG src="images/gift.gif" align=left&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;DIV align=center&gt;Click&lt;BR&gt;here for&lt;BR clear=left&gt;your special&lt;BR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;FONT color=yellow&gt;&lt;B&gt;&lt;I&gt;FREE GIFT!!&lt;/I&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/DIV&gt;<BR>
&lt;/BUTTON&gt;
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<P>
<table align=center border=2 cellspacing=2 cellpadding=10 bgcolor=uicontrol>
<colgroup span=3 align=center>
</colgroup>
<tr><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td>
<BUTTON style=lookandfeel bgcolor=ccaacc>
<IMG src="images/gift.gif" align=left>
<DIV align=center>Click<BR>here for<BR clear=left>your special<BR>
<FONT color=red><B><I>FREE GIFT!!</I></B></FONT></DIV>
</BUTTON>
</td>
<td>
<BUTTON style=threedee bgcolor=palegreen>
<IMG src="images/gift.gif" align=left>
<DIV align=center>Click<BR>here for<BR clear=left>your special<BR>
<FONT color=red><B><I>FREE GIFT!!</I></B></FONT></DIV>
</BUTTON>
</td>
<td>
<BUTTON style=flush bgcolor=aaaaee>
<IMG src="images/gift.gif" align=left>
<DIV align=center>Click<BR>here for<BR clear=left>your special<BR>
<FONT color=yellow><B><I>FREE GIFT!!</I></B></FONT><DIV>
</BUTTON>
</td>
</tr>
</table>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview.tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-text.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-labeltag.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,151 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: INPUT (checkbox)</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center width=100% cellpadding=12>
<TR>
<TD>
<B>Default Rendering (no color modification):</B>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=400 bgcolor=uicontrol>
<colgroup span=4 align=center width=25%>
</colgroup>
<tr><th>&nbsp;</th><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td><B>uicontrol</B>
<td><input type=checkbox style=lookandfeel> Text</td>
<td><input type=checkbox style=threedee> Text</td>
<td><input type=checkbox style=flush> Text</td>
</tr>
<tr bgcolor=white>
<td><B>white</B>
<td><input type=checkbox style=lookandfeel> Text</td>
<td><input type=checkbox style=threedee> Text</td>
<td><input type=checkbox style=flush> Text</td>
</tr>
<tr bgcolor=black>
<td><B><FONT color=white>black</FONT></B>
<td><input type=checkbox style=lookandfeel> <FONT color=white>Text</FONT></td>
<td><input type=checkbox style=threedee> <FONT color=white>Text</FONT></td>
<td><input type=checkbox style=flush> <FONT color=white>Text</FONT></td>
</tr>
<tr bgcolor=ddccee>
<td><B>(light)</B>
<td><input type=checkbox style=lookandfeel> Text</td>
<td><input type=checkbox style=threedee> Text</td>
<td><input type=checkbox style=flush> Text</td>
</tr>
<tr bgcolor=557733>
<td><B>(dark)</B>
<td><input type=checkbox style=lookandfeel> Text</td>
<td><input type=checkbox style=threedee> Text</td>
<td><input type=checkbox style=flush> Text</td>
</tr>
</table>
<BR>
</TD></TR>
<TR><TD>
<B>Setting color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;COLGROUP span=2 align=center width=50%&gt;&lt;/COLGROUP&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TH&gt;threedee&lt;/TH&gt;&lt;TH&gt;flush&lt;/TH&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=threedee bgcolor=uicontrol&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=flush bgcolor=green text=white&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=779988&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=threedee bgcolor=779988&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=flush bgcolor=779988 text=yellow&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=ee99aa&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=threedee bgcolor=ee99aa&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=flush bgcolor=red text=white&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=ccaa22&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=threedee bgcolor=ccaa22&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=checkbox style=flush bgcolor=ccaa22&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR><TD>
<P>
<B>Rendering:</B>
<BR>
<table align=center border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol>
<colgroup span=2 align=center width=50%>
</colgroup>
<tr><th>threedee</th><th>flush</th></tr>
<tr>
<td><input type=checkbox style=threedee bgcolor=uicontrol> Text</td>
<td><input type=checkbox style=flush bgcolor=green text=white> Text</td>
</tr>
<tr bgcolor=779988>
<td><input type=checkbox style=threedee bgcolor=779988> Text</td>
<td><input type=checkbox style=flush bgcolor=779988 text=yellow> Text</td>
</tr>
<tr bgcolor=ee99aa>
<td><input type=checkbox style=threedee bgcolor=ee99aa> Text</td>
<td><input type=checkbox style=flush bgcolor=red text=white> Text</td>
</tr>
<tr bgcolor=ccaa22>
<td><input type=checkbox style=threedee bgcolor=ccaa22 > Text</td>
<td><input type=checkbox style=flush bgcolor=ccaa22> Text</td>
</tr>
</table>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-button.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-radio.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,133 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: bgcolor</B><BR>
<B>Attr: bordercolorlight</B><BR>
<B>Attr: bordercolordark</B><BR>
<B>Attr: bordercolor</B><BR>
<B>Attr: text</B><BR>
<B>Attr: arrowcolor</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center width=100% cellpadding=6>
<TR>
<TD>
<B>Use Within:</B><BR>
&lt;INPUT&gt; &lt;TEXTAREA&gt;, &lt;SELECT&gt;, &lt;BUTTON&gt;,
&lt;LABEL&gt;
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B> A hexidecimal color code or default color name<BR>
e.g. bordercolorlight=A0A0A0 bordercolordark=green
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>
<B>bgcolor</B> determines the base control color of the form component.
<P><B>bordercolorlight</B> sets the highlight color of the component.
<P><B>bordercolordark</B> sets the shadow color of the component.
<P><B>bordercolor</B> sets the background of text components, lists etc.<BR>
except when used within &lt;LABEL&gt; when it sets the label border color
<P><B>text</B> sets the foreground (text) color.
<P><B>arrowcolor</B> sets the color of arrows within comboboxes and scroll buttons.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=3 cellspacing=3 cellpadding=5 bgcolor=6688aa&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD align=center&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;SELECT style=flush text=white arrowcolor=white align=bottom&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Winnie the Pooh<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Bambi<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Babe<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;E.T.<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;/SELECT&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TEXTAREA style=threedee bgcolor=6688aa rows=4 bordercolor=ddddff<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>align=bottom&gt;Target locked...<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp</code>&lt;/TEXTAREA&gt<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD align=center&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT style=threedee type=button bgcolor=dd0000 text=white<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code> value=Fire align=bottom&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<BR>
<table align=center border=3 cellspacing=3 cellpadding=5 bgcolor=6688AA>
<tr><td align=center>
<SELECT style=flush text=white bgcolor=6688AA arrowcolor=white align=bottom>
<OPTION>Winnie the Pooh
<OPTION>Bambi
<OPTION>Babe
<OPTION>E.T.
</SELECT>
</tr></td>
<tr><td><TEXTAREA bgcolor=6688AA rows=4
bordercolor=ddddff align=bottom>Target locked...
</TEXTAREA></td></tr>
<tr><td align=center><INPUT type=button bgcolor=dd0000 text=white value="Fire" align=bottom></td></tr>
</table>
<br>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-style.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-uiscrollcolors.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,188 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: SELECT (combobox)</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center cellpadding=12 width=100%>
<TR>
<TD>
<B>Default Rendering (no color modification):</B>
<P>
<FORM>
<table align=center border=2 cellspacing=2 cellpadding=10 width=400 bgcolor=uicontrol>
<colgroup span=3 align=center width=33%>
</colgroup>
<tr><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td>
<SELECT style=lookandfeel align=bottom>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
<td>
<SELECT style=threedee align=bottom>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
<td>
<SELECT style=flush align=bottom>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
</tr>
</table>
<BR>
</TD></TR>
<TR><TD>
<B>With color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr><td>
&ltSELECT style=threedee bgcolor=ccbbcc&gt<BR>
&ltSELECT style=flush bgcolor=ccbbcc&gt<BR>
</td></tr>
</table>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=300 bgcolor=ccbbcc>
<colgroup span=2 align=center width=50%>
</colgroup>
<tr><th>threedee</th><th>flush</th></tr>
<tr><td>
<SELECT style=threedee align=bottom bgcolor=ccbbcc>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td><td>
<SELECT style=flush align=bottom bgcolor=ccbbcc>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
</tr>
</table>
<BR>
</TD>
</TR>
<TR>
<TD>
Use the <B>bordercolorlight</B> attribute to soften the inner highlight color
of the <B>flush</B> style
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr><td>
&ltSELECT style=flush bgcolor=ccbbcc bordercolorlight=eeddee&gt<BR>
</td></tr>
</table>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=150 bgcolor=ccbbcc>
<tr><td align=center>
<SELECT style=flush align=bottom bgcolor=ccbbcc bordercolorlight=eeddee>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td></tr>
</table>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-radio.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-selection.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,101 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: LABEL</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center cellpadding=6 width=100%>
<TR>
<TD>
<B>Synopsis:</B><BR>
The <B>LABEL</B> tag can contain HTML content, although it cannot contain
other form components, framesets, or hyperlinks.
<P>The <B>marginwidth</B> and <B>marginheight</B>
attributes determine the label's insets (the gap between the button's border
and its content). The default marginwidth is 3 pixels, default marginheight 2 pixels.
<P>Use the <B>for</B> attribute to transfer focus from a label to another
form component (see HTML4.0 spec).
<P>Use the <B>border</B> attribute to set the size of the label's border and
the <B>bordercolor</B> attribute to set the border's color.
<P>Use the <B>dropshadow</B> attribute to give the label a small shadow effect.
<P>Note that to get the spacing and word-wrap you desire within the label it
is often advisable to format content using tables.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;LABEL dropshadow border=1 bordercolor=black bgcolor=ddddee&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TABLE cellspacing=2&gt;&lt;TR&gt;&lt;TD align=center&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;FONT size=-1 face=helvetica&gt;Call now for&lt;BR&gt;information&lt;/FONT&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;IMG src="images/phone.gif"&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;<BR>
&lt;/LABEL&gt;<BR>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<DIV align=center>
<LABEL dropshadow border=1 bordercolor=black bgcolor=ddddee>
<table cellspacing=2><tr><td align=center>
<FONT face=helvetica size=-1>Call now for<BR>information</FONT>
</td><td><IMG src="images/phone.gif"></td></tr>
</table>
</LABEL>
</DIV>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-buttontag.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-accesskey.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,151 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: INPUT (radio)</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center width=100% cellpadding=12>
<TR>
<TD>
<B>Default Rendering (no color modification):</B>
<P>
<FORM>
<table align=center border=2 cellspacing=2 cellpadding=5 width=400 bgcolor=uicontrol>
<colgroup span=4 align=center width=25%>
</colgroup>
<tr><th>&nbsp;</th><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td><B>uicontrol</B>
<td><input type=radio style=lookandfeel name=a value=1> Text</td>
<td><input type=radio style=threedee name=b value=1> Text</td>
<td><input type=radio style=flush name=c value=1> Text</td>
</tr>
<tr bgcolor=white>
<td><B>white</B>
<td><input type=radio style=lookandfeel name=a value=2> Text</td>
<td><input type=radio style=threedee name=b value=2> Text</td>
<td><input type=radio style=flush name=c value=2> Text</td>
</tr>
<tr bgcolor=black>
<td><B><FONT color=white>black</FONT></B>
<td><input type=radio style=lookandfeel name=a value=3> <FONT color=white>Text</FONT></td>
<td><input type=radio style=threedee name=b value=3> <FONT color=white>Text</FONT></td>
<td><input type=radio style=flush name=c value=3> <FONT color=white>Text</FONT></td>
</tr>
<tr bgcolor=ddccee>
<td><B>(light)</B>
<td><input type=radio style=lookandfeel name=a value=4> Text</td>
<td><input type=radio style=threedee name=b value=4> Text</td>
<td><input type=radio style=flush name=c value=4> Text</td>
</tr>
<tr bgcolor=557733>
<td><B>(dark)</B>
<td><input type=radio style=lookandfeel name=a value=5> Text</td>
<td><input type=radio style=threedee name=b value=5> Text</td>
<td><input type=radio style=flush name=c value=5> Text</td>
</tr>
</table>
</FORM>
<BR>
</TD></TR>
<TR><TD>
<B>Setting color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;COLGROUP span=2 align=center width=50%&gt;&lt;/COLGROUP&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TH&gt;threedee&lt;/TH&gt;&lt;TH&gt;flush&lt;/TH&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=aa88aa&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=threedee bgcolor=aa88aa&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=flush bgcolor=aa88aa&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=779988&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=threedee bgcolor=779988&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=flush bgcolor=779988&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=ee99aa&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=threedee bgcolor=ee99aa&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=flush bgcolor=ee99aa&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR bgcolor=ccaa22&gt;&lt;TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=threedee bgcolor=ccaa22&gt; Text<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;INPUT type=radio style=flush bgcolor=ccaa22&gt; Text<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR><TD>
<P>
<B>Rendering:</B>
<BR>
<table align=center border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol>
<colgroup span=2 align=center width=50%>
</colgroup>
<tr><th>threedee</th><th>flush</th></tr>
<tr bgcolor=aa88aa>
<td><input type=radio style=threedee bgcolor=aa88aa> Text</td>
<td><input type=radio style=flush bgcolor=aa88aa> Text</td>
</tr>
<tr bgcolor=779988>
<td><input type=radio style=threedee bgcolor=779988> Text</td>
<td><input type=radio style=flush bgcolor=779988> Text</td>
</tr>
<tr bgcolor=ee99aa>
<td><input type=radio style=threedee bgcolor=ee99aa> Text</td>
<td><input type=radio style=flush bgcolor=ee99aa> Text</td>
</tr>
<tr bgcolor=ccaa22>
<td><input type=radio style=threedee bgcolor=ccaa22 > Text</td>
<td><input type=radio style=flush bgcolor=ccaa22> Text</td>
</tr>
</table>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-checkbox.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-combobox.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,154 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: SELECT (list)</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center bgcolor=ffffff cellpadding=12 width=100%>
<TR>
<TD>
<B>Default Rendering (no color modification):</B>
<P>
<FORM>
<table align=center border=2 cellspacing=2 cellpadding=10 width=400 bgcolor=uicontrol>
<colgroup span=4 align=center width=25%>
</colgroup>
<tr><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
<tr>
<td>
<SELECT style=lookandfeel size=5 align=bottom>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
<td>
<SELECT style=threedee align=bottom size=5>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
<td>
<SELECT style=flush align=bottom size=5>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
</tr>
</table>
<BR>
</TD></TR>
<TR><TD>
<B>With color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr><td>
&ltSELECT style=threedee bgcolor=mediumturquoise size=5&gt<BR>
&ltSELECT style=flush bgcolor=mediumturquoise size=5&gt<BR>
</td></tr>
</table>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=300 bgcolor=mediumturquoise>
<colgroup span=2 align=center width=50%>
</colgroup>
<tr><th>threedee</th><th>flush</th></tr>
<tr><td>
<SELECT style=threedee align=bottom bgcolor=mediumturquoise size=5>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td><td>
<SELECT style=flush align=bottom bgcolor=mediumturquoise size=5>
<OPTION>Alabama
<OPTION>Alaska
<OPTION>Arizona
<OPTION>Arkansas
<OPTION>California
<OPTION>Colorado
<OPTION>Connecticut
<OPTION>Delaware
<OPTION>Florida
<OPTION>Georgia
<OPTION>Hawaii
<OPTION>Idaho
</SELECT>
</td>
</tr>
</table>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-combobox.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-text.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,188 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: style</B><BR>
<P>
<TABLE border align=center bgcolor=ffffff cellpadding=6 width=100%>
<TR>
<TD colspan=2>
<B>Use Within:</B><BR>
&lt;INPUT&gt; &lt;TEXTAREA&gt;, &lt;SELECT&gt;, &lt;BUTTON&gt;
</TD>
</TR>
<TR>
<TD colspan=2>
<B>Arguments:</B> lookandfeel &#124; threedee &#124; flush
</TD>
</TR>
<TR>
<TD colspan=2>
<B>Synopsis:</B><BR>
Certain Swing Look & Feel controls do not render well within HTML documents
due to default color, sizing, opacity and border settings on the component.
The CalHTMLPane supports two additional rendering styles: <B>threedee</B>
and <B>flush</B> which will give consistent rendering irrespective of the
installed Look & Feel.
<P>Note that styles can be freely mixed within a document.
<BR><BR>
</TD>
</TR>
<TR><TH colspan=2>Examples of THREEDEE style form rendering</TD></TR>
<TR><TD>
<table align=center frame=border border=4 xbgcolor=teal bgcolor=ffffee bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U>Personal Details</U></td></tr>
<tr><td align=right>Your name</td><td width=150><INPUT style=threedee type=text bordercolordark=aaaa77 bordercolorlight=cccc99></td></tr>
<tr><td align=right valign=top>Address</td><td><TEXTAREA rows=4 style=threedee bordercolordark=aaaa77 bordercolorlight=cccc99></TEXTAREA></td></tr>
<tr><td align=right>Zip Code</td><td><INPUT style=threedee type=text bordercolordark=aaaa77 bordercolorlight=cccc99></td></tr>
<tr><td align=right>Email address</td><td><INPUT style=threedee type=text bordercolordark=aaaa77 bordercolorlight=cccc99></td></tr>
<tr><td align=right colspan=2>
<BUTTON bgcolor=cccc99 bordercolorlight=eeeebb marginheight=1 type=button style=threedee>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</BUTTON>
</td></tr>
</table>
</td></tr>
</table>
</TD>
<TD>
<table align=center frame=border border=4 bgcolor=teal bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U><FONT color=cccc99>Personal Details</FONT></U></td></tr>
<tr><td align=right><FONT color=cccc99>Your name</FONT></td><td width=150><INPUT style=threedee type=text bgcolor=teal></td></tr>
<tr><td align=right valign=top><FONT color=cccc99>Address</FONT></TD><td><TEXTAREA rows=4 style=threedee bgcolor=teal></TEXTAREA></td></tr>
<tr><td align=right><FONT color=cccc99>Zip Code</FONT></td><td><INPUT style=threedee type=text bgcolor=teal></td></tr>
<tr><td align=right><FONT color=cccc99>Email address</FONT></td><td><INPUT style=threedee type=text bgcolor=teal></td></tr>
<tr><td align=right colspan=2>
<BUTTON bgcolor=cccc99 marginheight=1 type=button style=threedee>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</BUTTON>
</td></tr>
</table>
</td></tr>
</table>
</TD>
</TR>
<TR><TH colspan=2>Examples of FLUSH style form rendering</TD></TR>
<TR><TD>
<table align=center frame=border border=4 bgcolor=ffffee bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U>Personal Details</U></td></tr>
<tr><td align=right>Your name</td><td width=150><INPUT style=flush type=text></td></tr>
<tr><td align=right valign=top>Address</td><td><TEXTAREA rows=4 style=flush></TEXTAREA></td></tr>
<tr><td align=right>Zip Code</td><td><INPUT style=flush type=text></TD></TR>
<tr><td align=right>Email address</td><td><INPUT style=flush type=text></td></tr>
<tr><td align=right colspan=2>
<button bgcolor=cccc99 marginheight=1 type=button style=flush>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</button>
</td></tr>
</table>
</td></tr>
</table>
</TD>
<TD>
<table align=center frame=border border=4 bgcolor=teal bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U><FONT color=cccc99>Personal Details</FONT></U></td></tr>
<tr><td align=right><FONT color=cccc99>Your name</FONT></td><td width=150><INPUT style=flush type=text></td></tr>
<tr><td align=right valign=top><FONT color=cccc99>Address</FONT></td><td><TEXTAREA rows=4 style=flush></TEXTAREA></TD></TR>
<tr><td align=right><FONT color=cccc99>Zip Code</FONT></td><td><INPUT style=flush type=text></td></tr>
<tr><td align=right><FONT color=cccc99>Email address</FONT></td><td><INPUT style=flush type=text></td></tr>
<tr><td align=right colspan=2>
<BUTTON bgcolor=cccc99 marginheight=1 type=button style=flush>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</BUTTON>
</td></tr>
</table>
</td></tr>
</table>
</TD></TR>
<TR><TH colspan=2>Examples of LOOKANDFEEL style form rendering</TD></TR>
<TR><TD>
<table align=center frame=border border=4 bgcolor=ffffee bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U>Personal Details</U></td></tr>
<tr><td align=right>Your name</td><td width=150><INPUT style=lookandfeel type=text size=15></td></tr>
<tr><td align=right valign=top>Address</td><td><TEXTAREA rows=4 cols=15 style=lookandfeel></TEXTAREA></td></tr>
<tr><td align=right>Zip Code</td><td><INPUT style=lookandfeel type=text size=15></TD></TR>
<tr><td align=right>Email address</td><td><INPUT style=lookandfeel type=text size=15></td></tr>
<tr><td align=right colspan=2>
<button bgcolor=cccc99 marginheight=1 type=button style=lookandfeel>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</button>
</td></tr>
</table>
</td></tr>
</table>
</TD>
<TD>
<table align=center frame=border border=4 bgcolor=teal bordercolor=maroon rules=none cellpadding=3>
<tr><td>
<table cellpadding=3>
<tr><th colspan=2><U><FONT color=cccc99>Personal Details</FONT></U></td></tr>
<tr><td align=right><FONT color=cccc99>Your name</FONT></td><td width=150><INPUT size=15 style=lookandfeel type=text></td></tr>
<tr><td align=right valign=top><FONT color=cccc99>Address</FONT></td><td><TEXTAREA rows=4 cols=15 style=lookandfeel></TEXTAREA></TD></TR>
<tr><td align=right><FONT color=cccc99>Zip Code</FONT></td><td><INPUT style=lookandfeel size=15 type=text></td></tr>
<tr><td align=right><FONT color=cccc99>Email address</FONT></td><td><INPUT style=lookandfeel size=15 type=text></td></tr>
<tr><td align=right colspan=2>
<BUTTON bgcolor=cccc99 marginheight=1 type=button style=lookandfeel>
<FONT face=Helvetica size=-2 color=maroon><B>Submit Details</B></FONT>
</BUTTON>
</td></tr>
</table>
</td></tr>
</table>
</TD></TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center colspan=2>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Tables-widths.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-color.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,143 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: INPUT (text)<BR>
Tag: INPUT (password)<BR>
Tag: TEXTAREA</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center width=100% cellpadding=12>
<TR>
<TD>
<B>Default Rendering (no color modification, size=18):</B>
<P>
<table align=center border=2 cellspacing=2 cellpadding=5 width=400 bgcolor=uicontrol>
<colgroup span=3 align=center>
</colgroup>
<tr><th>&nbsp;</th><th>uicontrol background</th><th>white background</th></tr>
<tr>
<td><B>lookandfeel</B>
<td><input type=text style=lookandfeel align=bottom></td>
<td bgcolor=white><input type=text style=lookandfeel align=bottom></td>
</tr>
<tr>
<td><B>threedee</B>
<td><input type=text style=threedee align=bottom></td>
<td bgcolor=white><input type=text style=threedee align=bottom></td>
</tr>
<tr>
<td><B>flush</B>
<td><input type=text style=flush align=bottom></td>
<td bgcolor=white><input type=text style=flush align=bottom></td>
</tr>
<tr><th>&nbsp;</th><th>light background</th><th>dark background</th></tr>
<tr>
<td><B>lookandfeel</B>
<td bgcolor=ddffdd><input type=text style=lookandfeel align=bottom></td>
<td bgcolor=6688aa><input type=text style=lookandfeel align=bottom></td>
</tr>
<tr>
<td><B>threedee</B>
<td bgcolor=ddffdd><input type=text style=threedee align=bottom></td>
<td bgcolor=6688aa><input type=text style=threedee align=bottom></td>
</tr>
<tr>
<td><B>flush</B>
<td bgcolor=ddffdd><input type=text style=flush align=bottom></td>
<td bgcolor=6688aa><input type=text style=flush align=bottom></td>
</tr>
</table>
<BR>
</TD></TR>
<TR><TD>
<B>Setting color attributes:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=2 cellspacing=2 cellpadding=5 bgcolor=gray&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;COLGROUP span=2 align=center&gt;&lt;/COLGROUP&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TH&gt;&lt;FONT color=white&gt;threedee&lt;/FONT&gt;&lt;/TH&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TH&gt;&lt;FONT color=white&gt;flush&lt;/FONT&gt;&lt;/TH&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD&gt;&lt;TEXTAREA rows=4 style=threedee<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>bgcolor=gray&gt;Some sample text&lt/TEXTAREA&gt;&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD&gt;&lt;TEXTAREA rows=4 style=flush bordercolor=maroon<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>text=yellow&gt;Some sample text&lt/TEXTAREA&gt;&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR><TD>
<P>
<B>Rendering:</B>
<BR>
<table align=center border=2 cellspacing=2 cellpadding=5 bgcolor=gray>
<colgroup span=2 align=center>
</colgroup>
<tr><th><FONT color=white>threedee</FONT></th><th><FONT color=white>flush</FONT></th></tr>
<tr>
<td><textarea rows=4 style=threedee bgcolor=gray>Some sample text</textarea>
</td>
<td bgcolor=white><textarea rows=4 style=flush bordercolor=maroon text=yellow>Some sample text</textarea>
</td>
</tr>
</table>
<BR>
</TD>
</TR>
<TR>
<TD>
<B>Implementation Notes:</B><BR>
<UL>
<LI>Note that the background color of text components is set with the <B>bordercolor</B><BR>
attribute.
<LI>Input into textfields can be constrained using the <B>maxlength</B> attribute
<LI>Swing's JTextArea normally allows tabbing within it, but this has been changed<BR>
within the CalPane to allow for consistent keyboard navigation
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-selection.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-buttontag.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,149 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>2: Forms</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: uiscrollcolors</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center cellpadding=6 width=100%>
<TR>
<TD>
<B>Use Within:</B><BR>
&lt;TEXTAREA&gt;, &lt;SELECT&gt;,
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B> None
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>
This attribute attempts to match the scrollbar thumb color in the
THREEDEE and FLUSH rendering styles to that of the installed Look And
Feel.
<P>It relies on consistent information being available within the PLAF
UIDefaults hashtable.
<P>To see the effect of using this attribute you need to view the given example
in a L&F which uses a distinctive scrollbar thumb color, such as MetalLookAndFeel.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=2 cellspacing=2 cellpadding=20 bgcolor=uicontrol&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD align=center&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;SELECT style=threedee uiscrollcolors align=abstop&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;One<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Two<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Three<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Four<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Five<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Six<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Seven<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Eight<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Nine<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Ten<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Eleven<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Twelve<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;/SELECT&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&amp;nbsp;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;SELECT style=flush size=4 uiscrollcolors align=abstop&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Monday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Tuesday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Wednesday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Thursday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Friday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Saturday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;OPTION&gt;Sunday<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;/SELECT&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<BR>
<table align=center border=2 cellspacing=2 cellpadding=20 bgcolor=uicontrol>
<tr><td align=center>
<SELECT style=threedee uiscrollcolors align=abstop>
<OPTION>One
<OPTION>Two
<OPTION>Three
<OPTION>Four
<OPTION>Five
<OPTION>Six
<OPTION>Seven
<OPTION>Eight
<OPTION>Nine
<OPTION>Ten
<OPTION>Eleven
<OPTION>Twelve
</SELECT>
&nbsp;
<SELECT style=flush size=4 uiscrollcolors align=abstop>
<OPTION>Monday
<OPTION>Tuesday
<OPTION>Wednesday
<OPTION>Thursday
<OPTION>Friday
<OPTION>Saturday
<OPTION>Sunday
</SELECT>
</td></tr>
</table>
<br>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-color.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-button.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,99 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>3: Frames</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: IFRAME</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border align=center bgcolor=ffffff cellpadding=6 width=500>
<TR>
<TD>
<B>Synopsis:</B><BR>
Creates an inline frame which can be dynamically updated with documents.
See the HTML4.0 spec for details. Placing an IFRAME in your document is much
like placing an image. For this reason the <B>hspace</B> and <B>vspace</B>
attributes are supported in addition to the usual frame attributes.
<P>Always remember to use the closing &lt;/IFRAME&gt; tag. Content between
the opening and closing tags is for HTML viewers which do not support inline
frames, and you will lose the rest of the document if you omit the closing
tag (not just in the CalPane, but in browsers such as IE4 as well).
<BR>
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;IFRAME hspace=4 vspace=4 align=left src="newsflash.html"<BR>
&nbsp;&nbsp;width=400 height=300 name=myiframe&gt;&lt;/IFRAME&gt;<BR>
This is a floating inline frame. Text will wrap around it as normal. Note<BR>
that the frame will handle its own internal links or it can be updated<BR>
externally.
&lt;BR clear=left&gt;<BR>
&lt;P align=center&gt;&lt;A href="techupdate.html" target=myiframe&gt;<BR>
Press here to update the frame with a new document&lt;/A&gt;&lt;BR&gt;
</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD bgcolor=aaccbb>
<B>Rendering:</B>
<P>
<IFRAME hspace=4 vspace=4 align=left src="newsflash.html"
width=400 height=300 name=myiframe></IFRAME>
This is a floating inline frame. Text will wrap around it as normal. Note
that the frame will handle its own internal links or it can be updated
externally.
<BR clear=left>
<P align=center><A href=techupdate.html target=myiframe>Press here
to update the frame with a new document</A><BR>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Forms-accesskey.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Images-imagemap.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,169 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>4: Images</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Tag: MAP</B><BR>
<B>Tag:AREA</B><BR>
<B>Attr: usemap</B>
<P>
<TABLE border width=100% cellpadding=6 align=center>
<TR>
<TD>
<B>Synopsis:</B><BR>
The CalHTMLPane supports the rect, circle and poly shapes within the
AREA tag.
<P>Coords can be expressed in absolute or percentage terms.
</TD>
</TR>
<TR>
<TD>
<B>Example 1:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;P align=center&gt;<BR>
&lt;IMG src="images/map.gif" usemap="#test" width=200 height=100&gt;<BR>
&lt;MAP name=test&gt;<BR>
&lt;AREA shape="rect" coords="25,25,55,85" href="maprect.html" target=myiframe2&gt;<BR>
&lt;AREA shape="circle" coords="100,50,15" href="mapcircle.html" target=myiframe2&gt;<BR>
&lt;AREA shape="poly" coords=150,25,125,70,175,70 href="maptriangle.html" target=myiframe2&gt;<BR>
&lt;/MAP&gt;<BR>
&lt;P align=center&gt;<BR>
&lt;TABLE frame=void rules=all cellspacing=0 cellpadding=0&gt;<BR>
&lt;TR&gt;&lt;TD bordercolor=black&gt;<BR>
&lt;IFRAME frameborder=0 scrolling=no name="myiframe2" width=300 height=100&gt;&lt;/IFRAME&gt;<BR>
&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD bgcolor=papayawhip>
<B>Rendering:</B>
<BR>
<P align=center>
<IMG src="images/map.gif" usemap="#test" width=200 height=100>
<MAP name=test>
<AREA shape="rect" coords="25,25,55,85" href="maprect.html" target=myiframe2>
<AREA shape="circle" coords="100,50,15" href="mapcircle.html" target=myiframe2>
<AREA shape="poly" coords=150,25,125,70,175,70 href="maptriangle.html" target=myiframe2>
</MAP>
<P align=center>
<TABLE frame=void rules=all cellspacing=0 cellpadding=0>
<TR><TD bordercolor=black>
<IFRAME frameborder=0 scrolling=no name="myiframe2" width=300 height=100></IFRAME>
</TD></TR>
</TABLE>
<BR>
</TD>
</TR>
<TR>
<TD>
<B>Example 2:</B><BR>
In the first example we used the actual size of the image (200 x 100 pixels) and used
the real coords of the shapes within that image. If we placed the image in
a document at a different size (say 250 x 125 pixels) the imagemap would no
longer work correctly. However, by using percentage instead of absolute coordinates we can place
the image at any size within our document, providing its aspect ratio is
maintained.
<P>Take the rectangle as an example. You can see that its coords in the
200 x 100 image are 25, 25, 55, 85. This is equivalent to 12.5%, 25%, 27.5%, 85%.
We can't use fractions so we enter these coords into the map as:
<P align=center>coords="12%,25%,27%,85%"
<P>The percentage coords are therefore slightly inexact, but this is not
normally much of a problem.
<P>Here's the whole example using percentage coords, demonstrating that two
completely different image sizes can use the same map:
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;P align=center&gt;<BR>
&lt;IMG src="images/map.gif" usemap="#test2" width=300 height=150&gt;<BR>
&lt;IMG src="images/map.gif" usemap="#test2" width=150 height=75&gt;<BR>
&lt;MAP name=test2&gt;<BR>
&lt;AREA shape="rect" coords="12%,25%,27%,85%" href="maprect.html" target=myiframe3&gt;<BR>
&lt;AREA shape="circle" coords="50%,50%,7%" href="mapcircle.html" target=myiframe3&gt;<BR>
&lt;AREA shape="poly" coords=75%,25%,62%,70%,87%,70% href="maptriangle.html" target=myiframe3&gt;<BR>
&lt;/MAP&gt;<BR>
&lt;P align=center&gt;<BR>
&lt;TABLE frame=void rules=all cellspacing=0 cellpadding=0&gt;<BR>
&lt;TR&gt;&lt;TD bordercolor=black&gt;<BR>
&lt;IFRAME frameborder=0 scrolling=no name="myiframe3" width=300 height=100&gt;&lt;/IFRAME&gt;<BR>
&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD bgcolor=papayawhip>
<B>Rendering:</B>
<BR>
<P align=center>
<IMG src="images/map.gif" usemap="#test2" width=300 height=150>
<IMG src="images/map.gif" usemap="#test2" width=150 height=75>
<MAP name=test2>
<AREA shape="rect" coords="12%,25%,27%,85%" href="maprect.html" target=myiframe3>
<AREA shape="circle" coords="50%,50%,7%" href="mapcircle.html" target=myiframe3>
<AREA shape="poly" coords=75%,25%,62%,70%,87%,70% href="maptriangle.html" target=myiframe3>
</MAP>
<P align=center>
<TABLE frame=void rules=all cellspacing=0 cellpadding=0>
<TR><TD bordercolor=black>
<IFRAME frameborder=0 scrolling=no name="myiframe3" width=300 height=100></IFRAME>
</TD></TR>
</TABLE>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Frames-iframe.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Misc-colornames.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,128 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>5: Misc</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: align</B>
<P>
<TABLE border width=800 cellpadding=6 align=center>
<TR>
<TD>
<B>Use With:</B><BR>
Images, form components, inline frames, &ltOBJECT&gt; tag
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B>
abstop &#124; top &#124; absmiddle &#124; middle &#124; texttop &#124; baseline &#124; bottom &#124; absbottom &#124; left &#124; right<BR>
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>
<B>abstop</B> aligns the object to the top of the line
<P><B>top</B> and <B>texttop</B> align the object to the top of any text
<P><B>absmiddle</B> aligns the object to the center point of the line
<P><B>middle</B> aligns the object to the middle of any text
<P><B>bottom</B> and <B>baseline</B> align the object to the baseline of any text
<P><B>absbottom</B> aligns the object to the bottom of the line
<P><B>left</B> will float the object on the left margin
<P><B>right</B> will float the object on the right margin
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&ltTABLE width=100% border=0 cellspacing=0 cellpadding=1 bgcolor=black&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;<BR>
&lt;IMG src="nosrc.gif" alt="top texttop" align=top width=80 height=80&gt;<BR>
Some text<BR>
&lt;IMG src="nosrc.gif" alt="bottom baseline" align=bottom width=80 height=50&gt;<BR>
more<BR>
&lt;IMG src="nosrc.gif" alt="abstop" align=abstop width=80 height=80&gt;<BR>
more<BR>
&lt;IMG src="nosrc.gif" alt="middle" align=middle width=80 height=80&gt;<BR>
more<BR>
&lt;IMG src="nosrc.gif" alt="absmiddle" align=absmiddle width=100 height=80&gt;<BR>
more<BR>
&lt;IMG src="nosrc.gif" alt="absbottom" align=absbottom width=100 height=50&gt;<BR>
&lt;TABLE width=100% border=0 cellspacing=0 cellpadding=1 bgcolor=black&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;<BR>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<BR>
<P align=center>
<table width=100% border=0 cellspacing=0 cellpadding=1 bgcolor=black><tr><td></tr></td></table>
<IMG src="nosrc.gif" alt="top texttop" align=top width=80 height=80>
Some text
<IMG src="nosrc.gif" alt="bottom baseline" align=bottom width=80 height=50>
more
<IMG src="nosrc.gif" alt="abstop" align=abstop width=80 height=80>
more
<IMG src="nosrc.gif" alt="middle" align=middle width=80 height=80>
more
<IMG src="nosrc.gif" alt="absmiddle" align=absmiddle width=100 height=80>
more
<IMG src="nosrc.gif" alt="absbottom" align=absbottom width=100 height=50>
<table width=100% border=0 cellspacing=0 cellpadding=1 bgcolor=black><tr><td></tr></td></table>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Misc-lines.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Misc-float.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,262 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>5: Misc</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Default Color Names</B><BR>
The following default color names are supported by the CalHTMLPane:
<P>
<table align=center bgcolor=ddddff border=1 cellpadding=4>
<colgroup>
<col span=2><col span=1 align=center>
<col span=2><col span=1 align=center>
</colgroup>
<tr><th width=90>Name</th><th width=90>Example</th><th width=90>Hex value</th><th width=90>Name</th><th width=90>Example</th><th width=90>Hex value</th></tr>
<tr>
<td>aliceblue</td><td bgcolor=aliceblue>&nbsp;</td><td><tt>#f0f8ff</tt></td>
<td>lightskyblue</td><td bgcolor=lightskyblue>&nbsp;</td><td><tt>#87cefa</tt></td>
</tr><tr>
<td>antiquewhite</td><td bgcolor=antiquewhite>&nbsp;</td><td><tt>#faebd7</tt></td>
<td>lightslategray</td><td bgcolor=lightslategray>&nbsp;</td><td><tt>#778899</tt></td>
</tr><tr>
<td>aqua</td><td bgcolor=aqua>&nbsp;</td><td><tt>#00ffff</tt></td>
<td>lightsteelblue</td><td bgcolor=lightsteelblue>&nbsp;</td><td><tt>#b0c4de</tt></td>
</tr><tr>
<td>aquamarine</td><td bgcolor=aquamarine>&nbsp;</td><td><tt>#7fffd4</tt></td>
<td>lightyellow</td><td bgcolor=lightyellow>&nbsp;</td><td><tt>#ffffe0</tt></td>
</tr><tr>
<td>azure</td><td bgcolor=azure>&nbsp;</td><td><tt>#f0ffff</tt></td>
<td>lime</td><td bgcolor=lime>&nbsp;</td><td><tt>#00ff00</tt></td>
</tr><tr>
<td>beige</td><td bgcolor=beige>&nbsp;</td><td><tt>#f5f5dc</tt></td>
<td>limegreen</td><td bgcolor=limegreen>&nbsp;</td><td><tt>#32cd32</tt></td>
</tr><tr>
<td>bisque</td><td bgcolor=bisque>&nbsp;</td><td><tt>#ffe4c4</tt></td>
<td>linen</td><td bgcolor=linen>&nbsp;</td><td><tt>#faf0e6</tt></td>
</tr><tr>
<td>black</td><td bgcolor=black>&nbsp;</td><td><tt>#000000</tt></td>
<td>magenta</td><td bgcolor=magenta>&nbsp;</td><td><tt>#ff00ff</tt></td>
</tr><tr>
<td>blanchedalmond</td><td bgcolor=blanchedalmond>&nbsp;</td><td><tt>#ffebcd</tt></td>
<td>maroon</td><td bgcolor=maroon>&nbsp;</td><td><tt>#800000</tt></td>
</tr><tr>
<td>blue</td><td bgcolor=blue>&nbsp;</td><td><tt>#0000ff</tt></td>
<td>mediumaquamarine</td><td bgcolor=mediumaquamarine>&nbsp;</td><td><tt>#66cdaa</tt></td>
</tr><tr>
<td>blueviolet</td><td bgcolor=blueviolet>&nbsp;</td><td><tt>#8a2be2</tt></td>
<td>mediumblue</td><td bgcolor=mediumblue>&nbsp;</td><td><tt>#0000cd</tt></td>
</tr><tr>
<td>brown</td><td bgcolor=brown>&nbsp;</td><td><tt>#a52a2a</tt></td>
<td>mediumorchid</td><td bgcolor=mediumorchid>&nbsp;</td><td><tt>#ba55d3</tt></td>
</tr><tr>
<td>burlywood</td><td bgcolor=burlywood>&nbsp;</td><td><tt>#deb887</tt></td>
<td>mediumpurple</td><td bgcolor=mediumpurple>&nbsp;</td><td><tt>#9370db</tt></td>
</tr><tr>
<td>cadetblue</td><td bgcolor=cadetblue>&nbsp;</td><td><tt>#5f9ea0</tt></td>
<td>mediumseagreen</td><td bgcolor=mediumseagreen>&nbsp;</td><td><tt>#3cb371</tt></td>
</tr><tr>
<td>chartreuse</td><td bgcolor=chartreuse>&nbsp;</td><td><tt>#7fff00</tt></td>
<td>mediumslateblue</td><td bgcolor=mediumslateblue>&nbsp;</td><td><tt>#7b68ee</tt></td>
</tr><tr>
<td>chocolate</td><td bgcolor=chocolate>&nbsp;</td><td><tt>#d2691e</tt></td>
<td>mediumspringgreen</td><td bgcolor=mediumspringgreen>&nbsp;</td><td><tt>#00fa9a</tt></td>
</tr><tr>
<td>coral</td><td bgcolor=coral>&nbsp;</td><td><tt>#ff7f50</tt></td>
<td>mediumturquoise</td><td bgcolor=mediumturquoise>&nbsp;</td><td><tt>#48d1cc</tt></td>
</tr><tr>
<td>cornflowerblue</td><td bgcolor=cornflowerblue>&nbsp;</td><td><tt>#6495ed</tt></td>
<td>mediumvioletred</td><td bgcolor=mediumvioletred>&nbsp;</td><td><tt>#c71585</tt></td>
</tr><tr>
<td>cornsilk</td><td bgcolor=cornsilk>&nbsp;</td><td><tt>#fff8dc</tt></td>
<td>midnightblue</td><td bgcolor=midnightblue>&nbsp;</td><td><tt>#191970</tt></td>
</tr><tr>
<td>crimson</td><td bgcolor=crimson>&nbsp;</td><td><tt>#dc143c</tt></td>
<td>mintcream</td><td bgcolor=mintcream>&nbsp;</td><td><tt>#f5fffa</tt></td>
</tr><tr>
<td>cyan</td><td bgcolor=cyan>&nbsp;</td><td><tt>#00ffff</tt></td>
<td>mistyrose</td><td bgcolor=mistyrose>&nbsp;</td><td><tt>#ffe4e1</tt></td>
</tr><tr>
<td>darkblue</td><td bgcolor=darkblue>&nbsp;</td><td><tt>#00008b</tt></td>
<td>moccasin</td><td bgcolor=moccasin>&nbsp;</td><td><tt>#ffe4b5</tt></td>
</tr><tr>
<td>darkcyan</td><td bgcolor=darkcyan>&nbsp;</td><td><tt>#008b8b</tt></td>
<td>navajowhite</td><td bgcolor=navajowhite>&nbsp;</td><td><tt>#ffdead</tt></td>
</tr><tr>
<td>darkgoldenrod</td><td bgcolor=darkgoldenrod>&nbsp;</td><td><tt>#b8860b</tt></td>
<td>navy</td><td bgcolor=navy>&nbsp;</td><td><tt>#000080</tt></td>
</tr><tr>
<td>darkgray</td><td bgcolor=darkgray>&nbsp;</td><td><tt>#a9a9a9</tt></td>
<td>oldlace</td><td bgcolor=oldlace>&nbsp;</td><td><tt>#fdf5e6</tt></td>
</tr><tr>
<td>darkgreen</td><td bgcolor=darkgreen>&nbsp;</td><td><tt>#006400</tt></td>
<td>olive</td><td bgcolor=olive>&nbsp;</td><td><tt>#808000</tt></td>
</tr><tr>
<td>darkkhaki</td><td bgcolor=darkkhaki>&nbsp;</td><td><tt>#bdb76b</tt></td>
<td>olivedrab</td><td bgcolor=olivedrab>&nbsp;</td><td><tt>#6b8e23</tt></td>
</tr><tr>
<td>darkmagenta</td><td bgcolor=darkmagenta>&nbsp;</td><td><tt>#8b008b</tt></td>
<td>orange</td><td bgcolor=orange>&nbsp;</td><td><tt>#ffa500</tt></td>
</tr><tr>
<td>darkolivegreen</td><td bgcolor=darkolivegreen>&nbsp;</td><td><tt>#556b2f</tt></td>
<td>orangered</td><td bgcolor=orangered>&nbsp;</td><td><tt>#ff4500</tt></td>
</tr><tr>
<td>darkorange</td><td bgcolor=darkorange>&nbsp;</td><td><tt>#ff8c00</tt></td>
<td>orchid</td><td bgcolor=orchid>&nbsp;</td><td><tt>#da70d6</tt></td>
</tr><tr>
<td>darkorchid</td><td bgcolor=darkorchid>&nbsp;</td><td><tt>#9932cc</tt></td>
<td>palegoldenrod</td><td bgcolor=palegoldenrod>&nbsp;</td><td><tt>#eee8aa</tt></td>
</tr><tr>
<td>darkred</td><td bgcolor=darkred>&nbsp;</td><td><tt>#8b0000</tt></td>
<td>palegreen</td><td bgcolor=palegreen>&nbsp;</td><td><tt>#98fb98</tt></td>
</tr><tr>
<td>darksalmon</td><td bgcolor=darksalmon>&nbsp;</td><td><tt>#e9967a</tt></td>
<td>paleturquoise</td><td bgcolor=paleturquoise>&nbsp;</td><td><tt>#afeeee</tt></td>
</tr><tr>
<td>darkseagreen</td><td bgcolor=darkseagreen>&nbsp;</td><td><tt>#8fbc8f</tt></td>
<td>palevioletred</td><td bgcolor=palevioletred>&nbsp;</td><td><tt>#db7093</tt></td>
</tr><tr>
<td>darkslateblue</td><td bgcolor=darkslateblue>&nbsp;</td><td><tt>#483d8b</tt></td>
<td>papayawhip</td><td bgcolor=papayawhip>&nbsp;</td><td><tt>#ffefd5</tt></td>
</tr><tr>
<td>darkslategray</td><td bgcolor=darkslategray>&nbsp;</td><td><tt>#2f4f4f</tt></td>
<td>peachpuff</td><td bgcolor=peachpuff>&nbsp;</td><td><tt>#ffdab9</tt></td>
</tr><tr>
<td>darkturquoise</td><td bgcolor=darkturquoise>&nbsp;</td><td><tt>#00ced1</tt></td>
<td>peru</td><td bgcolor=peru>&nbsp;</td><td><tt>#cd853f</tt></td>
</tr><tr>
<td>darkviolet</td><td bgcolor=darkviolet>&nbsp;</td><td><tt>#9400d3</tt></td>
<td>pink</td><td bgcolor=pink>&nbsp;</td><td><tt>#ffc0cb</tt></td>
</tr><tr>
<td>deeppink</td><td bgcolor=deeppink>&nbsp;</td><td><tt>#ff1493</tt></td>
<td>plum</td><td bgcolor=plum>&nbsp;</td><td><tt>#dda0dd</tt></td>
</tr><tr>
<td>deepskyblue</td><td bgcolor=deepskyblue>&nbsp;</td><td><tt>#00bfff</tt></td>
<td>powderblue</td><td bgcolor=powderblue>&nbsp;</td><td><tt>#b0e0e6</tt></td>
</tr><tr>
<td>dimgray</td><td bgcolor=dimgray>&nbsp;</td><td><tt>#696969</tt></td>
<td>purple</td><td bgcolor=purple>&nbsp;</td><td><tt>#800080</tt></td>
</tr><tr>
<td>dodgerblue</td><td bgcolor=dodgerblue>&nbsp;</td><td><tt>#1e90ff</tt></td>
<td>red</td><td bgcolor=red>&nbsp;</td><td><tt>#ff0000</tt></td>
</tr><tr>
<td>firebrick</td><td bgcolor=firebrick>&nbsp;</td><td><tt>#b22222</tt></td>
<td>rosybrown</td><td bgcolor=rosybrown>&nbsp;</td><td><tt>#bc8f8f</tt></td>
</tr><tr>
<td>floralwhite</td><td bgcolor=floralwhite>&nbsp;</td><td><tt>#fffaf0</tt></td>
<td>royalblue</td><td bgcolor=royalblue>&nbsp;</td><td><tt>#4169e1</tt></td>
</tr><tr>
<td>forestgreen</td><td bgcolor=forestgreen>&nbsp;</td><td><tt>#228b22</tt></td>
<td>saddlebrown</td><td bgcolor=saddlebrown>&nbsp;</td><td><tt>#8b4513</tt></td>
</tr><tr>
<td>fuchsia</td><td bgcolor=fuchsia>&nbsp;</td><td><tt>#ff00ff</tt></td>
<td>salmon</td><td bgcolor=salmon>&nbsp;</td><td><tt>#fa8072</tt></td>
</tr><tr>
<td>ghostwhite</td><td bgcolor=ghostwhite>&nbsp;</td><td><tt>#f8f8ff</tt></td>
<td>sandybrown</td><td bgcolor=sandybrown>&nbsp;</td><td><tt>#f4a460</tt></td>
</tr><tr>
<td>gainsboro</td><td bgcolor=gainsboro>&nbsp;</td><td><tt>#dcdcdc</tt></td>
<td>seagreen</td><td bgcolor=seagreen>&nbsp;</td><td><tt>#2e8b57</tt></td>
</tr><tr>
<td>gold</td><td bgcolor=gold>&nbsp;</td><td><tt>#ffd700</tt></td>
<td>seashell</td><td bgcolor=seashell>&nbsp;</td><td><tt>#fff5ee</tt></td>
</tr><tr>
<td>goldenrod</td><td bgcolor=goldenrod>&nbsp;</td><td><tt>#daa520</tt></td>
<td>sienna</td><td bgcolor=sienna>&nbsp;</td><td><tt>#a0522d</tt></td>
</tr><tr>
<td>gray</td><td bgcolor=gray>&nbsp;</td><td><tt>#808080</tt></td>
<td>silver</td><td bgcolor=silver>&nbsp;</td><td><tt>#c0c0c0</tt></td>
</tr><tr>
<td>green</td><td bgcolor=green>&nbsp;</td><td><tt>#008000</tt></td>
<td>skyblue</td><td bgcolor=skyblue>&nbsp;</td><td><tt>#87ceeb</tt></td>
</tr><tr>
<td>greenyellow</td><td bgcolor=greenyellow>&nbsp;</td><td><tt>#adff2f</tt></td>
<td>slateblue</td><td bgcolor=slateblue>&nbsp;</td><td><tt>#6a5acd</tt></td>
</tr><tr>
<td>honeydew</td><td bgcolor=honeydew>&nbsp;</td><td><tt>#f0fff0</tt></td>
<td>slategray</td><td bgcolor=slategray>&nbsp;</td><td><tt>#708090</tt></td>
</tr><tr>
<td>hotpink</td><td bgcolor=hotpink>&nbsp;</td><td><tt>#ff69b4</tt></td>
<td>snow</td><td bgcolor=snow>&nbsp;</td><td><tt>#fffafa</tt></td>
</tr><tr>
<td>indianred</td><td bgcolor=indianred>&nbsp;</td><td><tt>#cd5c5c</tt></td>
<td>springgreen</td><td bgcolor=springgreen>&nbsp;</td><td><tt>#00ff7f</tt></td>
</tr><tr>
<td>indigo</td><td bgcolor=indigo>&nbsp;</td><td><tt>#4b0082</tt></td>
<td>steelblue</td><td bgcolor=steelblue>&nbsp;</td><td><tt>#4682b4</tt></td>
</tr><tr>
<td>ivory</td><td bgcolor=ivory>&nbsp;</td><td><tt>#fffff0</tt></td>
<td>tan</td><td bgcolor=tan>&nbsp;</td><td><tt>#d2b48c</tt></td>
</tr><tr>
<td>khaki</td><td bgcolor=khaki>&nbsp;</td><td><tt>#f0e68c</tt></td>
<td>teal</td><td bgcolor=teal>&nbsp;</td><td><tt>#008080</tt></td>
</tr><tr>
<td>lavender</td><td bgcolor=lavender>&nbsp;</td><td><tt>#e6e6fa</tt></td>
<td>thistle</td><td bgcolor=thistle>&nbsp;</td><td><tt>#d8bfd8</tt></td>
</tr><tr>
<td>lavenderblush</td><td bgcolor=lavenderblush>&nbsp;</td><td><tt>#fff0f5</tt></td>
<td>tomato</td><td bgcolor=tomato>&nbsp;</td><td><tt>#ff6347</tt></td>
</tr><tr>
<td>lawngreen</td><td bgcolor=lawngreen>&nbsp;</td><td><tt>#7cfc00</tt></td>
<td>turquoise</td><td bgcolor=turquoise>&nbsp;</td><td><tt>#40e0d0</tt></td>
</tr><tr>
<td>lemonchiffon</td><td bgcolor=lemonchiffon>&nbsp;</td><td><tt>#fffacd</tt></td>
<td>uicontrol</td><td bgcolor=uicontrol>&nbsp;</td><td>(variable)</td>
</tr><tr>
<td>lightblue</td><td bgcolor=lightblue>&nbsp;</td><td><tt>#add8e6</tt></td>
<td>uihighlight</td><td bgcolor=uihighlight>&nbsp;</td><td>(variable)</td>
</tr><tr>
<td>lightcoral</td><td bgcolor=lightcoral>&nbsp;</td><td><tt>#f08080</tt></td>
<td>uishadow</td><td bgcolor=uishadow>&nbsp;</td><td>(variable)</td>
</tr><tr>
<td>lightcyan</td><td bgcolor=lightcyan>&nbsp;</td><td><tt>#e0ffff</tt></td>
<td>violet</td><td bgcolor=violet>&nbsp;</td><td><tt>#ee82ee</tt></td>
</tr><tr>
<td>lightgoldenrodyellow</td><td bgcolor=lightgoldenrodyellow>&nbsp;</td><td><tt>#fafad2</tt></td>
<td>wheat</td><td bgcolor=wheat>&nbsp;</td><td><tt>#f5deb3</tt></td>
</tr><tr>
<td>lightgreen</td><td bgcolor=lightgreen>&nbsp;</td><td><tt>#90ee90</tt></td>
<td>white</td><td bgcolor=white>&nbsp;</td><td><tt>#ffffff</tt></td>
</tr><tr>
<td>lightgrey</td><td bgcolor=lightgrey>&nbsp;</td><td><tt>#d3d3d3</tt></td>
<td>whitesmoke</td><td bgcolor=whitesmoke>&nbsp;</td><td><tt>#f5f5f5</tt></td>
</tr><tr>
<td>lightpink</td><td bgcolor=lightpink>&nbsp;</td><td><tt>#ffb6c1</tt></td>
<td>yellow</td><td bgcolor=yellow>&nbsp;</td><td><tt>#ffff00</tt></td>
</tr><tr>
<td>lightsalmon</td><td bgcolor=lightsalmon>&nbsp;</td><td><tt>#ffa07a</tt></td>
<td>yellowgreen</td><td bgcolor=yellowgreen>&nbsp;</td><td><tt>#9acd32</tt></td>
</tr><tr>
<td>lightseagreen</td><td bgcolor=lightseagreen>&nbsp;</td><td><tt>#20b2aa</tt></td>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr>
</table>
<BR>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Images-imagemap.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Misc-lines.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,126 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>5: Misc</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: align (floating)</B>
<P>
<TABLE border width=100% cellpadding=6 align=center>
<TR>
<TD>
<B>Use With:</B><BR>
Tables, Images, form components, inline frames, &ltOBJECT&gt; tag
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B>
left &#124; right<BR>
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>
<P><B>left</B> will float the object on the left margin
<P><B>right</B> will float the object on the right margin
<P>Multiple objects may be floated left and right.
<UL><LI>Note that you need to be sure when using right-aligned floats that there is sufficient
space between the left and right margins. If horizontal space becomes too
narrow you may see rendering problems as
text or other objects begin to overlap the right hand float. You should be
able to see this happen in the example below if you gradually reduce the width
of the display frame. This is an effect of asynchronous
parsing/loading, and you will experience the same rendering effect on a Web browser
such as Internet Explorer 4.
</UL>
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table width=80% align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
This is a start of the text and you can<BR>
&lt;IMG src="images/orchid.gif" width=100 height=94 align=left&gt;<BR>
&lt;IMG src="images/orchid.gif" width=100 height=94 align=right&gt;<BR>
see that even though we inserted two images between the words 'can' and 'see',
the text<BR>
&lt;TABLE border align=left cellpadding=3&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;Floating table&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
&lt;INPUT align=right type=button value="Floating button"&gt;<BR>
will continue on the same line as if the images have been ignored.
Only when a new line occurs will the images be inserted against the right and
left margins. We've also floated a table and a form component to demonstrate
that multiple objects can be floated. You need to be careful when using
right margin floats if you are authoring documents for small displays.
Rendering errors can occur if the display width becomes too narrow.
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<BR>
<P>
This is a start of the text and you can
<IMG src="images/orchid.gif" width=100 height=94 align=left>
<IMG src="images/orchid.gif" width=100 height=94 align=right>
see that even though we inserted two images between the words 'can' and 'see',
the text
<TABLE border align=left cellpadding=3><TR><TD>Floating table</TD></TR></TABLE>
<INPUT align=right type=button value="Floating button">
will continue on the same line as if the images have been ignored.
Only when a new line occurs will the images be inserted against the right and
left margins. We've also floated a table and a form component to demonstrate
that multiple objects can be floated. You need to be careful when using
right margin floats if you are authoring documents for small displays.
Rendering errors can occur if the display width becomes too narrow.
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Misc-align.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Prog-answers.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,119 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>5: Misc</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Drawing horizontal lines</B><BR>
<P>
<BLOCKQUOTE>
<TABLE width=100% border align=center bgcolor=uicontrol cellpadding=10>
<TR>
<TD align=center>
The standard way to draw a horizontal line is to use the &lt;HR&gt; tag:
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;HR width=100%&gt;</FONT>
</td></tr></table>
<HR width=100%>
<P><BR>
In a CalHTMLPane this tag can also take a color argument:
<P><table bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;HR width=100% color=green size=1&gt;</FONT>
</td></tr></table>
<HR width=100% color=green size=1>
<P><BR>
The &lt;HR&gt; tag line-breaks and creates automatic spacing. However this is
not always desired, and in such cases the &lt;TABLE&gt; tag can be used to
create lines. We draw two such lines below to show that no space is created
between successive lines.
<P><table bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE width=100% bgcolor=blue cellspacing=0 border=0 cellpadding=1&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
&lt;TABLE width=50% bgcolor=yellow cellspacing=0 border=0 cellpadding=1&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;
</FONT>
</td></tr></table>
<P>
<table width=100% border=0 cellspacing=0 cellpadding=1 bgcolor=blue>
<tr><td></td></tr>
</table>
<table width=50% border=0 cellspacing=0 cellpadding=1 bgcolor=yellow>
<tr><td></td></tr>
</table>
<P><BR>
Lines drawn using the &lt;TABLE&gt; tag can be inset:
<P><table bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE width=100% frame=none cellspacing=0 cellpadding=0 rules=all&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
</FONT>
</td></tr></table>
<P>
<table width=100% frame=none cellspacing=0 cellpadding=0 rules=all>
<tr><td></td></tr>
</table>
<P><BR>
...or by reversing the cell border colors, a raised line can be drawn:
<P><table bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE width=100% frame=none cellspacing=0 cellpadding=0 rules=all&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD bordercolorlight=uishadow bordercolordark=uicontrol&gt;&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
</FONT>
</td></tr></table>
<P>
<table width=100% frame=none cellspacing=0 cellpadding=0 rules=all>
<tr><td bordercolorlight=uishadow bordercolordark=uihighlight></td></tr>
</table>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Misc-colornames.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Misc-align.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,103 @@
<HTML>
<BODY bgcolor=ffffff>
<A name=top>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Programming Answers</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<H2 align=center>Programming Answers</H2>
<BLOCKQUOTE>
<P>
<HR>
<P>
<A name="1"><B>1. I don't want hyperlinks to be marked as visited and I can't see
a method in CalHTMLPreferences to turn this feature off.</FONT></B>
<P>
The easiest way to turn this off is simply to set the default color of
visited links to that of unvisited links. You can do this through a
method in CalHTMLPreferences.
So your code will look something like this:
<pre>
CalHTMLPreferences pref = new CalHTMLPreferences();
pref.setDefaultColor(CalCons.A_VLINK, pref.getDefaultColor(CalCons.A_LINK));
CalHTMLPane pane = new CalHTMLPane(pref, null, null);
</pre>
<BR>
<A name="2"><B>2. CalPane uses THREEDEE style form components as default. I'd like
to have LOOKANDFEEL components as default. How do I do this?</B></A>
<P>
You can make all components render in the current Look And Feel by
setting a property in CalHTMLPreferences:
<pre>
CalHTMLPreferences pref = new CalHTMLPreferences();
pref.setFormRenderingStyle(CalCons.USE_LOOK_AND_FEEL);
CalHTMLPane pane = new CalHTMLPane(pref, null, null);
</pre>
<BR>
<A name="3"><B>3. Is it possible to do something like hyperlink-hover which you see in
some help systems?</B>
<P>
Yes, there's a method in CalHTMLPreferences that enables you to do this:
<pre>
CalHTMLPreferences pref = new CalHTMLPreferences();
pref.setShowHyperlinkOnMouseFocus(true);
CalHTMLPane pane = new CalHTMLPane(pref, null, null);
</pre>
<BR>
<A name="4"><B>4. I'm including some form components in a table. Each component is
in its own table cell and the cell has got a border. I want the component to fill the cell,
but there's always a gap above it. How can I get rid of this? </B></A>
<P>
Change the alignment of the form component to something other than its default, which is a few
pixels below the text baseline. For example:
<P>
&lt;TD&gt;&lt;INPUT type=text align=top&gt;&lt;/TD&gt;
<P>
<BR>
<A name="5"><B>5. I've got a document which has many form controls, each of which has its
own id. I get the the CalPane to load this document and then I call the getIDComponents()
method to access the components. However the Hashtable returned from this call is empty.
Here's my code:</B>
<pre>
pane.showHTMLDocument(url);
pane.getIDComponents(null);
</pre>
The CalPane will load the document <EM>asynchronously</EM>, so the showHTMLDocument() method will return
immediately, and you are consequently making the call to get the components before they
have been created. You need to ensure that the document has loaded before you try and get the components. You can
either do this by using CalHTMLObserver callbacks to monitor document loading, or you can force
the document to load synchronously with the setLoadSynchronously() method like this:
<pre>
pane.setLoadSynchronously(true);
pane.showHTMLDocument(url);
pane.setLoadSynchronously(false);
pane.getIDComponents(null);
</pre>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Misc-float.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Tables-background.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,133 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>1: Tables</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: bgcolor</B>
<P>
<BLOCKQUOTE>
<TABLE border width=100% cellpadding=6 align=center>
<TR>
<TD>
<B>Use Within:</B><BR>
&lt;TABLE&gt; &lt;THEAD&gt;, &lt;TBODY&gt;, &lt;TFOOT&gt;,
&lt;TR&gt;, &lt;COLGROUP&gt;, &lt;COL&gt;, &lt;TH&gt;, and &lt;TD&gt;
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B> A hexidecimal color code or default color name.<BR>
(e.g. bgcolor=4488AA, bgcolor=silver)
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>
Sets the background color of a table, table row, table cell etc.
<P>
When used within the &lt;TABLE&gt; tag, Netscape Navigator applies the
specified color only to the &lt;TD/TH&gt; elements within the table - any
border areas produced with the <B>cellspacing</B> attribute remain in the
background color of the table's parent (either the document itself or perhaps
a parent &lt;TD/TH&gt; element). Internet Explorer however renders
<EM>all</EM> of the table in the specified background color.
<P>
The CalPane follows Explorer in this respect, except
the Pane uses computed colors for any highlight and shadow lines in the table.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=1 cellspacing=3 cellpadding=2 bgcolor=mediumaquamarine&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD&gt; Background Test
&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<table align=center cellspacing=6>
<tr align=center><th><FONT size=-1 face=helvetica>Navigator</FONT></th>
<th>&nbsp;</th><th><FONT size=-1 face=helvetica>Explorer</FONT></th>
<th>&nbsp;</th><th><FONT size=-1 face=helvetica>CalPane</FONT></th>
</tr>
<tr>
<td>
<table border cellspacing=3 cellpadding=2>
<tr><td bgcolor=mediumaquamarine>Background test</td></tr>
</table>
</td>
<td><code>&nbsp;&nbsp;&nbsp;</code></td>
<td>
<table border cellspacing=3 cellpadding=2 bgcolor=mediumaquamarine
bordercolorlight=c0c0c0 bordercolordark=808080><tr><td>Background test</td></tr></table>
</td>
<td><code>&nbsp;&nbsp;&nbsp;</code></td>
<td>
<table border bgcolor=mediumaquamarine cellspacing=3 cellpadding=2><tr><td>Background test</td></tr></table>
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD>
<B>Implementation Notes:</B><BR>
<UL>
<LI>Some document authors who do not test their pages across multiple browsers
assume all table rendering is identical to Navigator. They therefore often
remove the border from a table similar to the one above in order to get
'empty space' around the TD element. They then proceed to align text and
images alongside the table, not realising that when such markup is viewed on a browser such
as Explorer no such 'empty space' exists. This leaves the text and images
completely flush to the table making the document seem poorly formatted.
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="../../README.txt">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Tables-borders.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,107 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>1: Tables</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: bordercolor</B><BR>
<B>Attr: bordercolorlight</B><BR>
<B>Attr: bordercolordark</B>
<P>
<BLOCKQUOTE>
<TABLE border cellpadding=6 align=center>
<TR>
<TD>
<B>Use Within:</B><BR>
&lt;TABLE&gt; &lt;THEAD&gt;, &lt;TBODY&gt;, &lt;TFOOT&gt;,
&lt;TR&gt;, &lt;COLGROUP&gt;, &lt;COL&gt;, &lt;TH&gt;, and &lt;TD&gt;
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B> A hexidecimal color code or default color name<BR>
e.g. bordercolorlight="#4444dd" bordercolordark=navy
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>Set the highlight color of table borders and rules
with <B>bordercolorlight</B>.
<P>Set the shadow color with <B>bordercolordark</B>.
<P>For single-color borders and rules use <B>bordercolor</B>.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=3 cellspacing=3 cellpadding=5 bgcolor=aaccdd&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD bordercolor=red&gt; Red border
&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD bordercolorlight=yellow bordercolordark=blue&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> Blue shadow
&lt;BR&gt; Yellow highlight <BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR>
<TD>
<B>Rendering:</B>
<BR>
<table align=center border=3 cellspacing=3 cellpadding=5 bgcolor=aaccdd>
<tr><td bordercolor=red>Red border</td>
<td bordercolorlight=yellow bordercolordark=blue>
Blue shadow <BR> Yellow highlight </td>
</tr>
</table>
<br>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Tables-borders.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Tables-widths.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,174 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>1: Tables</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Attr: frame</B><BR>
<B>Attr: border</B><BR>
<B>Attr: rules</B><BR>
<P>
<BLOCKQUOTE>
<TABLE border cellpadding=6 align=center>
<TR>
<TD>
<B>Use Within:</B><BR>
&lt;TABLE&gt;
</TD>
</TR>
<TR>
<TD>
<B>Arguments:</B><BR>
<B>frame:</B> void &#124; border &#124; box &#124;
hsides &#124; vsides &#124; above &#124; below &#124; lhs &#124; rhs <BR>
<B>border:</B> A number >=0 or no argument<BR>
<B>rules:</B> none &#124; groups &#124; cols &#124;
rows &#124; all <BR>
</TD>
</TR>
<TR>
<TD>
<B>Synopsis:</B><BR>The <B>border</B> attribute specifies the thickness of any
border to be drawn around a table.
<P>The <B>frame</B> attribute determines which sides of the table any border
should be drawn.
<P>The <B>rules</B> attribute determines how lines between table cells are
drawn.
<P>
<UL>
<LI>"border=0" is equivalent to "frame=void"<BR>
<LI>"frame=border" is equivalent to "frame=box"<BR>
<LI>"border" with no argument is now deprecated but backward compatibility
requires a rendering equivalent to: "frame=border" "border=1" "rules=all"
<P>
</TD>
</TR>
<TR>
<TD>
<B>Example 1:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE cellspacing=2 cellpadding=2 border=2 frame=hsides <BR>bordercolor=maroon rules=none&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD&gt; Frequently Asked Questions
&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TR&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
</TR>
</TD>
<TR><TD>
<B>Rendering:</B>
<BR>
<table align=center cellspacing=2 cellpadding=2 border=2 frame=hsides
bordercolor=maroon rules=none>
<tr><td>Frequently Asked Questions</td></tr>
</table>
<BR>
</TD></TR>
<TR>
<TD>
<B>Example 2:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE width=250 rules=groups bgcolor=plum border=3 <BR>
frame=box cellspacing=0&gt;<BR>
&lt;COLGROUP span=1 align=center&gt;&lt;/COLGROUP&gt;<BR>
&lt;COLGROUP span=2 align=center&gt;&lt;/COLGROUP&gt;<BR>
&lt;COLGROUP span=1 align=center&gt;&lt;/COLGROUP&gt;<BR>
&lt;THEAD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&lt;TD colspan=4 align=center&gt;&lt;B&gt;Junior Attendees&lt;/B&gt;&lt/TD&gt;&lt;/TR&gt;<BR>
&lt;/THEAD&gt;<BR>
&lt;TBODY&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&ltTH&gt;&lt;/TH&gt;&lt;TH&gt;Boys&lt;/TH&gt;&lt;TH&gt;Girls&lt;/TH&gt;&lt;TH&gt;Total&lt;/TH&gt;&lt;/TR&gt;<BR>
&lt;/TBODY&gt;<BR>
&lt;TBODY&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&ltTH&gt;1997&lt;/TH&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;/TR&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&ltTH&gt;1997&lt;/TH&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;31&lt;/TD&gt;&lt;TD&gt;53&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TBODY&gt;<BR>
&lt;TBODY&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;&ltTH&gt;Total&lt;/TH&gt;&lt;TD&gt;38&lt;/TD&gt;&lt;TD&gt;49&lt;/TD&gt;&lt;TD&gt;87&lt;/TD&gt;&lt;/TR&gt;<BR>
&lt;/TBODY&gt;<BR>
&lt;/TABLE&gt;</FONT>
</td>
</tr>
</table>
<P>
<TR><TD>
<B>Rendering:</B>
<BR>
<table width=250 align=center rules=groups bgcolor=plum border=3
frame=box cellspacing=0>
<colgroup span=1 align=center></colgroup>
<colgroup span=2 align=center></colgroup>
<colgroup span=1 align=center></colgroup>
<thead>
<tr><td colspan=4 align=center><B>Junior Attendees</B></td></tr>
</thead>
<tbody>
<tr><th></th><th>Boys</th><th>Girls</th><th>Total</th></tr>
</tbody>
<tbody>
<tr><th>1997</th><td>16</td><td>18</td><td>34</td></tr>
<tr><th>1998</th><td>22</td><td>31</td><td>53</td></tr>
</tbody>
<tbody>
<tr><th>Total</th><td>38</td><td>49</td><td>87</td></tr>
</tbody>
</table>
<br>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Tables-background.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Tables-bordercolors.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View file

@ -0,0 +1,104 @@
<HTML>
<BODY bgcolor=ffffff>
<P>
<TABLE width=100% cellspacing=0 cellpadding=0>
<TR>
<TD>
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
</TD>
<TD align=right>
<FONT size=-1><B>Example Tag Usage</B></FONT>
</TD>
</TR>
</TABLE>
<HR width=100% size=1 color=black>
<P>
<FONT size=+1><B>1: Tables</B></FONT>
<P>
<BLOCKQUOTE>
<P>
<B>Column widths</B><BR>
<P>
<TABLE border cellpadding=6 align=center>
<TR>
<TD>
<B>Synopsis:</B><BR>
Table column widths can be expressed in absolute, percentage, or relative
form. See HTML4.0 spec for details.
</TD>
</TR>
<TR>
<TD>
<B>Example:</B>
<P>
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
<tr>
<td><FONT color=navy>
&lt;TABLE border=1 width=100% align=center cellpadding=2 bgcolor=sandybrown&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;COLGROUP align=center&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;COL width=100&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;COL width=10%&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;COL width=0*&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;COL span=3 width=*&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;COL width=2*&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/COLGROUP&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;TR&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD&gt;100 Pixels&lt;/TD&gt;&lt;TD&gt;10%&lt/TD&gt;&lt;TD&gt;0*&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;&nbsp;&nbsp;</code>&lt;TD&gt;1*&lt;/TD&gt;&lt;TD&gt;1*&lt/TD&gt;&lt;TD&gt;1*&lt;/TD&gt;&lt;TD&gt;2*&lt;/TD&gt;<BR>
<code>&nbsp;&nbsp;</code>&lt;/TR&gt;<BR>
&lt;/TABLE&gt;<BR>
</td>
</tr>
</table>
<P>
<TR><TD>
<B>Rendering:</B>
<P>
<table border=1 width=100% align=center cellpadding=2 bgcolor=sandybrown>
<colgroup align=center>
<col width=100>
<col width=10%>
<col width=0*>
<col span=3 width=*>
<col width=2*>
</colgroup>
<tr>
<td>100 Pixels</td><td>10%</td><td>0*</td>
<td>1*</td><td>1*</td><td>1*</td><td>2*</td>
</tr>
</table>
<blockquote>
Column 1 requests an absolute width of 100 pixels<BR>
Column 2 requests 10% of available width<BR>
Column 3 requests that it always be set to its minimum width<BR>
Columns 4-7 request proportions of the remaining width
<LI>Columns 4, 5 and 6 each request one portion of the remainder
<LI>Column 7 requests two portions of the remainder
<P>Note that the eventual apportionment of widths to each column depends
very much on the amount of space available to the table.
</blockquote>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE align=center width=50%>
<TR>
<TD align=center>
<A href="../CalGuide.html">Guide Index</A> &nbsp;&#124;
<A href="../javadoc/overview-tree.html">&nbsp;JavaDoc</A> &nbsp;&#124;
<A href="guide-Tables-bordercolors.html">&nbsp;Previous</A> &nbsp;&#124;
<A href="guide-Forms-style.html">&nbsp;Next</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -0,0 +1,8 @@
<HTML>
<BODY>
<CENTER>
<H3 align=center>Circle Link</H3>
You clicked within the circle
</CENTER>
</BODY>
</HTML>

View file

@ -0,0 +1,8 @@
<HTML>
<BODY>
<DIV align=left>
<H3>Rectangle Link</H3>
You clicked within the rectangle
</DIV>
</BODY>
</HTML>

View file

@ -0,0 +1,8 @@
<HTML>
<BODY>
<DIV align=right>
<H3>Triangle Link</H3>
You clicked within the triangle
</DIV>
</BODY>
</HTML>

View file

@ -0,0 +1,34 @@
<HTML>
<BODY bgcolor=ffffff>
<BR>
<TABLE align=center cellspacing=1><TR>
<TD><IMG src="images/scott.gif" width=60 height=65></TD>
<TD>&nbsp;&nbsp;</TD>
<TD align=center><IMG src="images/flash.gif" width=121 height=17></TD>
<TD>&nbsp;&nbsp;</TD>
<TD align=right><IMG src="images/bill.gif" width=60 height=65></TD>
</TR>
</TABLE>
<xH3 align=center><xFONT color=red><xI><x/I><x/FONT><x/H3>
<H2 align=center>Gates and McNealy accused of collusion</H2>
<BLOCKQUOTE>
<P><FONT size=-1>Washington Tues 9th 2001: The computer world was left reeling today as
sensational evidence emerged that Sun Microsysytems chief Scott McNealy and
Microsoft chairman William H. Gates had agreed almost ten years ago on a
strategy that would leave them in complete dominance of the computer software
marketplace.
<P>Former Microsoft vice-president Ima Lyer claims he has 'irrefutable evidence'
that the two industry giants have been hoodwinking both politicians
and public for the past decade. In a written statement released by his legal
advisors to the press this morning, Lyer gives a detailed account of how
'Operation JAVA' was formulated by Gates and McNealy to remove all but minor
competition in the software industry.<BR>
(More details to follow)
<P><A href=newsflash2.html>Next news</A>
</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>

View file

@ -0,0 +1,23 @@
<HTML>
<BODY bgcolor=ffffff>
<BR>
<P align=center>
<IMG src="images/flash.gif" width=121 height=17>
<H2 align=center>Former Microsoft vice-president retracts collusion claims</H2>
<BLOCKQUOTE>
<P><FONT size=-1>Washington Tues 9th 2001: Former Microsoft executive
Ima Lyer this afternoon surprisingly retracted his earlier claims that Microsoft
chairman William Gates and Sun Microsytems chief Scott McNealy conspired
to create a duopoly within the software marketplace.
<P>Speaking from the footsteps of his new $25 million private jet which was about
to whisk him away to his new luxury island retreat in the Caribbean, Mr. Lyer
said that he had been overworking recently and this had led him to make
"spurious and unsupportable claims" about the two industry leaders.
<P><A href=newsflash.html>Earlier news</A>
</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>

View file

@ -0,0 +1,36 @@
<HTML>
<BODY bgcolor=ffffff>
<BLOCKQUOTE>
<H3 align=center><FONT color=red><I>TECH NEWS</I></FONT></H3>
<H2 align=center>Sun claims HotSpot JIT 'almost ready'</H2>
<P><FONT size=-1>Palo Alto Tues 9th 2001: In a presentation to assembled
computer journalists this morning, Sun Microsystems executives announced
that the eagerly-awaited HotSpot Just-In-Time compiler was on the verge of
being released.
<P>
"There are just a few last minute problems to clear and then we'll be
shipping," said a confident Dan Pinocchio, leader of the HotSpot design team.
<P>
Details also emerged of the hardware that will be required to run the HotSpot
package, which Sun officials claim will enable Java applications to run at up
to ten times their normal speed.
<P>
"You can run HotSpot on a 500Mhz PIII, but you won't see much of a boost,"
Pinocchio explained. "We've found the best performance uplift comes when you
combine HotSpot with one of the new Cray XMP6 PC accelerator cards. Okay,
they cost $25,000, but you should see Java fly...".
<P>
Asked to be a little more specific about a release date, marketing
vice-president Jerry Vaporware wasn't going to pinned down:
<P>
"I'm not going to make any promises," he told the packed press room. "Our
developers have waited a long time for this and we want to get it right. A
few more ye...excuse me...weeks won't hurt."
<P><A href=newsflash.html>Latest news</A>
</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>