Package org.xhtmlrenderer.pdf
Class SelectFormField
- java.lang.Object
-
- org.xhtmlrenderer.pdf.AbstractFormField
-
- org.xhtmlrenderer.pdf.SelectFormField
-
- All Implemented Interfaces:
ReplacedElement,ITextReplacedElement
@ParametersAreNonnullByDefault public class SelectFormField extends AbstractFormField
-
-
Field Summary
-
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
-
-
Constructor Summary
Constructors Constructor Description SelectFormField(LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBaseline()protected StringgetFieldType()booleanhasBaseline()protected voidinitDimensions(LayoutContext c, BlockBox box, int cssWidth, int cssHeight)protected booleanisMultiple(Element e)voidpaint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)-
Methods inherited from class 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
-
-
-
-
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:
initDimensionsin classAbstractFormField
-
isMultiple
protected boolean isMultiple(Element e)
-
getFieldType
protected String getFieldType()
- Specified by:
getFieldTypein classAbstractFormField
-
paint
public void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
-
getBaseline
public int getBaseline()
-
hasBaseline
public boolean hasBaseline()
-
-