java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.CheckboxFormField
- All Implemented Interfaces:
org.xhtmlrenderer.extend.ReplacedElement,ITextReplacedElement
-
Field Summary
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE -
Constructor Summary
ConstructorsConstructorDescriptionCheckboxFormField(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight) -
Method Summary
Modifier and TypeMethodDescriptionintprotected Stringbooleanvoidpaint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box) Methods inherited from class org.xhtmlrenderer.pdf.AbstractFormField
detach, getFieldName, getHeight, getIntrinsicHeight, getIntrinsicWidth, getLocation, getValue, getWidth, getX, getY, initDimensions, isChecked, isReadOnly, isRequiresInteractivePaint, isSelected, setFillColor, setHeight, setLocation, setStrokeColor, setWidth, setX, setY, spaces
-
Constructor Details
-
CheckboxFormField
public CheckboxFormField(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight)
-
-
Method Details
-
getFieldType
- Specified by:
getFieldTypein classAbstractFormField
-
paint
public void paint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box) -
getBaseline
public int getBaseline() -
hasBaseline
public boolean hasBaseline()
-