|
JSR-209 (Final Release) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JTextComponent | |
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
Uses of JTextComponent in javax.swing |
Subclasses of JTextComponent in javax.swing | |
class |
JEditorPane
A text component to edit various kinds of content. |
class |
JFormattedTextField
JFormattedTextField extends JTextField adding
support for formatting arbitrary values, as well as retrieving a particular
object once the user has edited the text. |
class |
JPasswordField
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 |
JTextArea
A JTextArea is a multi-line area that displays plain text. |
class |
JTextField
JTextField is a lightweight component that allows the editing
of a single line of text. |
class |
JTextPane
A text component that can be marked up with attributes that are represented graphically. |
Uses of JTextComponent in javax.swing.text |
Methods in javax.swing.text with parameters of type JTextComponent | |
int |
NavigationFilter.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. |
void |
Highlighter.install(JTextComponent c)
Called when the UI is being installed into the interface of a JTextComponent. |
void |
Highlighter.deinstall(JTextComponent c)
Called when the UI is being removed from the interface of a JTextComponent. |
void |
Highlighter.HighlightPainter.paint(java.awt.Graphics g,
int p0,
int p1,
Shape bounds,
JTextComponent c)
Renders the highlight. |
void |
Caret.install(JTextComponent c)
Called when the UI is being installed into the interface of a JTextComponent. |
void |
Caret.deinstall(JTextComponent c)
Called when the UI is being removed from the interface of a JTextComponent. |
|
JSR-209 (Final Release) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |