| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.fields.PdfField
com.spire.pdf.widget.PdfFieldWidget
com.spire.pdf.widget.PdfStyledFieldWidget
com.spire.pdf.widget.PdfTextBoxFieldWidget
public class PdfTextBoxFieldWidget
Represents the text box field of an existing PDF documents form.
| Constructor Summary | |
|---|---|
| PdfTextBoxFieldWidget(PdfDictionary dictionary,
                      PdfCrossTable crossTable) | |
| Method Summary | |
|---|---|
|  PdfRGBColor | getBackColor()Gets the back color of the field | 
|  java.awt.geom.Rectangle2D | getBounds()Gets the bounds. | 
|  java.lang.String | getDefaultValue()Gets the default value of the field. | 
|  PdfFontBase | getFont()Gets the font. | 
|  PdfRGBColor | getForeColor()Gets the fore color of the field. | 
|  PdfHighlightMode | getHighlightMode()Gets the HighLightMode of the Field. | 
|  boolean | getInsertSpaces()Meaningful only if the MaxLength property is set and the Multiline, Password properties are false. | 
|  int | getMaxLength()Gets the maximum length of the field, in characters. | 
|  boolean | getMultiline()Gets a value indicating whether this is multiline. | 
|  boolean | getPassword()Gets a value indicating whether this is password field. | 
|  boolean | getScrollable()Gets a value indicating whether this is scrollable. | 
|  boolean | getSpellCheck()Gets a value indicating whether to check spelling. | 
|  java.lang.String | getText()Gets value of the text box field. | 
|  PdfTextAlignment | getTextAlignment()Gets the text alignment in a text box. | 
|  PdfTextBoxWidgetItemCollection | getWidgetItems()Gets the collection of text box field items. | 
|  void | setBackColor(PdfRGBColor value)Sets the back color of the field | 
|  void | setDefaultValue(java.lang.String value)Sets the default value of the field. | 
|  void | setFont(PdfFontBase value)Sets the font. | 
|  void | setForeColor(PdfRGBColor value)Sets the fore color of the field. | 
|  void | setHighlightMode(PdfHighlightMode value)Sets the HighLightMode of the Field. | 
|  void | setInsertSpaces(boolean value) | 
|  void | setMaxLength(int value) | 
|  void | setMultiline(boolean value) | 
|  void | setPassword(boolean value) | 
|  void | setScrollable(boolean value) | 
|  void | setSpellCheck(boolean value) | 
|  void | setText(java.lang.String value)Sets the Text | 
|  void | setTextAlignment(PdfTextAlignment value)Sets the text alignment in a text box. | 
| Methods inherited from class com.spire.pdf.widget.PdfStyledFieldWidget | 
|---|
| getActions, getBorderColor, getBorderStyle, getBorderWidth, getGotFocus, getLocation, getLostFocus, getMouseDown, getMouseEnter, getMouseLeave, getSize, getVisible, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setGotFocus, setLocation, setLostFocus, setMouseDown, setMouseEnter, setMouseLeave, setSize | 
| Methods inherited from class com.spire.pdf.widget.PdfFieldWidget | 
|---|
| getName, getPage, getToolTip, importFieldValue, setReadOnly, setRequired | 
| Methods inherited from class com.spire.pdf.fields.PdfField | 
|---|
| getExport, getFlatten, getForm, getMappingName, getReadOnly, setExport, setFlatten, setToolTip | 
| Methods inherited from interface com.spire.pdf.widget.IPdfTextBoxField | 
|---|
| getName | 
| Constructor Detail | 
|---|
public PdfTextBoxFieldWidget(PdfDictionary dictionary,
                             PdfCrossTable crossTable)
| Method Detail | 
|---|
public PdfRGBColor getBackColor()
getBackColor in class PdfStyledFieldWidgetpublic java.awt.geom.Rectangle2D getBounds()
getBounds in class PdfStyledFieldWidgetpublic PdfRGBColor getForeColor()
public void setForeColor(PdfRGBColor value)
public PdfTextAlignment getTextAlignment()
public void setTextAlignment(PdfTextAlignment value)
public PdfHighlightMode getHighlightMode()
public void setHighlightMode(PdfHighlightMode value)
public java.lang.String getText()
public void setText(java.lang.String value)
value - Text filespublic PdfFontBase getFont()
getFont in class PdfStyledFieldWidgetpublic void setFont(PdfFontBase value)
setFont in class PdfStyledFieldWidgetpublic java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String value)
public boolean getSpellCheck()
public void setSpellCheck(boolean value)
public boolean getInsertSpaces()
public void setInsertSpaces(boolean value)
public boolean getMultiline()
public void setMultiline(boolean value)
public boolean getPassword()
public void setPassword(boolean value)
public boolean getScrollable()
public void setScrollable(boolean value)
public int getMaxLength()
public void setMaxLength(int value)
public PdfTextBoxWidgetItemCollection getWidgetItems()
public void setBackColor(PdfRGBColor value)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||