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 voiddetach(LayoutContext c)intgetIntrinsicHeight()intgetIntrinsicWidth()java.awt.PointgetLocation()Returns the current location where the element will be rendered on the canvasbooleanisRequiresInteractivePaint()voidsetLocation(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:
detachin interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeightin interfaceReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidthin interfaceReplacedElement
-
getLocation
public java.awt.Point getLocation()
Description copied from interface:ReplacedElementReturns the current location where the element will be rendered on the canvas- Specified by:
getLocationin interfaceReplacedElement- Returns:
- see desc
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y)Description copied from interface:ReplacedElementAssigns the new locations where the element will be rendered.- Specified by:
setLocationin interfaceReplacedElement- Parameters:
x- new horizontal posy- new vertical pos
-
-