public class Button extends FormField<Button>
FormField
class representing a button in html
Modifier and Type | Method and Description |
---|---|
Button |
add(com.itextpdf.layout.element.IBlockElement element)
Adds any block element to the div's contents.
|
Button |
add(com.itextpdf.layout.element.Image element)
Adds an image to the div's contents.
|
|
getDefaultProperty(int property) |
protected com.itextpdf.layout.renderer.IRenderer |
makeNewRenderer() |
addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber
deleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFont, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Button(String id)
protected com.itextpdf.layout.renderer.IRenderer makeNewRenderer()
makeNewRenderer
in class com.itextpdf.layout.element.AbstractElement<Button>
public Button add(com.itextpdf.layout.element.IBlockElement element)
element
- a BlockElement
public Button add(com.itextpdf.layout.element.Image element)
element
- an Image
publicT1 getDefaultProperty(int property)
getDefaultProperty
in interface com.itextpdf.layout.IPropertyContainer
getDefaultProperty
in class FormField<Button>
Copyright © 1998–2020 iText Group NV. All rights reserved.