Package org.xhtmlrenderer.pdf
Class RadioButtonFormField
- java.lang.Object
-
- org.xhtmlrenderer.pdf.AbstractFormField
-
- org.xhtmlrenderer.pdf.RadioButtonFormField
-
- All Implemented Interfaces:
ReplacedElement,ITextReplacedElement
@ParametersAreNonnullByDefault public final class RadioButtonFormField extends AbstractFormField
-
-
Field Summary
-
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
-
-
Constructor Summary
Constructors Constructor Description RadioButtonFormField(ITextReplacedElementFactory factory, LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach(LayoutContext c)intgetBaseline()BoxgetBox()protected StringgetFieldType()booleanhasBaseline()voidpaint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)-
Methods inherited from class 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
-
-
-
-
Constructor Detail
-
RadioButtonFormField
public RadioButtonFormField(ITextReplacedElementFactory factory, LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
-
-
Method Detail
-
getFieldType
protected String getFieldType()
- Specified by:
getFieldTypein classAbstractFormField
-
paint
public void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
-
detach
public void detach(LayoutContext c)
- Specified by:
detachin interfaceReplacedElement- Overrides:
detachin classAbstractFormField
-
getBox
public Box getBox()
-
getBaseline
public int getBaseline()
-
hasBaseline
public boolean hasBaseline()
-
-