Example usage for Java javax.swing.text Utilities fields, constructors, methods, implement or subclass
The text is from its open source code.
int | drawTabbedText(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. |
float | drawTabbedText(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. |
int | getNextWord(JTextComponent c, int offs) Determines the start of the next word for the given location. |
int | getRowEnd(JTextComponent c, int offs) Determines the ending row model position of the row that contains the specified model position. |
int | getRowStart(JTextComponent c, int offs) Determines the starting row model position of the row that contains the specified model position. |
int | getTabbedTextOffset(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. |
int | getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset) Determines the width of the given segment of text taking tabs into consideration. |
float | getTabbedTextWidth(Segment s, FontMetrics metrics, float x, TabExpander e, int startOffset) Determines the width of the given segment of text taking tabs into consideration. |
int | getWordEnd(JTextComponent c, int offs) Determines the end of a word for the given location. |
int | getWordStart(JTextComponent c, int offs) Determines the start of a word for the given model location. |