public class FoldIconRenderer
extends java.lang.Object
| Constructor and Description |
|---|
FoldIconRenderer(java.awt.Image foldIcon,
java.awt.Image unfoldIcon)
Initializes a new instance of the FoldIconRenderer class that
renders fold / unfold icons provided as bitmaps.
|
FoldIconRenderer(RenderCallback<ContainerNode> renderCallback)
Initializes a new instance of the FoldIconRenderer class.
|
FoldIconRenderer(com.mindfusion.svg.SvgContent foldIcon,
com.mindfusion.svg.SvgContent unfoldIcon)
Initializes a new instance of the FoldIconRenderer class that
renders fold / unfold icons provided as SVG drawings.
|
| Modifier and Type | Method and Description |
|---|---|
Align |
getAlignment()
Gets icon's alignment within caption bar.
|
void |
setAlignment(Align value)
Sets icon's alignment within caption bar.
|
public FoldIconRenderer(RenderCallback<ContainerNode> renderCallback)
renderCallback - A callback function that draws the icon using Graphics2D API.public FoldIconRenderer(java.awt.Image foldIcon,
java.awt.Image unfoldIcon)
foldIcon - A java.awt.Image representing the fold icon.unfoldIcon - A java.awt.Image representing the unfold icon.public FoldIconRenderer(com.mindfusion.svg.SvgContent foldIcon,
com.mindfusion.svg.SvgContent unfoldIcon)
foldIcon - An SvgContent representing the fold icon.unfoldIcon - An SvgContent representing the unfold icon.