| Package | Description |
|---|---|
| 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.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| Modifier and Type | Method and Description |
|---|---|
TreePath |
JTree.getNextMatch(String
Returns the TreePath to the next tree element that begins with a prefix.
|
int |
JList.getNextMatch(String
Returns the next list element whose
toString value starts with the given prefix.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
TextUI.damageRange(JTextComponent
Causes the portion of the view responsible for the given part of the model to be repainted.
|
abstract int |
TextUI.getNextVisualPositionFrom(JTextComponent
Provides a way to determine the next visually represented model location that one might place a caret.
|
abstract int |
TextUI.getNextVisualPositionFrom(JTextComponent
Provides a way to determine the next visually represented model location that one might place a caret.
|
abstract Rectangle |
TextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
abstract int |
TextUI.viewToModel(JTextComponent
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicTextUI.damageRange(JTextComponent
Causes the portion of the view responsible for the given part of the model to be repainted.
|
int |
BasicTextUI.getNextVisualPositionFrom(JTextComponent
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
BasicTextUI.getNextVisualPositionFrom(JTextComponent
Provides a way to determine the next visually represented model location that one might place a caret.
|
Rectangle |
BasicTextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
int |
BasicTextUI.viewToModel(JTextComponent
Converts the given place in the view coordinate system to the nearest representative location in the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiTextUI.damageRange(JTextComponent
Invokes the
damageRange method on each UI handled by this object.
|
int |
MultiTextUI.getNextVisualPositionFrom(JTextComponent
Invokes the
getNextVisualPositionFrom method on each UI handled by this object.
|
int |
MultiTextUI.getNextVisualPositionFrom(JTextComponent
Invokes the
getNextVisualPositionFrom method on each UI handled by this object.
|
Rectangle |
MultiTextUI.modelToView(JTextComponent
Invokes the
modelToView method on each UI handled by this object.
|
int |
MultiTextUI.viewToModel(JTextComponent
Invokes the
viewToModel method on each UI handled by this object.
|
| Modifier and Type | Field and Description |
|---|---|
static Position |
Position.Bias.Backward
Indicates a bias toward the previous character in the model.
|
static Position |
Position.Bias.Forward
Indicates to bias toward the next character in the model.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
JTextComponent.DropLocation.getBias()
Returns the bias for the drop index.
|
Position |
DefaultCaret.getDotBias()
Returns the bias of the caret position.
|
Position |
DefaultCaret.getMarkBias()
Returns the bias of the mark.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ParagraphView.flipEastAndWestAtEnds(int position, Position
Determines in which direction the next view lays.
|
protected boolean |
BoxView.flipEastAndWestAtEnds(int position, Position
Determines in which direction the next view lays.
|
protected boolean |
CompositeView.flipEastAndWestAtEnds(int position, Position
Determines in which direction the next view lays.
|
protected int |
ParagraphView.getClosestPositionTo(int pos, Position
Returns the closest model position to
x.
|
protected int |
ParagraphView.getClosestPositionTo(int pos, Position
Returns the closest model position to
x.
|
protected int |
CompositeView.getNextEastWestVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
CompositeView.getNextEastWestVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the east or west direction.
|
protected int |
CompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the north or south direction.
|
protected int |
CompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position
Returns the next visual position for the cursor, in either the north or south direction.
|
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
GlyphView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
GlyphView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
CompositeView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
CompositeView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
View.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location at which one might place a caret.
|
int |
View.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location at which one might place a caret.
|
int |
AsyncBoxView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
AsyncBoxView.getNextVisualPositionFrom(int pos, Position
Provides a way to determine the next visually represented model location that one might place a caret.
|
int |
NavigationFilter.getNextVisualPositionFrom(JTextComponent
Returns the next visual position to place the caret at from an existing position.
|
int |
NavigationFilter.getNextVisualPositionFrom(JTextComponent
Returns the next visual position to place the caret at from an existing position.
|
int |
CompositeView.getViewIndex(int pos, Position
Returns the child view index representing the given position in the model.
|
int |
View.getViewIndex(int pos, Position
Returns the child view index representing the given position in the model.
|
int |
AsyncBoxView.getViewIndex(int pos, Position
Returns the child view index representing the given position in the model.
|
protected int |
AsyncBoxView.getViewIndexAtPosition(int pos, Position
Fetches the child view index representing the given position in the model.
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
CompositeView.modelToView(int p0, Position
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
View.modelToView(int p0, Position
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.
|
Shape |
GlyphView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
BoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
IconView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
PlainView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
ComponentView.modelToView(int pos, Shape
Provides a mapping from the coordinate space of the model to that of the view.
|
Shape |
CompositeView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
abstract Shape |
View.modelToView(int pos, Shape
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.
|
Shape |
PasswordView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
FieldView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
Shape |
AsyncBoxView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
void |
DefaultCaret.moveDot(int dot, Position
Moves the caret position to the specified position, with the specified bias.
|
abstract void |
NavigationFilter.FilterBypass.moveDot(int dot, Position
Moves the caret location, bypassing the NavigationFilter.
|
void |
NavigationFilter.moveDot(NavigationFilter
Invoked prior to the Caret moving the dot.
|
void |
DefaultCaret.setDot(int dot, Position
Sets the caret position and mark to the specified position, with the specified bias.
|
abstract void |
NavigationFilter.FilterBypass.setDot(int dot, Position
Sets the caret location, bypassing the NavigationFilter.
|
void |
NavigationFilter.setDot(NavigationFilter
Invoked prior to the Caret setting the dot.
|
int |
GlyphView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
BoxView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
IconView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
PlainView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
ComponentView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
CompositeView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
abstract int |
View.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
PasswordView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
FieldView.viewToModel(float fx, float fy, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
int |
AsyncBoxView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
ImageView.modelToView(int pos, Shape
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
int |
ImageView.viewToModel(float x, float y, Shape
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|