API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.im. InputMethodRequests View Source
Author(s)
JavaSoft Asia/Pacific
Since
1.2
Version
1.19, 11/17/05
Serial
Hierarchy
 InputMethodRequests
Subinterfaces
Description
public interface InputMethodRequests
  InputMethodRequests defines the requests that a text editing component has to handle in order to work with input methods.
Methods
Hide/Show inherited methods
public AttributedCharacterIterator cancelLatestCommittedText (Attribute attributes)
  Gets the latest committed text from the text editing component and removes it from the component's text body.
public AttributedCharacterIterator getCommittedText (int beginIndex, int endIndex, Attribute attributes)
  Gets an iterator providing access to the entire text and attributes contained in the text editing component except for uncommitted text.
public int getCommittedTextLength ()
  Gets the length of the entire text contained in the text editing component except for uncommitted (composed) text.
public int getInsertPositionOffset ()
  Gets the offset of the insert position in the committed text contained in the text editing component.
public TextHitInfo getLocationOffset (int x, int y)
  Gets the offset within the composed text for the specified absolute x and y coordinates on the screen.
public AttributedCharacterIterator getSelectedText (Attribute attributes)
  Gets the currently selected text from the text editing component.
public Rectangle getTextLocation (TextHitInfo offset)
  Gets the location of a specified offset in the current composed text, or of the selection in committed text.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar