Paints an icon and text. This will render the text as html, if
necessary, and offset the location by the insets of the component.
Parameters:
-
ss - SynthContext
-
g - Graphics to render string and icon into
-
text - Text to layout
-
icon - Icon to layout
-
hAlign - horizontal alignment
-
vAlign - vertical alignment
-
hTextPosition - horizontal text position
-
vTextPosition - vertical text position
-
iconTextGap - gap between icon and text
-
mnemonicIndex - Index into text to render the mnemonic at, -1
indicates no mnemonic.
-
textOffset - Amount to offset the text when painting