CalHTMLPane v2.0 Guide | Example Tag Usage

2: Forms

> Tag: INPUT (text)
> Tag: INPUT (password)
> Tag: TEXTAREA

> > Default Rendering (no color modification, size=18):

> > | uicontrol background | white background
> > --- | --- | ---
> > lookandfeel |  |
> > threedee |  |
> > flush |  |
> > | light background | dark background
> > lookandfeel |  |
> > threedee |  |
> > flush |  |

> > Setting color attributes:

> > <TABLE 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><TEXTAREA rows=4 style=flush bordercolor=maroon
> > `` text=yellow>Some sample text</TEXTAREA></TD>
> > `` <TR>
> > </TABLE>

> > Rendering:

> > threedee | flush
> > --- | ---
> > Some sample text | Some sample text

> > Implementation Notes:
> > - Note that the background color of text components is set with the bordercolor
> >   attribute.
> > - Input into textfields can be constrained using the maxlength attribute
> > - Swing's JTextArea normally allows tabbing within it, but this has been changed
> >   within the CalPane to allow for consistent keyboard navigation

Guide Index | JavaDoc | Previous | Next