public class Radio extends FormField<Radio>
FormField class representing a radio button so that
a RadioRenderer is used instead of the default renderer for fields.tagPropertieschildElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
Radio(String id)
Creates a new
Radio instance. |
Radio(String id,
String radioGroupName)
Creates a new
Radio instance. |
| Modifier and Type | Method and Description |
|---|---|
AccessibilityProperties |
getAccessibilityProperties() |
<T1> T1 |
getProperty(int property) |
protected IRenderer |
makeNewRenderer() |
Radio |
setChecked(boolean checked)
Sets the state of the radio button.
|
getDefaultProperty, getId, setHeight, setInteractive, setSize, setValue, setWidthaddStyle, createRendererSubTree, getChildren, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing, simulateBold, simulateItalicclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrencreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getOwnProperty, hasOwnProperty, hasProperty, setPropertypublic Radio setChecked(boolean checked)
checked - true if the radio button shall be checked, false otherwise.
By default, the radio button is unchecked.Radio button.public <T1> T1 getProperty(int property)
getProperty in interface IPropertyContainergetProperty in class AbstractElement<Radio>public AccessibilityProperties getAccessibilityProperties()
protected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<Radio>Copyright © 1998–2024 Apryse Group NV. All rights reserved.