| java.lang.Object org.jvnet.substance.painter.text.AbstractTextPainter org.jvnet.substance.bramble.BrambleTextPainter
BrambleTextPainter | public class BrambleTextPainter extends AbstractTextPainter (Code) | | Text painter that uses SWT to render the text with native libraries.
author: Kirill Grouchnikov |
Method Summary | |
public void | attachVerticalText(JComponent comp, Rectangle textRect, String text, int mnemonicIndex, Font font, Color color, Rectangle clip, boolean isFromBottomToTop) | public void | dispose() | public java.awt.Dimension | getTextBounds(Component comp, java.awt.Font awtFont, String text) | public void | init(JComponent comp, Rectangle clip, boolean toEnforceRenderOnNoTexts) | public boolean | isNative() | public boolean | needsBackgroundImage() | public void | renderSurface(Graphics g) | public void | setBackgroundFill(JComponent comp, Color backgroundFillColor, boolean toOverlayWatermark, int watermarkOffsetX, int watermarkOffsetY) |
BrambleTextPainter | public BrambleTextPainter()(Code) | | Creates a new SWT-based text painter.
|
dispose | public void dispose()(Code) | | |
isNative | public boolean isNative()(Code) | | |
needsBackgroundImage | public boolean needsBackgroundImage()(Code) | | |
setBackgroundFill | public void setBackgroundFill(JComponent comp, Color backgroundFillColor, boolean toOverlayWatermark, int watermarkOffsetX, int watermarkOffsetY)(Code) | | |
|
|