Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.pdf
Class AbstractFormField

java.lang.Object
  extended by 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
AbstractFormField()
           
 
Method Summary
 void detach(LayoutContext c)
           
 int getIntrinsicHeight()
           
 int getIntrinsicWidth()
           
 java.awt.Point getLocation()
          Returns the current location where the element will be rendered on the canvas
 boolean 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
 

Constructor Detail

AbstractFormField

public AbstractFormField()
Method Detail

detach

public void detach(LayoutContext c)
Specified by:
detach in interface ReplacedElement

getIntrinsicHeight

public int getIntrinsicHeight()
Specified by:
getIntrinsicHeight in interface ReplacedElement

getIntrinsicWidth

public int getIntrinsicWidth()
Specified by:
getIntrinsicWidth in interface ReplacedElement

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 interface ReplacedElement
Returns:
see desc

isRequiresInteractivePaint

public boolean isRequiresInteractivePaint()
Specified by:
isRequiresInteractivePaint in interface ReplacedElement

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 interface ReplacedElement
Parameters:
x - new horizontal pos
y - new vertical pos

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home