Uses of Class javax.swing.text.Position.Bias

Uses in package javax.swing.plaf.basic

Methods with parameter type javax.swing.text.Position.Bias

void
BasicTextUI.damageRange(JTextComponent t, int p0, int p1, Position.Bias firstBias, Position.Bias secondBias)
int
Rectangle
int

Uses in package javax.swing.text

Fields of type javax.swing.text.Position.Bias

Position.Bias
Position.Bias

Methods with parameter type javax.swing.text.Position.Bias

int
Shape
Shape
Shape
PlainView.modelToView(int position, Shape a, Position.Bias b)
void
void
void
void
int
ComponentView.viewToModel(float x, float y, Shape a, Position.Bias bias)

Uses in package javax.swing

Methods with parameter type javax.swing.text.Position.Bias

int
JList.getNextMatch(String prefix, int startIndex, Position.Bias bias)
Returns the next list element (beginning from startIndex that starts with prefix.
TreePath
JTree.getNextMatch(String prefix, int startingRow, Position.Bias bias)
Returns the next table element (beginning from the row startingRow that starts with prefix.

Uses in package javax.swing.plaf

Methods with parameter type javax.swing.text.Position.Bias

void
TextUI.damageRange(JTextComponent tc, int start, int end, Position.Bias startBias, Position.Bias endBias)
Repaints a range of characters, also specifying the bias for the start and end of the range.
int
TextUI.getNextVisualPositionFrom(JTextComponent tc, int pos, Position.Bias bias, int direction, Position.Bias outBias)
Calculates the caret position that is visually next to the given position.
Rectangle
Calculates the geometric extent of the character at the given offset.
int
Finds the caret position which is closest to the specified visual location.