java.lang.Object | |
↳ | javax.swing.plaf.basic.BasicGraphicsUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draw a string with the graphics
g at location (x,y)
just like g.drawString would. | |||||||||||
Draw a string with the graphics
g at location
(x , y )
just like g.drawString would. | |||||||||||
Returns the amount of space taken up by a border drawn by
drawEtchedRect() | |||||||||||
Returns the amount of space taken up by a border drawn by
drawGroove() | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Draw a string with the graphics g
at location (x,y)
just like g.drawString
would.
The first occurrence of underlineChar
in text will be underlined. The matching algorithm is
not case sensitive.
Draw a string with the graphics g
at location
(x
, y
)
just like g.drawString
would.
The character at index underlinedIndex
in text will be underlined. If index
is beyond the
bounds of text
(including < 0), nothing will be
underlined.
g | Graphics to draw with |
---|---|
text | String to draw |
underlinedIndex | Index of character in text to underline |
x | x coordinate to draw at |
y | y coordinate to draw at |
Returns the amount of space taken up by a border drawn by
drawEtchedRect()
Returns the amount of space taken up by a border drawn by
drawGroove()