org.docx4j.org.xhtmlrenderer.pdf
Class RadioButtonFormField

java.lang.Object
  extended by org.docx4j.org.xhtmlrenderer.pdf.AbstractFormField
      extended by org.docx4j.org.xhtmlrenderer.pdf.RadioButtonFormField
All Implemented Interfaces:
ReplacedElement, ITextReplacedElement

public class RadioButtonFormField
extends AbstractFormField


Field Summary
 
Fields inherited from class org.docx4j.org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
 
Constructor Summary
RadioButtonFormField(ITextReplacedElementFactory factory, LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
           
 
Method Summary
 void detach(LayoutContext c)
           
 int getBaseline()
           
 Box getBox()
           
protected  String getFieldType()
           
 boolean hasBaseline()
           
 void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
           
 
Methods inherited from class org.docx4j.org.xhtmlrenderer.pdf.AbstractFormField
getFieldName, getHeight, getIntrinsicHeight, getIntrinsicWidth, getLocation, getValue, getWidth, getX, getY, initDimensions, isChecked, isReadOnly, isRequiresInteractivePaint, isSelected, setFillColor, setHeight, setLocation, setStrokeColor, setWidth, setX, setY, spaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonFormField

public RadioButtonFormField(ITextReplacedElementFactory factory,
                            LayoutContext c,
                            BlockBox box,
                            int cssWidth,
                            int cssHeight)
Method Detail

getFieldType

protected String getFieldType()
Specified by:
getFieldType in class AbstractFormField

paint

public void paint(RenderingContext c,
                  ITextOutputDevice outputDevice,
                  BlockBox box)

detach

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

getBox

public Box getBox()

getBaseline

public int getBaseline()

hasBaseline

public boolean hasBaseline()


Copyright © 2011-2012. All Rights Reserved.