Class TextUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
- Direct Known Subclasses:
BasicTextUI
,MultiTextUI
Text editor user interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
damageRange
(JTextComponent t, int p0, int p1) Causes the portion of the view responsible for the given part of the model to be repainted.abstract void
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 EditorKit
Fetches the binding of services that set a policy for the type of document being edited.abstract int
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 View
Fetches a View with the allocation of the associated text component (i.e. the root of the hierarchy) that can be traversed to determine how the model is being represented spatially.getToolTipText
(JTextComponent t, Point pt) Deprecated.Returns the string to be used as the tooltip at the passed in location.abstract Rectangle
modelToView
(JTextComponent t, int pos) Deprecated.abstract Rectangle
modelToView
(JTextComponent t, int pos, Position.Bias bias) Deprecated.replaced by
getToolTipText2D(JTextComponent, Point2D)