Package com.jidesoft.plaf.windows
Class WindowsGraphicsUtilsPort
- java.lang.Object
-
- com.jidesoft.plaf.windows.WindowsGraphicsUtilsPort
-
public class WindowsGraphicsUtilsPort extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WindowsGraphicsUtilsPort()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
paintText(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle textRect, java.lang.String text, int textShiftOffset)
Renders a text String in Windows without the mnemonic.
-
-
-
Method Detail
-
paintText
public static void paintText(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle textRect, java.lang.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
-
-