public class ExpandIconRenderer
extends java.lang.Object
| Constructor and Description |
|---|
ExpandIconRenderer(java.awt.Image collapseIcon,
java.awt.Image expandIcon)
Initializes a new instance of the ExpandIconRenderer class that
renders collapse / expand icons provided as bitmaps.
|
ExpandIconRenderer(RenderCallback<DiagramNode> renderCallback)
Initializes a new instance of the ExpandIconRenderer class.
|
ExpandIconRenderer(com.mindfusion.svg.SvgContent collapseIcon,
com.mindfusion.svg.SvgContent expandIcon)
Initializes a new instance of the ExpandIconRenderer class that
renders collapse / expand icons provided as SVG drawings.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getSize()
Gets a float value specifying icon size in diagram's MeasureUnit.
|
void |
setSize(java.lang.Float value)
Sets a float value specifying icon size in diagram's MeasureUnit.
|
public ExpandIconRenderer(RenderCallback<DiagramNode> renderCallback)
renderCallback - A callback function that draws the icon using Graphics2D API.public ExpandIconRenderer(java.awt.Image collapseIcon,
java.awt.Image expandIcon)
collapseIcon - A java.awt.Image representing the collapse icon.expandIcon - A java.awt.Image representing the expand icon.public ExpandIconRenderer(com.mindfusion.svg.SvgContent collapseIcon,
com.mindfusion.svg.SvgContent expandIcon)
collapseIcon - An SvgContent representing the collapse icon.expandIcon - An SvgContent representing the expand icon.public java.lang.Float getSize()
public void setSize(java.lang.Float value)
value - A Float value that lets you override the icon size.