Package com.jidesoft.plaf.windows
Class WindowsGraphicsUtilsPort
java.lang.Object
com.jidesoft.plaf.windows.WindowsGraphicsUtilsPort
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
paintText
(Graphics g, AbstractButton b, Rectangle textRect, String text, int textShiftOffset) Renders a text String in Windows without the mnemonic.
-
Constructor Details
-
WindowsGraphicsUtilsPort
public WindowsGraphicsUtilsPort()
-
-
Method Details
-
paintText
public static void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text, int textShiftOffset) Renders a text String in Windows without the mnemonic. This is here because the WindowsUI hierarchy doesn't match the Component hierarchy. All the overriden paintText methods of the ButtonUI delegates will call this static method.- Parameters:
g
- Graphics contextb
- Current button to rendertextRect
- Bounding rectangle to render the text.text
- String to render
-