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
|
<!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.4.2_07) on Thu Oct 12 12:19:58 EDT 2006 -->
<TITLE>
PDField (PDFBox-0.7.3 API)
</TITLE>
<META NAME="keywords" CONTENT="org.pdfbox.pdmodel.interactive.form.PDField class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="PDField (PDFBox-0.7.3 API)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= 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=3 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/PDField.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="../../../../../org/pdfbox/pdmodel/interactive/form/PDChoiceField.html" title="class in org.pdfbox.pdmodel.interactive.form"><B>PREV CLASS</B></A>
<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDFieldFactory.html" title="class in org.pdfbox.pdmodel.interactive.form"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="PDField.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <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">
org.pdfbox.pdmodel.interactive.form</FONT>
<BR>
Class PDField</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.pdfbox.pdmodel.interactive.form.PDField</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/pdfbox/pdmodel/common/COSObjectable.html" title="interface in org.pdfbox.pdmodel.common">COSObjectable</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDChoiceButton.html" title="class in org.pdfbox.pdmodel.interactive.form">PDChoiceButton</A>, <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDPushButton.html" title="class in org.pdfbox.pdmodel.interactive.form">PDPushButton</A>, <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDSignature.html" title="class in org.pdfbox.pdmodel.interactive.form">PDSignature</A>, <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDUnknownField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDUnknownField</A>, <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDVariableText.html" title="class in org.pdfbox.pdmodel.interactive.form">PDVariableText</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>PDField</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/pdfbox/pdmodel/common/COSObjectable.html" title="interface in org.pdfbox.pdmodel.common">COSObjectable</A></DL>
<P>
This is the superclass for a Field element in a PDF.
Based on the COS object model from PDFBox.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision: 1.23 $</DD>
<DT><B>Author:</B></DT>
<DD>sug</DD>
</DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#FLAG_NO_EXPORT">FLAG_NO_EXPORT</A></B></CODE>
<BR>
A Ff flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#FLAG_READ_ONLY">FLAG_READ_ONLY</A></B></CODE>
<BR>
A Ff flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#FLAG_REQUIRED">FLAG_REQUIRED</A></B></CODE>
<BR>
A Ff flag.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#PDField(org.pdfbox.pdmodel.interactive.form.PDAcroForm)">PDField</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> theAcroForm)</CODE>
<BR>
Constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#PDField(org.pdfbox.pdmodel.interactive.form.PDAcroForm, org.pdfbox.cos.COSDictionary)">PDField</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> theAcroForm,
<A HREF="../../../../../org/pdfbox/cos/COSDictionary.html" title="class in org.pdfbox.cos">COSDictionary</A> field)</CODE>
<BR>
Creates a COSField from a COSDictionary, expected to be
a correct object definition for a field in PDF.</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">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#findFieldType()">findFieldType</A></B>()</CODE>
<BR>
Find the field type and optionally do a recursive upward search. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#findKid(java.lang.String[], int)">findKid</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] name,
int nameIndex)</CODE>
<BR>
This will find one of the child elements. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getAcroForm()">getAcroForm</A></B>()</CODE>
<BR>
This will get the acroform that this field is part of.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/pdmodel/interactive/action/PDFormFieldAdditionalActions.html" title="class in org.pdfbox.pdmodel.interactive.action">PDFormFieldAdditionalActions</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getActions()">getActions</A></B>()</CODE>
<BR>
Get the additional actions for this field. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/cos/COSBase.html" title="class in org.pdfbox.cos">COSBase</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getCOSObject()">getCOSObject</A></B>()</CODE>
<BR>
Convert this standard java object to a COS object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/cos/COSDictionary.html" title="class in org.pdfbox.cos">COSDictionary</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getDictionary()">getDictionary</A></B>()</CODE>
<BR>
This will get the dictionary associated with this field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getFieldFlags()">getFieldFlags</A></B>()</CODE>
<BR>
This will get the flags for this field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getFieldType()">getFieldType</A></B>()</CODE>
<BR>
Get the FT entry of the field. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getFullyQualifiedName()">getFullyQualifiedName</A></B>()</CODE>
<BR>
Returns the fully qualified name of the field, which is a concatenation of
the names of all the parents fields.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getKids()">getKids</A></B>()</CODE>
<BR>
This will get all the kids of this field. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getParent()">getParent</A></B>()</CODE>
<BR>
Get the parent field to this field, or null if none exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getPartialName()">getPartialName</A></B>()</CODE>
<BR>
Returns the partial name of the field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getValue()">getValue</A></B>()</CODE>
<BR>
getValue gets the fields value to as a string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/pdfbox/pdmodel/interactive/annotation/PDAnnotationWidget.html" title="class in org.pdfbox.pdmodel.interactive.annotation">PDAnnotationWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#getWidget()">getWidget</A></B>()</CODE>
<BR>
This will get the single associated widget that is part of this field. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#importFDF(org.pdfbox.pdmodel.fdf.FDFField)">importFDF</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/fdf/FDFField.html" title="class in org.pdfbox.pdmodel.fdf">FDFField</A> fdfField)</CODE>
<BR>
This will import a fdf field from a fdf document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#isNoExport()">isNoExport</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#isReadonly()">isReadonly</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#isRequired()">isRequired</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setAcroForm(org.pdfbox.pdmodel.interactive.form.PDAcroForm)">setAcroForm</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> value)</CODE>
<BR>
This will set the form this field is on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setActions(org.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions)">setActions</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/action/PDFormFieldAdditionalActions.html" title="class in org.pdfbox.pdmodel.interactive.action">PDFormFieldAdditionalActions</A> actions)</CODE>
<BR>
Set the actions of the field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setFieldFlags(int)">setFieldFlags</A></B>(int flags)</CODE>
<BR>
This will set the flags for this field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setKids(java.util.List)">setKids</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html" title="class or interface in java.util">List</A> kids)</CODE>
<BR>
This will set the list of kids.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setNoExport(boolean)">setNoExport</A></B>(boolean noExport)</CODE>
<BR>
sets the field to be not exported..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setParent(org.pdfbox.pdmodel.interactive.form.PDField)">setParent</A></B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A> parent)</CODE>
<BR>
Set the parent of this field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setPartialName(java.lang.String)">setPartialName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
<BR>
This will set the partial name of the field.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setReadonly(boolean)">setReadonly</A></B>(boolean readonly)</CODE>
<BR>
sets the field to be read-only.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setRequired(boolean)">setRequired</A></B>(boolean required)</CODE>
<BR>
sets the field to be required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#setValue(java.lang.String)">setValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
<BR>
setValue sets the fields value to a given string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#toString()">toString</A></B>()</CODE>
<BR>
This will return a string representation of this field.</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">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="FLAG_READ_ONLY"><!-- --></A><H3>
FLAG_READ_ONLY</H3>
<PRE>
public static final int <B>FLAG_READ_ONLY</B></PRE>
<DL>
<DD>A Ff flag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.pdfbox.pdmodel.interactive.form.PDField.FLAG_READ_ONLY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FLAG_REQUIRED"><!-- --></A><H3>
FLAG_REQUIRED</H3>
<PRE>
public static final int <B>FLAG_REQUIRED</B></PRE>
<DL>
<DD>A Ff flag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.pdfbox.pdmodel.interactive.form.PDField.FLAG_REQUIRED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FLAG_NO_EXPORT"><!-- --></A><H3>
FLAG_NO_EXPORT</H3>
<PRE>
public static final int <B>FLAG_NO_EXPORT</B></PRE>
<DL>
<DD>A Ff flag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.pdfbox.pdmodel.interactive.form.PDField.FLAG_NO_EXPORT">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PDField(org.pdfbox.pdmodel.interactive.form.PDAcroForm)"><!-- --></A><H3>
PDField</H3>
<PRE>
public <B>PDField</B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> theAcroForm)</PRE>
<DL>
<DD>Constructor.
<P>
<DT><B>Parameters:</B><DD><CODE>theAcroForm</CODE> - The form that this field is part of.</DL>
<HR>
<A NAME="PDField(org.pdfbox.pdmodel.interactive.form.PDAcroForm, org.pdfbox.cos.COSDictionary)"><!-- --></A><H3>
PDField</H3>
<PRE>
public <B>PDField</B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> theAcroForm,
<A HREF="../../../../../org/pdfbox/cos/COSDictionary.html" title="class in org.pdfbox.cos">COSDictionary</A> field)</PRE>
<DL>
<DD>Creates a COSField from a COSDictionary, expected to be
a correct object definition for a field in PDF.
<P>
<DT><B>Parameters:</B><DD><CODE>theAcroForm</CODE> - The form that this field is part of.<DD><CODE>field</CODE> - the PDF objet to represent as a field.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPartialName()"><!-- --></A><H3>
getPartialName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getPartialName</B>()</PRE>
<DL>
<DD>Returns the partial name of the field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the field</DL>
</DD>
</DL>
<HR>
<A NAME="setPartialName(java.lang.String)"><!-- --></A><H3>
setPartialName</H3>
<PRE>
public void <B>setPartialName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
<DL>
<DD>This will set the partial name of the field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The new name for the field.</DL>
</DD>
</DL>
<HR>
<A NAME="getFullyQualifiedName()"><!-- --></A><H3>
getFullyQualifiedName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getFullyQualifiedName</B>()
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Returns the fully qualified name of the field, which is a concatenation of
the names of all the parents fields.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the field
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error generating the fully qualified name.</DL>
</DD>
</DL>
<HR>
<A NAME="getFieldType()"><!-- --></A><H3>
getFieldType</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getFieldType</B>()</PRE>
<DL>
<DD>Get the FT entry of the field. This is a read only field and is set depending
on the actual type. The field type is an inheritable attribute. This method will
return only the direct value on this object. Use the findFieldType for an upward
recursive search.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The Field type.<DT><B>See Also:</B><DD><A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html#findFieldType()"><CODE>findFieldType()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="findFieldType()"><!-- --></A><H3>
findFieldType</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>findFieldType</B>()</PRE>
<DL>
<DD>Find the field type and optionally do a recursive upward search. Sometimes the fieldtype
will be specified on the parent instead of the direct object. This will look at this
object for the field type, if none is specified then it will look to the parent if there
is a parent. If there is no parent and no field type has been found then this
will return null.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The field type or null if none was found.</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
setValue</H3>
<PRE>
public abstract void <B>setValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>setValue sets the fields value to a given string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the string value
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error creating the appearance stream.</DL>
</DD>
</DL>
<HR>
<A NAME="getValue()"><!-- --></A><H3>
getValue</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getValue</B>()
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>getValue gets the fields value to as a string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The string value of this field.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error getting the value.</DL>
</DD>
</DL>
<HR>
<A NAME="setReadonly(boolean)"><!-- --></A><H3>
setReadonly</H3>
<PRE>
public void <B>setReadonly</B>(boolean readonly)</PRE>
<DL>
<DD>sets the field to be read-only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>readonly</CODE> - The new flag for readonly.</DL>
</DD>
</DL>
<HR>
<A NAME="isReadonly()"><!-- --></A><H3>
isReadonly</H3>
<PRE>
public boolean <B>isReadonly</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the field is readonly</DL>
</DD>
</DL>
<HR>
<A NAME="setRequired(boolean)"><!-- --></A><H3>
setRequired</H3>
<PRE>
public void <B>setRequired</B>(boolean required)</PRE>
<DL>
<DD>sets the field to be required.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>required</CODE> - The new flag for required.</DL>
</DD>
</DL>
<HR>
<A NAME="isRequired()"><!-- --></A><H3>
isRequired</H3>
<PRE>
public boolean <B>isRequired</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the field is required</DL>
</DD>
</DL>
<HR>
<A NAME="setNoExport(boolean)"><!-- --></A><H3>
setNoExport</H3>
<PRE>
public void <B>setNoExport</B>(boolean noExport)</PRE>
<DL>
<DD>sets the field to be not exported..
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>noExport</CODE> - The new flag for noExport.</DL>
</DD>
</DL>
<HR>
<A NAME="isNoExport()"><!-- --></A><H3>
isNoExport</H3>
<PRE>
public boolean <B>isNoExport</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the field is not to be exported.</DL>
</DD>
</DL>
<HR>
<A NAME="getFieldFlags()"><!-- --></A><H3>
getFieldFlags</H3>
<PRE>
public int <B>getFieldFlags</B>()</PRE>
<DL>
<DD>This will get the flags for this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>flags The set of flags.</DL>
</DD>
</DL>
<HR>
<A NAME="setFieldFlags(int)"><!-- --></A><H3>
setFieldFlags</H3>
<PRE>
public void <B>setFieldFlags</B>(int flags)</PRE>
<DL>
<DD>This will set the flags for this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - The new flags.</DL>
</DD>
</DL>
<HR>
<A NAME="importFDF(org.pdfbox.pdmodel.fdf.FDFField)"><!-- --></A><H3>
importFDF</H3>
<PRE>
public void <B>importFDF</B>(<A HREF="../../../../../org/pdfbox/pdmodel/fdf/FDFField.html" title="class in org.pdfbox.pdmodel.fdf">FDFField</A> fdfField)
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>This will import a fdf field from a fdf document.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fdfField</CODE> - The fdf field to import.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error importing the data for this field.</DL>
</DD>
</DL>
<HR>
<A NAME="getWidget()"><!-- --></A><H3>
getWidget</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/pdmodel/interactive/annotation/PDAnnotationWidget.html" title="class in org.pdfbox.pdmodel.interactive.annotation">PDAnnotationWidget</A> <B>getWidget</B>()
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>This will get the single associated widget that is part of this field. This
occurs when the Widget is embedded in the fields dictionary. Sometimes there
are multiple sub widgets associated with this field, in which case you want to
use getKids(). If the kids entry is specified, then the first entry in that
list will be returned.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The widget that is associated with this field.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error getting the widget object.</DL>
</DD>
</DL>
<HR>
<A NAME="getParent()"><!-- --></A><H3>
getParent</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A> <B>getParent</B>()
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Get the parent field to this field, or null if none exists.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The parent field.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error creating the parent field.</DL>
</DD>
</DL>
<HR>
<A NAME="setParent(org.pdfbox.pdmodel.interactive.form.PDField)"><!-- --></A><H3>
setParent</H3>
<PRE>
public void <B>setParent</B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A> parent)</PRE>
<DL>
<DD>Set the parent of this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The parent to this field.</DL>
</DD>
</DL>
<HR>
<A NAME="findKid(java.lang.String[], int)"><!-- --></A><H3>
findKid</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDField.html" title="class in org.pdfbox.pdmodel.interactive.form">PDField</A> <B>findKid</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] name,
int nameIndex)
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>This will find one of the child elements. The name array are the components
of the name to search down the tree of names. The nameIndex is where to
start in that array. This method is called recursively until it finds
the end point based on the name array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - An array that picks the path to the field.<DD><CODE>nameIndex</CODE> - The index into the array.
<DT><B>Returns:</B><DD>The field at the endpoint or null if none is found.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error creating the field.</DL>
</DD>
</DL>
<HR>
<A NAME="getKids()"><!-- --></A><H3>
getKids</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getKids</B>()
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>This will get all the kids of this field. The values in the list
will either be PDWidget or PDField. Normally they will be PDWidget objects
unless this is a non-terminal field and they will be child PDField objects.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A list of either PDWidget or PDField objects.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If there is an error retrieving the kids.</DL>
</DD>
</DL>
<HR>
<A NAME="setKids(java.util.List)"><!-- --></A><H3>
setKids</H3>
<PRE>
public void <B>setKids</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html" title="class or interface in java.util">List</A> kids)</PRE>
<DL>
<DD>This will set the list of kids.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>kids</CODE> - The list of child widgets.</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
<DL>
<DD>This will return a string representation of this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A string representation of this field.</DL>
</DD>
</DL>
<HR>
<A NAME="getAcroForm()"><!-- --></A><H3>
getAcroForm</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> <B>getAcroForm</B>()</PRE>
<DL>
<DD>This will get the acroform that this field is part of.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The form this field is on.</DL>
</DD>
</DL>
<HR>
<A NAME="setAcroForm(org.pdfbox.pdmodel.interactive.form.PDAcroForm)"><!-- --></A><H3>
setAcroForm</H3>
<PRE>
public void <B>setAcroForm</B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDAcroForm.html" title="class in org.pdfbox.pdmodel.interactive.form">PDAcroForm</A> value)</PRE>
<DL>
<DD>This will set the form this field is on.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The new form to use.</DL>
</DD>
</DL>
<HR>
<A NAME="getDictionary()"><!-- --></A><H3>
getDictionary</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/cos/COSDictionary.html" title="class in org.pdfbox.cos">COSDictionary</A> <B>getDictionary</B>()</PRE>
<DL>
<DD>This will get the dictionary associated with this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The dictionary that this class wraps.</DL>
</DD>
</DL>
<HR>
<A NAME="getCOSObject()"><!-- --></A><H3>
getCOSObject</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/cos/COSBase.html" title="class in org.pdfbox.cos">COSBase</A> <B>getCOSObject</B>()</PRE>
<DL>
<DD>Convert this standard java object to a COS object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/pdfbox/pdmodel/common/COSObjectable.html#getCOSObject()">getCOSObject</A></CODE> in interface <CODE><A HREF="../../../../../org/pdfbox/pdmodel/common/COSObjectable.html" title="interface in org.pdfbox.pdmodel.common">COSObjectable</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The cos object that matches this Java object.</DL>
</DD>
</DL>
<HR>
<A NAME="getActions()"><!-- --></A><H3>
getActions</H3>
<PRE>
public <A HREF="../../../../../org/pdfbox/pdmodel/interactive/action/PDFormFieldAdditionalActions.html" title="class in org.pdfbox.pdmodel.interactive.action">PDFormFieldAdditionalActions</A> <B>getActions</B>()</PRE>
<DL>
<DD>Get the additional actions for this field. This will return null
if there are no additional actions for this field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The actions of the field.</DL>
</DD>
</DL>
<HR>
<A NAME="setActions(org.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions)"><!-- --></A><H3>
setActions</H3>
<PRE>
public void <B>setActions</B>(<A HREF="../../../../../org/pdfbox/pdmodel/interactive/action/PDFormFieldAdditionalActions.html" title="class in org.pdfbox.pdmodel.interactive.action">PDFormFieldAdditionalActions</A> actions)</PRE>
<DL>
<DD>Set the actions of the field.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>actions</CODE> - The field actions.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </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/PDField.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="../../../../../org/pdfbox/pdmodel/interactive/form/PDChoiceField.html" title="class in org.pdfbox.pdmodel.interactive.form"><B>PREV CLASS</B></A>
<A HREF="../../../../../org/pdfbox/pdmodel/interactive/form/PDFieldFactory.html" title="class in org.pdfbox.pdmodel.interactive.form"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="PDField.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <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>
</BODY>
</HTML>
|