Java javax.swing.text Utilities fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.text Utilities fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.text Utilities.

The text is from its open source code.

Method

intdrawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)
Draws the given text, expanding any tabs that are contained using the given tab expansion technique.
floatdrawTabbedText(Segment s, float x, float y, Graphics2D g, TabExpander e, int startOffset)
Draws the given text, expanding any tabs that are contained using the given tab expansion technique.
intgetNextWord(JTextComponent c, int offs)
Determines the start of the next word for the given location.
intgetRowEnd(JTextComponent c, int offs)
Determines the ending row model position of the row that contains the specified model position.
intgetRowStart(JTextComponent c, int offs)
Determines the starting row model position of the row that contains the specified model position.
intgetTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
Determines the relative offset into the given text that best represents the given span in the view coordinate system.
intgetTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)
Determines the width of the given segment of text taking tabs into consideration.
floatgetTabbedTextWidth(Segment s, FontMetrics metrics, float x, TabExpander e, int startOffset)
Determines the width of the given segment of text taking tabs into consideration.
intgetWordEnd(JTextComponent c, int offs)
Determines the end of a word for the given location.
intgetWordStart(JTextComponent c, int offs)
Determines the start of a word for the given model location.