Class HtmlCheckBoxRenderingStrategy
- java.lang.Object
-
- com.itextpdf.forms.form.renderer.checkboximpl.HtmlCheckBoxRenderingStrategy
-
- All Implemented Interfaces:
ICheckBoxRenderingStrategy
public final class HtmlCheckBoxRenderingStrategy extends java.lang.Object implements ICheckBoxRenderingStrategy
This class is used to draw a checkBox icon in HTML mode.
-
-
Constructor Summary
Constructors Constructor Description HtmlCheckBoxRenderingStrategy()
Creates a newHtmlCheckBoxRenderingStrategy
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)
Draws a check box icon.
-
-
-
Constructor Detail
-
HtmlCheckBoxRenderingStrategy
public HtmlCheckBoxRenderingStrategy()
Creates a newHtmlCheckBoxRenderingStrategy
instance.
-
-
Method Detail
-
drawCheckBoxContent
public void drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)
Draws a check box icon.- Specified by:
drawCheckBoxContent
in interfaceICheckBoxRenderingStrategy
- Parameters:
drawContext
- the draw contextcheckBoxRenderer
- the checkBox rendererrectangle
- the rectangle where the icon should be drawn
-
-