Spec-Zone
.ru
спецификации, руководства, описания, API
Class
Tree
Index
PREV NEXT
FRAMES
NO FRAMES
A
C
F
G
I
K
L
P
S
A
ActiveClient
- class
ActiveClient
.
Implements an integrated text input user interface.
ActiveClient(String)
- Constructor for class
ActiveClient
Constructs an ActiveClient.
C
cancelLatestCommittedText(AttributedCharacterIterator.Attribute[])
- Method in class
ActiveClient
Returns null to indicate that the "Undo Commit" feature is not supported by this simple text component.
caretPositionChanged(InputMethodEvent)
- Method in class
ActiveClient
Handles changes to the caret within composed text.
F
focusGained(FocusEvent)
- Method in class
LWTextComponent
Turns on drawing of the component's thicker frame and the caret.
focusLost(FocusEvent)
- Method in class
LWTextComponent
Turns off drawing of the component's thicker frame and the caret.
G
getCaret()
- Method in class
ActiveClient
Returns a text hit info indicating the current caret (insertion point).
getCaret()
- Method in class
LWTextComponent
Returns a text hit info indicating the current caret (insertion point).
getCaretRectangle()
- Method in class
LWTextComponent
Returns a 0-width caret rectangle.
getCaretRectangle(TextHitInfo)
- Method in class
LWTextComponent
Returns a 0-width caret rectangle for the given text index.
getCommittedText()
- Method in class
LWTextComponent
Returns the text that the user has entered and committed.
getCommittedText(int, int)
- Method in class
LWTextComponent
Returns a subrange of the text that the user has entered and committed.
getCommittedText(int, int, AttributedCharacterIterator.Attribute[])
- Method in class
ActiveClient
Gets an iterator providing access to the entire text and attributes contained in the text editing component except for uncommitted text.
getCommittedTextLength()
- Method in class
LWTextComponent
Returns the length of the text that the user has entered and committed.
getDisplayText()
- Method in class
ActiveClient
Returns the text that the user has entered.
getDisplayText()
- Method in class
LWTextComponent
Returns the text that the user has entered.
getInputMethodRequests()
- Method in class
ActiveClient
Implements getInputMethodRequests for ActiveClient by returning "this".
getInsertPositionOffset()
- Method in class
ActiveClient
Gets the offset of the insert position in the committed text contained in the text editing component.
getLocationOffset(int, int)
- Method in class
ActiveClient
Gets the offset within the composed text for the specified absolute x and y coordinates on the screen.
getSelectedText(AttributedCharacterIterator.Attribute[])
- Method in class
ActiveClient
Gets the currently selected text from the text editing component.
getTextLayout()
- Method in class
LWTextComponent
Returns a text layout for the text that the user has entered.
getTextLocation(TextHitInfo)
- Method in class
ActiveClient
Gets the location of a specified offset in the current composed text, or of the selection in committed text.
getTextOrigin()
- Method in class
LWTextComponent
Returns the origin of the text.
I
inputMethodTextChanged(InputMethodEvent)
- Method in class
ActiveClient
Handles changes to the text entered through an input method.
insertCharacter(char)
- Method in class
LWTextComponent
Inserts the given character at the end of the text.
invalidateTextLayout()
- Method in class
LWTextComponent
Invalidates the cached text layout.
K
keyPressed(KeyEvent)
- Method in class
LWTextComponent
Ignores key pressed events.
keyReleased(KeyEvent)
- Method in class
LWTextComponent
Ignores key released events.
keyTyped(KeyEvent)
- Method in class
LWTextComponent
Handles the key typed event.
L
LWTextComponent
- class
LWTextComponent
.
Implements a very simple lightweight text editing component.
LWTextComponent(String, boolean)
- Constructor for class
LWTextComponent
Constructs a LWTextComponent.
P
paint(Graphics)
- Method in class
LWTextComponent
Draws the component.
S
setFontSize(int)
- Method in class
ActiveClient
Adjusts composed text for new font size.
setFontSize(int)
- Method in class
LWTextComponent
A
C
F
G
I
K
L
P
S
Class
Tree
Index
PREV NEXT
FRAMES
NO FRAMES
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.