/usr/share/doc/libjgoodies-binding-java/api/com/jgoodies/binding/adapter/BasicComponentFactory.html is in libjgoodies-binding-java 2.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Aug 11 05:32:59 UTC 2011 -->
<TITLE>
BasicComponentFactory (JGoodies Binding 2.1 API)
</TITLE>
<META NAME="date" CONTENT="2011-08-11">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BasicComponentFactory (JGoodies Binding 2.1 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BasicComponentFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/jgoodies/binding/adapter/AbstractTableAdapter.html" title="class in com.jgoodies.binding.adapter"><B>PREV CLASS</B></A>
<A HREF="../../../../com/jgoodies/binding/adapter/Bindings.html" title="class in com.jgoodies.binding.adapter"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/jgoodies/binding/adapter/BasicComponentFactory.html" target="_top"><B>FRAMES</B></A>
<A HREF="BasicComponentFactory.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.jgoodies.binding.adapter</FONT>
<BR>
Class BasicComponentFactory</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.binding.adapter.BasicComponentFactory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>BasicComponentFactory</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Consists only of static methods that create and vend frequently used
Swing components that are then bound to a given ValueModel.
This class is one of two helper classes that help you establish a binding:
1) the Bindings class binds components that have been created before;
it wraps ValueModels with the adapters from package
<code>com.jgoodies.binding.adapter</code>.
2) this BasicComponentFactory creates Swing components that are then
tied to ValueModels using the the different <code>#bind</code> methods
in the Bindings class.<p>
If you have an existing factory that vends Swing components, you can use
Bindings to bind them to ValueModels. If you don't have such a factory, you
can use this BasicComponentFactory to create and bind Swing components.<p>
This class is intended to be used or extended by custom ComponentFactory
classes. Such a factory can create a broader variety of component types,
may use different default configurations, and can use your favorite
Formatters, FormatterFactories, etc.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision: 1.20 $</DD>
<DT><B>Author:</B></DT>
<DD>Karsten Lentzsch</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value"><CODE>ValueModel</CODE></A>,
<A HREF="../../../../com/jgoodies/binding/adapter/Bindings.html" title="class in com.jgoodies.binding.adapter"><CODE>Bindings</CODE></A></DL>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#BasicComponentFactory()">BasicComponentFactory</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JCheckBox</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createCheckBox(com.jgoodies.binding.value.ValueModel, java.lang.String)">createCheckBox</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.lang.String markedText)</CODE>
<BR>
Creates and returns a check box with the specified text label
that is bound to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JColorChooser</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createColorChooser(com.jgoodies.binding.value.ValueModel)">createColorChooser</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JColorChooser</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createColorChooser(com.jgoodies.binding.value.ValueModel, java.awt.Color)">createColorChooser</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.awt.Color defaultColor)</CODE>
<BR>
Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><E> javax.swing.JComboBox</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createComboBox(com.jgoodies.binding.list.SelectionInList)">createComboBox</A></B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList)</CODE>
<BR>
Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><E> javax.swing.JComboBox</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createComboBox(com.jgoodies.binding.list.SelectionInList, javax.swing.ListCellRenderer)">createComboBox</A></B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)</CODE>
<BR>
Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList using the given cell renderer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createDateField(com.jgoodies.binding.value.ValueModel)">createDateField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Date value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createFormattedTextField(com.jgoodies.binding.value.ValueModel, java.text.Format)">createFormattedTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.Format format)</CODE>
<BR>
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createFormattedTextField(com.jgoodies.binding.value.ValueModel, javax.swing.JFormattedTextField.AbstractFormatter)">createFormattedTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
javax.swing.JFormattedTextField.AbstractFormatter formatter)</CODE>
<BR>
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Formatter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createFormattedTextField(com.jgoodies.binding.value.ValueModel, javax.swing.JFormattedTextField.AbstractFormatterFactory)">createFormattedTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
javax.swing.JFormattedTextField.AbstractFormatterFactory formatterFactory)</CODE>
<BR>
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
Formatters provided by the given AbstractFormatterFactory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createFormattedTextField(com.jgoodies.binding.value.ValueModel, java.lang.String)">createFormattedTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.lang.String mask)</CODE>
<BR>
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
a MaskFormatter that is based on the given mask.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createIntegerField(com.jgoodies.binding.value.ValueModel)">createIntegerField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createIntegerField(com.jgoodies.binding.value.ValueModel, int)">createIntegerField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
int emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat)">createIntegerField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, int)">createIntegerField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
int emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, java.lang.Integer)">createIntegerField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
java.lang.Integer emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JLabel</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLabel(com.jgoodies.binding.value.ValueModel)">createLabel</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a text label that is bound to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JLabel</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLabel(com.jgoodies.binding.value.ValueModel, java.text.Format)">createLabel</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.Format format)</CODE>
<BR>
Creates and returns a text label that is bound to the
given ValueModel that is wrapped by a <code>StringConverter</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><E> javax.swing.JList</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createList(com.jgoodies.binding.list.SelectionInList)">createList</A></B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList)</CODE>
<BR>
Creates and returns a JList for the given SelectionInList.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><E> javax.swing.JList</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createList(com.jgoodies.binding.list.SelectionInList, javax.swing.ListCellRenderer)">createList</A></B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)</CODE>
<BR>
Creates and returns a JList for the given SelectionInList using
the specified optional ListCellRenderer to render cells.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLongField(com.jgoodies.binding.value.ValueModel)">createLongField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a formatted text field that is bound
to the Long value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLongField(com.jgoodies.binding.value.ValueModel, long)">createLongField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
long emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat)">createLongField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat)</CODE>
<BR>
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, long)">createLongField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
long emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JFormattedTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, java.lang.Long)">createLongField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
java.lang.Long emptyNumber)</CODE>
<BR>
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JPasswordField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createPasswordField(com.jgoodies.binding.value.ValueModel)">createPasswordField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a JPasswordField with the content bound
to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JPasswordField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createPasswordField(com.jgoodies.binding.value.ValueModel, boolean)">createPasswordField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</CODE>
<BR>
Creates and returns a JPasswordField with the content bound
to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JRadioButton</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createRadioButton(com.jgoodies.binding.value.ValueModel, java.lang.Object, java.lang.String)">createRadioButton</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> model,
java.lang.Object choice,
java.lang.String markedText)</CODE>
<BR>
Creates and returns a radio button with the specified text label
that is bound to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JTextArea</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextArea(com.jgoodies.binding.value.ValueModel)">createTextArea</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a text area with the content bound to the given
ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JTextArea</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextArea(com.jgoodies.binding.value.ValueModel, boolean)">createTextArea</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</CODE>
<BR>
Creates and returns a text area with the content bound to the given
ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextField(com.jgoodies.binding.value.ValueModel)">createTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</CODE>
<BR>
Creates and returns a text field with the content bound
to the given ValueModel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static javax.swing.JTextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextField(com.jgoodies.binding.value.ValueModel, boolean)">createTextField</A></B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</CODE>
<BR>
Creates and returns a text field with the content bound
to the given ValueModel.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="BasicComponentFactory()"><!-- --></A><H3>
BasicComponentFactory</H3>
<PRE>
protected <B>BasicComponentFactory</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="createCheckBox(com.jgoodies.binding.value.ValueModel, java.lang.String)"><!-- --></A><H3>
createCheckBox</H3>
<PRE>
public static javax.swing.JCheckBox <B>createCheckBox</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.lang.String markedText)</PRE>
<DL>
<DD>Creates and returns a check box with the specified text label
that is bound to the given ValueModel. The check box is selected
if and only if the model's value equals <code>Boolean.TRUE</code>.
The created check box' content area is not filled, and
a mnemonic is set, if the text contains a mnemonic marker
('&'). See <CODE>MnemonicUtils</CODE> for detailed information
about mnemonic markers and how to quote the marker character.<p>
The model is converted to the required ToggleButtonModel
using a ToggleButtonAdapter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides a Boolean value<DD><CODE>markedText</CODE> - the check boxes' text label
- may contain a mnemonic marker
<DT><B>Returns:</B><DD>a check box with the specified text bound to the given model,
selected if the model's value equals Boolean.TRUE
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createColorChooser(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createColorChooser</H3>
<PRE>
public static javax.swing.JColorChooser <B>createColorChooser</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel. The ValueModel must be of type Color and must
allow read-access to its value, and the initial value must not be
<code>null</code>.<p>
It is strongly recommended (though not required)
that the underlying ValueModel provides only non-null values.
This is so because the ColorSelectionModel behavior is undefined
for <code>null</code> values and it may have unpredictable results.
To avoid these problems, you may create the ColorChooser with
a default color using <A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createColorChooser(com.jgoodies.binding.value.ValueModel, java.awt.Color)"><CODE>createColorChooser(ValueModel, Color)</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - a Color-typed ValueModel
<DT><B>Returns:</B><DD>a color chooser with the selected color bound to the given model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code>,
or if its initial value is <code>null</code><DT><B>Since:</B></DT>
<DD>1.0.3</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createColorChooser(com.jgoodies.binding.value.ValueModel, java.awt.Color)"><CODE>createColorChooser(ValueModel, Color)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createColorChooser(com.jgoodies.binding.value.ValueModel, java.awt.Color)"><!-- --></A><H3>
createColorChooser</H3>
<PRE>
public static javax.swing.JColorChooser <B>createColorChooser</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.awt.Color defaultColor)</PRE>
<DL>
<DD>Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel. The ValueModel must be of type Color and must
allow read-access to its value. If the valueModel returns
<code>null</code>, the given default color is used instead.
This avoids problems with the ColorSelectionModel that may have
unpredictable result for <code>null</code> values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - a Color-typed ValueModel<DD><CODE>defaultColor</CODE> - the color used if the valueModel returns null
<DT><B>Returns:</B><DD>a color chooser with the selected color bound to the given model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel or the default color
is <code>null</code>,<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="createComboBox(com.jgoodies.binding.list.SelectionInList)"><!-- --></A><H3>
createComboBox</H3>
<PRE>
public static <E> javax.swing.JComboBox <B>createComboBox</B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList)</PRE>
<DL>
<DD>Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList. The SelectionInList's ListModel
is the list data provider and the selection index holder
is used for the combo box model's selected item.<p>
If the selectionInList's selection holder is a <A HREF="../../../../com/jgoodies/binding/value/ComponentValueModel.html" title="class in com.jgoodies.binding.value"><CODE>ComponentValueModel</CODE></A>
it is synchronized with the visible and enabled state of the returned
combo box.<p>
There are a couple of other possibilities to bind a JComboBox.
See the constructors and the class comment of the
<A HREF="../../../../com/jgoodies/binding/adapter/ComboBoxAdapter.html" title="class in com.jgoodies.binding.adapter"><CODE>ComboBoxAdapter</CODE></A>.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>E</CODE> - the type of the combo box items and the selection<DT><B>Parameters:</B><DD><CODE>selectionInList</CODE> - provides the list and selection
<DT><B>Returns:</B><DD>a non-editable JComboBox that is bound to the SelectionInList
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the selectionInList
is <code>null</code><DT><B>Since:</B></DT>
<DD>1.0.1</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/ComboBoxAdapter.html" title="class in com.jgoodies.binding.adapter"><CODE>ComboBoxAdapter</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createComboBox(com.jgoodies.binding.list.SelectionInList, javax.swing.ListCellRenderer)"><!-- --></A><H3>
createComboBox</H3>
<PRE>
public static <E> javax.swing.JComboBox <B>createComboBox</B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)</PRE>
<DL>
<DD>Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList using the given cell renderer.
The SelectionInList provides the list data and the selection
index holder is used for the combo box model's selected item.<p>
If the selectionInList's selection holder is a <A HREF="../../../../com/jgoodies/binding/value/ComponentValueModel.html" title="class in com.jgoodies.binding.value"><CODE>ComponentValueModel</CODE></A>
it is synchronized with the visible and enabled state of the returned
combo box.<p>
There are a couple of other possibilities to bind a JComboBox.
See the constructors and the class comment of the
<A HREF="../../../../com/jgoodies/binding/adapter/ComboBoxAdapter.html" title="class in com.jgoodies.binding.adapter"><CODE>ComboBoxAdapter</CODE></A>.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>E</CODE> - the type of the combo box items and the selection<DT><B>Parameters:</B><DD><CODE>selectionInList</CODE> - provides the list and selection<DD><CODE>cellRenderer</CODE> - an optional ListCellRenderer,
can be <code>null</code>
<DT><B>Returns:</B><DD>a non-editable JComboBox that is bound to the SelectionInList
and uses the given renderer - if non-<code>null</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the selectionInList
is <code>null</code><DT><B>Since:</B></DT>
<DD>1.0.1</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/ComboBoxAdapter.html" title="class in com.jgoodies.binding.adapter"><CODE>ComboBoxAdapter</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createDateField(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createDateField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createDateField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Date value of the given ValueModel.
The JFormattedTextField is configured with an AbstractFormatter
that uses two different DateFormats to edit and display the Date.
A <code>SHORT</code> DateFormat with strict checking is used to edit
(parse) a date; the DateFormatter's default DateFormat is used to
display (format) a date. In both cases <code>null</code> Dates are
mapped to the empty String.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited
<DT><B>Returns:</B><DD>a formatted text field for Date instances that is bound
to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createFormattedTextField(com.jgoodies.binding.value.ValueModel, java.text.Format)"><!-- --></A><H3>
createFormattedTextField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createFormattedTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.Format format)</PRE>
<DL>
<DD>Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Format.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>format</CODE> - the <code>Format</code> used to convert values
into a text representation and vice versa via <code>#format</code>
and <code>#parse</code>
<DT><B>Returns:</B><DD>a formatted text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createFormattedTextField(com.jgoodies.binding.value.ValueModel, javax.swing.JFormattedTextField.AbstractFormatter)"><!-- --></A><H3>
createFormattedTextField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createFormattedTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
javax.swing.JFormattedTextField.AbstractFormatter formatter)</PRE>
<DL>
<DD>Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Formatter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>formatter</CODE> - the Formatter used to convert values to
a text representation and vice versa via <code>#valueToString</code>
and <code>#stringToValue</code>
<DT><B>Returns:</B><DD>a formatted text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createFormattedTextField(com.jgoodies.binding.value.ValueModel, javax.swing.JFormattedTextField.AbstractFormatterFactory)"><!-- --></A><H3>
createFormattedTextField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createFormattedTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
javax.swing.JFormattedTextField.AbstractFormatterFactory formatterFactory)</PRE>
<DL>
<DD>Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
Formatters provided by the given AbstractFormatterFactory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>formatterFactory</CODE> - provides formatters for different field states
that in turn are used to convert values to a text representation and
vice versa via <code>#valueToString</code>
and <code>#stringToValue</code>
<DT><B>Returns:</B><DD>a formatted text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createFormattedTextField(com.jgoodies.binding.value.ValueModel, java.lang.String)"><!-- --></A><H3>
createFormattedTextField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createFormattedTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.lang.String mask)</PRE>
<DL>
<DD>Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
a MaskFormatter that is based on the given mask.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>mask</CODE> - the mask pattern used to create an instance of
<code>MaskFormatter</code> that in turn converts values to Strings
and vice versa
<DT><B>Returns:</B><DD>a bound formatted text field using a MaskFormatter
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the mask is invalid</DL>
</DD>
</DL>
<HR>
<A NAME="createIntegerField(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createIntegerField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createIntegerField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
Empty strings are converted to <code>null</code> and vice versa.<p>
The Format used to convert numbers to strings and vice versa
is <code>NumberFormat.getIntegerInstance()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited
<DT><B>Returns:</B><DD>a formatted text field for Integer instances that is bound
to the specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createIntegerField(com.jgoodies.binding.value.ValueModel, int)"><!-- --></A><H3>
createIntegerField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createIntegerField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
int emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
Empty strings are converted to the specified empty number.<p>
The Format used to convert numbers to strings and vice versa
is <code>NumberFormat.getIntegerInstance()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>emptyNumber</CODE> - an Integer that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Integer instances that is bound
to the specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat)"><!-- --></A><H3>
createIntegerField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createIntegerField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
Empty strings are converted to <code>null</code> and vice versa.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa
<DT><B>Returns:</B><DD>a formatted text field for Integer instances that is bound
to the specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, int)"><!-- --></A><H3>
createIntegerField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createIntegerField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
int emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
Empty strings are converted to the specified empty number.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa<DD><CODE>emptyNumber</CODE> - an Integer that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Integer instances that is bound
to the specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createIntegerField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, java.lang.Integer)"><!-- --></A><H3>
createIntegerField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createIntegerField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
java.lang.Integer emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
Empty strings are converted to the specified empty number.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa<DD><CODE>emptyNumber</CODE> - an Integer that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Integer instances that is bound
to the specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLongField(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createLongField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createLongField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound
to the Long value of the given ValueModel.
Empty strings are converted to <code>null</code> and vice versa.<p>
The Format used to convert numbers to strings and vice versa is
<code>NumberFormat.getIntegerInstance()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited
<DT><B>Returns:</B><DD>a formatted text field for Long instances that is bound to the
specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the model is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLongField(com.jgoodies.binding.value.ValueModel, long)"><!-- --></A><H3>
createLongField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createLongField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
long emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. Empty strings are converted
to the specified empty number.<p>
The Format used to convert numbers to strings and vice versa is
<code>NumberFormat.getIntegerInstance()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>emptyNumber</CODE> - a Long that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Long instances that is bound to the
specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the model is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat)"><!-- --></A><H3>
createLongField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createLongField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. Empty strings are converted
to <code>null</code> and vice versa.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa
<DT><B>Returns:</B><DD>a formatted text field for Long instances that is bound to the
specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the model is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, long)"><!-- --></A><H3>
createLongField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createLongField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
long emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. Empty strings are converted
to the specified empty number.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa<DD><CODE>emptyNumber</CODE> - a Long that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Long instances that is bound to the
specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the model is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLongField(com.jgoodies.binding.value.ValueModel, java.text.NumberFormat, java.lang.Long)"><!-- --></A><H3>
createLongField</H3>
<PRE>
public static javax.swing.JFormattedTextField <B>createLongField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.NumberFormat numberFormat,
java.lang.Long emptyNumber)</PRE>
<DL>
<DD>Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. Empty strings are converted
to the specified empty number.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that holds the value to be edited<DD><CODE>numberFormat</CODE> - used to convert numbers to strings and vice versa<DD><CODE>emptyNumber</CODE> - a Long that represents the empty string
<DT><B>Returns:</B><DD>a formatted text field for Long instances that is bound to the
specified valueModel
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the model is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLabel(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createLabel</H3>
<PRE>
public static javax.swing.JLabel <B>createLabel</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a text label that is bound to the given ValueModel.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value
<DT><B>Returns:</B><DD>a text label that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createLabel(com.jgoodies.binding.value.ValueModel, java.text.Format)"><!-- --></A><H3>
createLabel</H3>
<PRE>
public static javax.swing.JLabel <B>createLabel</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
java.text.Format format)</PRE>
<DL>
<DD>Creates and returns a text label that is bound to the
given ValueModel that is wrapped by a <code>StringConverter</code>.
The conversion to Strings uses the specified Format.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>format</CODE> - the format used to create the StringConverter
<DT><B>Returns:</B><DD>a text label that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/value/ConverterFactory.html" title="class in com.jgoodies.binding.value"><CODE>ConverterFactory</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createList(com.jgoodies.binding.list.SelectionInList)"><!-- --></A><H3>
createList</H3>
<PRE>
public static <E> javax.swing.JList <B>createList</B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList)</PRE>
<DL>
<DD>Creates and returns a JList for the given SelectionInList.<p>
If the selectionInList's selection holder is a <A HREF="../../../../com/jgoodies/binding/value/ComponentValueModel.html" title="class in com.jgoodies.binding.value"><CODE>ComponentValueModel</CODE></A>
it is synchronized with the visible and enabled state of the returned
list.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>E</CODE> - the type of the list items and the selection<DT><B>Parameters:</B><DD><CODE>selectionInList</CODE> - provides the list and selection
<DT><B>Returns:</B><DD>a JList bound to the given SelectionInList
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if selectionInList is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createList(com.jgoodies.binding.list.SelectionInList, javax.swing.ListCellRenderer)"><!-- --></A><H3>
createList</H3>
<PRE>
public static <E> javax.swing.JList <B>createList</B>(<A HREF="../../../../com/jgoodies/binding/list/SelectionInList.html" title="class in com.jgoodies.binding.list">SelectionInList</A><E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)</PRE>
<DL>
<DD>Creates and returns a JList for the given SelectionInList using
the specified optional ListCellRenderer to render cells.<p>
If the selectionInList's selection holder is a <A HREF="../../../../com/jgoodies/binding/value/ComponentValueModel.html" title="class in com.jgoodies.binding.value"><CODE>ComponentValueModel</CODE></A>
it is synchronized with the visible and enabled state of the returned
list.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>E</CODE> - the type of the list items and the selection<DT><B>Parameters:</B><DD><CODE>selectionInList</CODE> - provides the list and selection<DD><CODE>cellRenderer</CODE> - an optional ListCellRenderer,
can be <code>null</code>
<DT><B>Returns:</B><DD>a JList bound to the given SelectionInList
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if selectionInList is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createPasswordField(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createPasswordField</H3>
<PRE>
public static javax.swing.JPasswordField <B>createPasswordField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a JPasswordField with the content bound
to the given ValueModel. Text changes are committed to the model
on focus lost.<p>
<strong>Security Note: </strong> The binding created by this method
uses Strings as values of the given ValueModel. The String-typed
passwords could potentially be observed in a security fraud.
For stronger security it is recommended to request a character array
from the JPasswordField and clear the array after use by setting
each character to zero. Method <CODE>JPasswordField.getPassword()</CODE>
return's the field's password as a character array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value
<DT><B>Returns:</B><DD>a text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createPasswordField(com.jgoodies.binding.value.ValueModel, boolean)"><CODE>createPasswordField(ValueModel, boolean)</CODE></A>,
<CODE>JPasswordField.getPassword()</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createPasswordField(com.jgoodies.binding.value.ValueModel, boolean)"><!-- --></A><H3>
createPasswordField</H3>
<PRE>
public static javax.swing.JPasswordField <B>createPasswordField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</PRE>
<DL>
<DD>Creates and returns a JPasswordField with the content bound
to the given ValueModel. Text changes can be committed to the model
on focus lost or on every character typed.<p>
<strong>Security Note: </strong> The binding created by this method
uses Strings as values of the given ValueModel. The String-typed
passwords could potentially be observed in a security fraud.
For stronger security it is recommended to request a character array
from the JPasswordField and clear the array after use by setting
each character to zero. Method <CODE>JPasswordField.getPassword()</CODE>
return's the field's password as a character array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value<DD><CODE>commitOnFocusLost</CODE> - true to commit text changes on focus lost,
false to commit text changes on every character typed
<DT><B>Returns:</B><DD>a text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createPasswordField(com.jgoodies.binding.value.ValueModel)"><CODE>createPasswordField(ValueModel)</CODE></A>,
<CODE>JPasswordField.getPassword()</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createRadioButton(com.jgoodies.binding.value.ValueModel, java.lang.Object, java.lang.String)"><!-- --></A><H3>
createRadioButton</H3>
<PRE>
public static javax.swing.JRadioButton <B>createRadioButton</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> model,
java.lang.Object choice,
java.lang.String markedText)</PRE>
<DL>
<DD>Creates and returns a radio button with the specified text label
that is bound to the given ValueModel. The radio button is selected
if and only if the model's value equals the specified choice..
The created radio buttons' content area is not filled, and
a mnemonic is set, if the text contains a mnemonic marker
('&'). See <CODE>MnemonicUtils</CODE> for detailed information
about mnemonic markers and how to quote the marker character.<p>
The model is converted to the required ToggleButton
using a RadioButtonAdapter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - the model that provides the current choice<DD><CODE>choice</CODE> - this button's value<DD><CODE>markedText</CODE> - the radio buttons' text label
- may contain a mnemonic marker
<DT><B>Returns:</B><DD>a radio button with the specified text bound to the given model,
selected if the model's value equals the specified choice
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code></DL>
</DD>
</DL>
<HR>
<A NAME="createTextArea(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createTextArea</H3>
<PRE>
public static javax.swing.JTextArea <B>createTextArea</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a text area with the content bound to the given
ValueModel. Text changes are committed to the model on focus lost.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value
<DT><B>Returns:</B><DD>a text area that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextArea(com.jgoodies.binding.value.ValueModel, boolean)"><CODE>createTextArea(ValueModel, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createTextArea(com.jgoodies.binding.value.ValueModel, boolean)"><!-- --></A><H3>
createTextArea</H3>
<PRE>
public static javax.swing.JTextArea <B>createTextArea</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</PRE>
<DL>
<DD>Creates and returns a text area with the content bound to the given
ValueModel. Text changes can be committed to the model on focus lost
or on every character typed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the text value<DD><CODE>commitOnFocusLost</CODE> - true to commit text changes on focus lost,
false to commit text changes on every character typed
<DT><B>Returns:</B><DD>a text area that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextArea(com.jgoodies.binding.value.ValueModel)"><CODE>createTextArea(ValueModel)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createTextField(com.jgoodies.binding.value.ValueModel)"><!-- --></A><H3>
createTextField</H3>
<PRE>
public static javax.swing.JTextField <B>createTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel)</PRE>
<DL>
<DD>Creates and returns a text field with the content bound
to the given ValueModel. Text changes are committed to the model
on focus lost.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the value
<DT><B>Returns:</B><DD>a text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextField(com.jgoodies.binding.value.ValueModel, boolean)"><CODE>createTextField(ValueModel, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createTextField(com.jgoodies.binding.value.ValueModel, boolean)"><!-- --></A><H3>
createTextField</H3>
<PRE>
public static javax.swing.JTextField <B>createTextField</B>(<A HREF="../../../../com/jgoodies/binding/value/ValueModel.html" title="interface in com.jgoodies.binding.value">ValueModel</A> valueModel,
boolean commitOnFocusLost)</PRE>
<DL>
<DD>Creates and returns a text field with the content bound
to the given ValueModel. Text changes can be committed to the model
on focus lost or on every character typed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>valueModel</CODE> - the model that provides the text value<DD><CODE>commitOnFocusLost</CODE> - true to commit text changes on focus lost,
false to commit text changes on every character typed
<DT><B>Returns:</B><DD>a text field that is bound to the given value model
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if the valueModel is <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../com/jgoodies/binding/adapter/BasicComponentFactory.html#createTextField(com.jgoodies.binding.value.ValueModel)"><CODE>createTextField(ValueModel)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BasicComponentFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/jgoodies/binding/adapter/AbstractTableAdapter.html" title="class in com.jgoodies.binding.adapter"><B>PREV CLASS</B></A>
<A HREF="../../../../com/jgoodies/binding/adapter/Bindings.html" title="class in com.jgoodies.binding.adapter"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/jgoodies/binding/adapter/BasicComponentFactory.html" target="_top"><B>FRAMES</B></A>
<A HREF="BasicComponentFactory.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2002-2010 JGoodies Karsten Lentzsch. All Rights Reserved.
</BODY>
</HTML>
|