Uses of Class
javax.swing.text.Position.Bias
Packages that use Position.Bias
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects that combine two or more look and feels.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.-
Uses of Position.Bias in javax.swing
Methods in javax.swing with parameters of type Position.BiasModifier and TypeMethodDescriptionintJList.getNextMatch(String prefix, int startIndex, Position.Bias bias) Returns the next list element whosetoStringvalue starts with the given prefix.JTree.getNextMatch(String prefix, int startingRow, Position.Bias bias) Returns the TreePath to the next tree element that begins with a prefix. -
Uses of Position.Bias in javax.swing.plaf
Methods in javax.swing.plaf with parameters of type Position.BiasModifier and TypeMethodDescriptionabstract voidTextUI.damageRange(JTextComponent t, int p0, int p1, Position.Bias firstBias, Position.Bias secondBias) Causes the portion of the view responsible for the given part of the model to be repainted.abstract intTextUI.getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.abstract RectangleTextUI.modelToView(JTextComponent t, int pos, Position.Bias bias) Deprecated.TextUI.modelToView2D(JTextComponent t, int pos, Position.Bias bias) Converts the given location in the model to a place in the view coordinate system.abstract intTextUI.viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn) Deprecated.intTextUI.viewToModel2D(JTextComponent t, Point2D pt, Position.Bias[] biasReturn) Provides a mapping from the view coordinate space to the logical coordinate space of the model. -
Uses of Position.Bias in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type Position.BiasModifier and TypeMethodDescriptionvoidBasicTextUI.damageRange(JTextComponent t, int p0, int p1, Position.Bias p0Bias, Position.Bias p1Bias) Causes the portion of the view responsible for the given part of the model to be repainted.intBasicTextUI.getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.BasicTextUI.modelToView(JTextComponent tc, int pos, Position.Bias bias) Deprecated.intBasicTextUI.viewToModel(JTextComponent tc, Point pt, Position.Bias[] biasReturn) Deprecated. -
Uses of Position.Bias in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi with parameters of type Position.BiasModifier and TypeMethodDescriptionvoidMultiTextUI.damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e) Invokes thedamageRangemethod on each UI handled by this object.intMultiTextUI.getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e) Invokes thegetNextVisualPositionFrommethod on each UI handled by this object.MultiTextUI.modelToView(JTextComponent a, int b, Position.Bias c) Deprecated.intMultiTextUI.viewToModel(JTextComponent a, Point b, Position.Bias[] c) Deprecated. -
Uses of Position.Bias in javax.swing.text
Fields in javax.swing.text declared as Position.BiasModifier and TypeFieldDescriptionstatic final Position.BiasPosition.Bias.BackwardIndicates a bias toward the previous character in the model.static final Position.BiasPosition.Bias.ForwardIndicates to bias toward the next character in the model.Methods in javax.swing.text that return Position.BiasModifier and TypeMethodDescriptionJTextComponent.DropLocation.getBias()Returns the bias for the drop index.DefaultCaret.getDotBias()Returns the bias of the caret position.DefaultCaret.getMarkBias()Returns the bias of the mark.Methods in javax.swing.text with parameters of type Position.BiasModifier and TypeMethodDescriptionprotected booleanBoxView.flipEastAndWestAtEnds(int position, Position.Bias bias) Determines in which direction the next view lays.protected booleanCompositeView.flipEastAndWestAtEnds(int position, Position.Bias bias) Determines in which direction the next view lays.protected booleanParagraphView.flipEastAndWestAtEnds(int position, Position.Bias bias) Determines in which direction the next view lays.protected intParagraphView.getClosestPositionTo(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x) Returns the closest model position tox.protected intCompositeView.getNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Returns the next visual position for the cursor, in either the east or west direction.protected intCompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Returns the next visual position for the cursor, in either the north or south direction.protected intParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Returns the next visual position for the cursor, in either the east or west direction.intAsyncBoxView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.intCompositeView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.intGlyphView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.intGlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location that one might place a caret.intNavigationFilter.getNextVisualPositionFrom(JTextComponent text, int pos, Position.Bias bias, int direction, Position.Bias[] biasRet) Returns the next visual position to place the caret at from an existing position.intView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location at which one might place a caret.intAsyncBoxView.getViewIndex(int pos, Position.Bias b) Returns the child view index representing the given position in the model.intCompositeView.getViewIndex(int pos, Position.Bias b) Returns the child view index representing the given position in the model.intView.getViewIndex(int pos, Position.Bias b) Returns the child view index representing the given position in the model.protected intAsyncBoxView.getViewIndexAtPosition(int pos, Position.Bias b) Fetches the child view index representing the given position in the model.AsyncBoxView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.BoxView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.ComponentView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the coordinate space of the model to that of the view.CompositeView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.CompositeView.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.FieldView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.abstract ShapeGlyphView.GlyphPainter.modelToView(GlyphView v, int pos, Position.Bias bias, Shape a) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.GlyphView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.IconView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.PasswordView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.PlainView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.abstract ShapeView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.View.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.voidDefaultCaret.moveDot(int dot, Position.Bias dotBias) Moves the caret position to the specified position, with the specified bias.abstract voidNavigationFilter.FilterBypass.moveDot(int dot, Position.Bias bias) Moves the caret location, bypassing the NavigationFilter.voidNavigationFilter.moveDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias) Invoked prior to the Caret moving the dot.voidDefaultCaret.setDot(int dot, Position.Bias dotBias) Sets the caret position and mark to the specified position, with the specified bias.abstract voidNavigationFilter.FilterBypass.setDot(int dot, Position.Bias bias) Sets the caret location, bypassing the NavigationFilter.voidNavigationFilter.setDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias) Invoked prior to the Caret setting the dot.intAsyncBoxView.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intBoxView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intComponentView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intCompositeView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intFieldView.viewToModel(float fx, float fy, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.abstract intGlyphView.GlyphPainter.viewToModel(GlyphView v, float x, float y, Shape a, Position.Bias[] biasReturn) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intGlyphView.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intIconView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intPasswordView.viewToModel(float fx, float fy, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.intPlainView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.abstract intView.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn) Provides a mapping from the view coordinate space to the logical coordinate space of the model. -
Uses of Position.Bias in javax.swing.text.html
Methods in javax.swing.text.html with parameters of type Position.BiasModifier and TypeMethodDescriptionImageView.modelToView(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.intImageView.viewToModel(float x, float y, Shape a, Position.Bias[] bias) Provides a mapping from the view coordinate space to the logical coordinate space of the model.
TextUI.modelToView2D(JTextComponent, int, Position.Bias)