Package org.xhtmlrenderer.pdf
Class AbstractFormField
java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
- All Implemented Interfaces:
ReplacedElement
,ITextReplacedElement
- Direct Known Subclasses:
CheckboxFormField
,RadioButtonFormField
,SelectFormField
,TextAreaFormField
,TextFormField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
Returns the current location where the element will be rendered on the canvasboolean
void
setLocation
(int x, int y) Assigns the new locations where the element will be rendered.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xhtmlrenderer.pdf.ITextReplacedElement
paint
Methods inherited from interface org.xhtmlrenderer.extend.ReplacedElement
getBaseline, hasBaseline
-
Constructor Details
-
AbstractFormField
public AbstractFormField()
-
-
Method Details
-
detach
- Specified by:
detach
in interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeight
in interfaceReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidth
in interfaceReplacedElement
-
getLocation
Description copied from interface:ReplacedElement
Returns the current location where the element will be rendered on the canvas- Specified by:
getLocation
in interfaceReplacedElement
- Returns:
- see desc
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaint
in interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y) Description copied from interface:ReplacedElement
Assigns the new locations where the element will be rendered.- Specified by:
setLocation
in interfaceReplacedElement
- Parameters:
x
- new horizontal posy
- new vertical pos
-