pdfHTML 2.1.6 API
iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.RadioRenderer Class Reference

The AbstractOneLineTextFieldRenderer implementation for radio buttons. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.RadioRenderer:
iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.AbstractFormFieldRenderer

Public Member Functions

  RadioRenderer (Radio modelElement)
  Creates a new RadioRenderer instance. More...
 
override IRenderer  GetNextRenderer ()
 
virtual bool  IsBoxChecked ()
  Defines whether the radio is checked or not. More...
 
- Public Member Functions inherited from iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.AbstractFormFieldRenderer
virtual bool  IsFlatten ()
  Checks if form fields need to be flattened. More...
 
virtual String  GetDefaultValue ()
  Gets the default value of the form field. More...
 
override LayoutResult  Layout (LayoutContext layoutContext)
 
override void  Draw (DrawContext drawContext)
 
override void  DrawChildren (DrawContext drawContext)
 
virtual float  GetAscent ()
 
virtual float  GetDescent ()
 
override MinMaxWidth  GetMinMaxWidth ()
 

Additional Inherited Members

- Protected Member Functions inherited from iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.AbstractFormFieldRenderer
override? float  RetrieveWidth (float parentBoxWidth)
 

Detailed Description

The AbstractOneLineTextFieldRenderer implementation for radio buttons.

Constructor & Destructor Documentation

◆ RadioRenderer()

iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.RadioRenderer.RadioRenderer ( Radio  modelElement )
inline

Creates a new RadioRenderer instance.

Parameters
modelElement the model element

Member Function Documentation

◆ IsBoxChecked()

virtual bool iText.Html2pdf.Attach.Impl.Layout.Form.Renderer.RadioRenderer.IsBoxChecked ( )
inlinevirtual

Defines whether the radio is checked or not.

Returns
the default value of the radio field