Uses of Class
javax.swing.text.JTextComponent
Packages that use JTextComponent
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 classes and interfaces for dealing with
javax.swing.JTree
.-
Uses of JTextComponent in javax.swing
Subclasses of JTextComponent in javax.swingModifier and TypeClassDescriptionclass
A text component to edit various kinds of content.class
JFormattedTextField
extendsJTextField
adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.class
JPasswordField
is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.class
AJTextArea
is a multi-line area that displays plain text.class
JTextField
is a lightweight component that allows the editing of a single line of text.class
A text component that can be marked up with attributes that are represented graphically. -
Uses of JTextComponent in javax.swing.plaf
Methods in javax.swing.plaf with parameters of type JTextComponentModifier and TypeMethodDescriptionabstract void
TextUI.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
TextUI.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
TextUI.getEditorKit
(JTextComponent t) Fetches the binding of services that set a policy for the type of document being edited.abstract int
TextUI.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
TextUI.getRootView
(JTextComponent t) 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.TextUI.getToolTipText
(JTextComponent t, Point pt) Deprecated.TextUI.getToolTipText2D
(JTextComponent t, Point2D pt) Returns the string to be used as the tooltip at the passed in location.abstract Rectangle
TextUI.modelToView
(JTextComponent t, int pos) Deprecated.abstract Rectangle
TextUI.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 int
TextUI.viewToModel
(JTextComponent t, Point pt) Deprecated.abstract int
TextUI.viewToModel
(JTextComponent t, Point pt, Position.Bias[] biasReturn) Deprecated.int
TextUI.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 JTextComponent in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic that return JTextComponentModifier and TypeMethodDescriptionprotected final JTextComponent
BasicTextUI.getComponent()
Fetches the text component associated with this UI implementation.Methods in javax.swing.plaf.basic with parameters of type JTextComponentModifier and TypeMethodDescriptionvoid
BasicTextUI.damageRange
(JTextComponent tc, int p0, int p1) Causes the portion of the view responsible for the given part of the model to be repainted.void
BasicTextUI.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.BasicEditorPaneUI.getEditorKit
(JTextComponent tc) Fetches the EditorKit for the UI.BasicTextUI.getEditorKit
(JTextComponent tc) Fetches the EditorKit for the UI.int
BasicTextUI.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.getRootView
(JTextComponent tc) 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.BasicTextUI.getToolTipText
(JTextComponent t, Point pt) Returns the string to be used as the tooltip at the passed in location.BasicTextUI.modelToView
(JTextComponent tc, int pos) Deprecated.BasicTextUI.modelToView
(JTextComponent tc, int pos, Position.Bias bias) Deprecated.int
BasicTextUI.viewToModel
(JTextComponent tc, Point pt) Deprecated.int
BasicTextUI.viewToModel
(JTextComponent tc, Point pt, Position.Bias[] biasReturn) Deprecated. -
Uses of JTextComponent in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi with parameters of type
TextUI.getToolTipText2D(JTextComponent, Point2D)