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
public abstract class AbstractFormField extends java.lang.Object implements ITextReplacedElement
-
-
Constructor Summary
Constructors Constructor Description AbstractFormField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach(LayoutContext c)
int
getIntrinsicHeight()
int
getIntrinsicWidth()
java.awt.Point
getLocation()
Returns the current location where the element will be rendered on the canvasboolean
isRequiresInteractivePaint()
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
-
-
-
-
Method Detail
-
detach
public void detach(LayoutContext c)
- Specified by:
detach
in interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeight
in interfaceReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidth
in interfaceReplacedElement
-
getLocation
public java.awt.Point 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
-
-