Class WindowsGraphicsUtilsPort

java.lang.Object
com.jidesoft.plaf.windows.WindowsGraphicsUtilsPort

public class WindowsGraphicsUtilsPort extends Object
  • 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 context
      b - Current button to render
      textRect - Bounding rectangle to render the text.
      text - String to render