| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.event |
Provides interfaces and classes for dealing with different types of events fired by AWT components.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.im |
Provides classes and interfaces for the input method framework.
|
| java.awt.im.spi |
Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
|
| java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Graphics2D.drawString(AttributedCharacterIterator
Renders the text of the specified iterator applying its attributes in accordance with the specification of the
TextAttribute class.
|
abstract void |
Graphics.drawString(AttributedCharacterIterator
Renders the text of the specified iterator applying its attributes in accordance with the specification of the
TextAttribute class.
|
abstract void |
Graphics2D.drawString(AttributedCharacterIterator
Renders the text of the specified iterator applying its attributes in accordance with the specification of the
TextAttribute class.
|
| Modifier and Type | Method and Description |
|---|---|
AttributedCharacterIterator |
InputMethodEvent.getText()
Gets the combined committed and composed text.
|
| Constructor and Description | |
|---|---|
InputMethodEvent(Component
Constructs an
InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.
|
|
InputMethodEvent(Component
Constructs an
InputMethodEvent with the specified source component, type, time, text, caret, and visiblePosition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LineBreakMeasurer.deleteChar(AttributedCharacterIterator
Updates this
LineBreakMeasurer after a single character is deleted from the text, and sets the current position to the beginning of the paragraph.
|
void |
TextMeasurer.deleteChar(AttributedCharacterIterator
Updates the
TextMeasurer after a single character has been deleted from the paragraph currently represented by this
TextMeasurer.
|
void |
LineBreakMeasurer.insertChar(AttributedCharacterIterator
Updates this
LineBreakMeasurer after a single character is inserted into the text, and sets the current position to the beginning of the paragraph.
|
void |
TextMeasurer.insertChar(AttributedCharacterIterator
Updates the
TextMeasurer after a single character has been inserted into the paragraph currently represented by this
TextMeasurer.
|
| Constructor and Description | |
|---|---|
LineBreakMeasurer(AttributedCharacterIterator
Constructs a
LineBreakMeasurer for the specified text.
|
|
LineBreakMeasurer(AttributedCharacterIterator
Constructs a
LineBreakMeasurer for the specified text.
|
|
TextLayout(AttributedCharacterIterator
Constructs a
TextLayout from an iterator over styled text.
|
|
TextMeasurer(AttributedCharacterIterator
Constructs a
TextMeasurer from the source text.
|
| Modifier and Type | Method and Description |
|---|---|
AttributedCharacterIterator |
InputMethodRequests.cancelLatestCommittedText(AttributedCharacterIterator
Gets the latest committed text from the text editing component and removes it from the component's text body.
|
AttributedCharacterIterator |
InputMethodRequests.getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator
Gets an iterator providing access to the entire text and attributes contained in the text editing component except for uncommitted text.
|
AttributedCharacterIterator |
InputMethodRequests.getSelectedText(AttributedCharacterIterator
Gets the currently selected text from the text editing component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InputMethodContext.dispatchInputMethodEvent(int id, AttributedCharacterIterator
Creates an input method event from the arguments given and dispatches it to the client component.
|
| Modifier and Type | Method and Description |
|---|---|
AttributedCharacterIterator |
MessageFormat.formatToCharacterIterator(Object
Formats an array of objects and inserts them into the
MessageFormat's pattern, producing an
AttributedCharacterIterator.
|
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object
Formats an Object producing an
AttributedCharacterIterator.
|
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object
Formats an Object producing an
AttributedCharacterIterator.
|
AttributedCharacterIterator |
SimpleDateFormat.formatToCharacterIterator(Object
Formats an Object producing an
AttributedCharacterIterator.
|
AttributedCharacterIterator |
AttributedString.getIterator()
Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.
|
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator
Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.
|
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator
Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.
|
| Constructor and Description | |
|---|---|
AttributedString(AttributedCharacterIterator
Constructs an AttributedString instance with the given attributed text represented by AttributedCharacterIterator.
|
|
AttributedString(AttributedCharacterIterator
Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.
|
|
AttributedString(AttributedCharacterIterator
Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.
|
|
Bidi(AttributedCharacterIterator
Create Bidi from the given paragraph of text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DebugGraphics.drawString(AttributedCharacterIterator
Overrides
Graphics.drawString.
|