Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jgoodies.looks.common
Class RenderingUtils

    java.lang.Object
      com.jgoodies.looks.common.RenderingUtils

    public final class RenderingUtils

extends Object

Provides convenience behavior used by the JGoodies Looks.

Note: This class is not part of the public Looks API. It should be treated as library internal and should not be used by API users. It may be removed or changed with the Looks version without further notice.

Since:
  2.0
Version:
  $Revision: 1.9 $
Author:
  Karsten Lentzsch, Andrej Golovnin

Method Summary
`static void` | `drawStringUnderlineCharAt(JComponent c, Graphics g, String text, int underlinedIndex, int x, int y)` Draws the string at the specified location underlining the specified character.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### drawStringUnderlineCharAt

    public static void drawStringUnderlineCharAt(JComponent c,
                                                 Graphics g,
                                                 String text,
                                                 int underlinedIndex,
                                                 int x,
                                                 int y)

  Draws the string at the specified location underlining the specified character.

  Parameters:
    `c` - JComponent that will display the string, may be null
    `g` - Graphics to draw the text to
    `text` - String to display
    `underlinedIndex` - Index of a character in the string to underline
    `x` - X coordinate to draw the text at
    `y` - Y coordinate to draw the text at

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.