All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.text.Utilities
java.lang.Object
|
+----com.sun.java.swing.text.Utilities
- public class Utilities
- extends Object
A collection of methods to deal with various text
related activities.
-
Utilities()
-
-
drawTabbedText(Segment, int, int, Graphics, TabExpander)
- Draws the given text, expanding any tabs that are contained
using the given tab expansion technique.
Utilities
public Utilities()
drawTabbedText
public static final void drawTabbedText(Segment s,
int x,
int y,
Graphics g,
TabExpander e)
- Draws the given text, expanding any tabs that are contained
using the given tab expansion technique. This particular
implementation renders in a 1.1 style coordinate system
where ints are used and 72dpi is assumed.
- Parameters:
- s - the source of the text
- x - the X origin
- y - the Y origin
- g - the graphics context
- e - how to expand the tabs
All Packages Class Hierarchy This Package Previous Next Index