Uses of Class java.awt.font.TextHitInfo

Uses in package java.awt.im.spi

Methods with parameter type java.awt.font.TextHitInfo

void
Create an input method event and dispatch it to the client.

Uses in package java.awt.im

Methods with parameter type java.awt.font.TextHitInfo

Rectangle
Gets the location of a given offset of the text.

Methods with return type java.awt.font.TextHitInfo

TextHitInfo
Get the text offset for the given screen coordinate.

Uses in package java.awt.font

Methods with parameter type java.awt.font.TextHitInfo

boolean
float[]
float[]
Shape
Shape
int[]
TextHitInfo
TextHitInfo
TextHitInfo
Shape
Shape
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)
TextHitInfo

Methods with return type java.awt.font.TextHitInfo

TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextHitInfo
TextLayout.hitTestChar(float x, float y)
TextHitInfo
TextLayout.hitTestChar(float x, float y, Rectangle2D bounds)
Finds the character hit at the specified point.
TextHitInfo
TextHitInfo.leading(int charIndex)
TextHitInfo
TextHitInfo.trailing(int charIndex)

Uses in package java.awt.event

Constructors with parameter type java.awt.font.TextHitInfo

InputMethodEvent.InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
Initializes a new instance of InputMethodEvent with the specified source, id, caret, and visible position, and with a null text and char count.
InputMethodEvent.InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
Initializes a new instance of InputMethodEvent with the specified source, id, text, char count, caret, and visible position.
InputMethodEvent.InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
Initializes a new instance of InputMethodEvent with the specified source, id, timestamp, text, char count, caret, and visible position.

Methods with return type java.awt.font.TextHitInfo

TextHitInfo
Returns the caret position.
TextHitInfo
Returns the position that is most important to be visible, or null if such a hint is not necessary.