org.docx4j.org.xhtmlrenderer.pdf
Class SelectFormField

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

public class SelectFormField
extends AbstractFormField


Field Summary
 
Fields inherited from class org.docx4j.org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
 
Constructor Summary
SelectFormField(LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
           
 
Method Summary
 int getBaseline()
           
protected  String getFieldType()
           
 boolean hasBaseline()
           
protected  void initDimensions(LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
           
protected  boolean isMultiple(Element e)
           
 void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
           
 
Methods inherited from class org.docx4j.org.xhtmlrenderer.pdf.AbstractFormField
detach, getFieldName, getHeight, getIntrinsicHeight, getIntrinsicWidth, getLocation, getValue, getWidth, getX, getY, 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

SelectFormField

public SelectFormField(LayoutContext c,
                       BlockBox box,
                       int cssWidth,
                       int cssHeight)
Method Detail

initDimensions

protected void initDimensions(LayoutContext c,
                              BlockBox box,
                              int cssWidth,
                              int cssHeight)
Overrides:
initDimensions in class AbstractFormField

isMultiple

protected boolean isMultiple(Element e)

getFieldType

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

paint

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

getBaseline

public int getBaseline()

hasBaseline

public boolean hasBaseline()


Copyright © 2011-2012. All Rights Reserved.