Package org.eclnt.util.valuemgmt
Class TextSelectionInfo
java.lang.Object
org.eclnt.util.valuemgmt.TextSelectionInfo
Information about selected text of a FIELD/TEXTAREA/TEXTEDITOR
-
Constructor Summary
ConstructorsConstructorDescriptionTextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd) TextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd, int left, int top, int height) -
Method Summary
Modifier and TypeMethodDescriptionintintPixel height of text at start position.intgetLeft()Pixel left position.intintintgetTop()Pixel top position.voidsetCaretPosition(int caretPosition) voidsetSelectionEnd(int selectionEnd) voidsetSelectionStart(int selectionStart)
-
Constructor Details
-
TextSelectionInfo
public TextSelectionInfo() -
TextSelectionInfo
public TextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd) -
TextSelectionInfo
public TextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd, int left, int top, int height)
-
-
Method Details
-
getCaretPosition
public int getCaretPosition() -
setCaretPosition
public void setCaretPosition(int caretPosition) -
getSelectionStart
public int getSelectionStart() -
setSelectionStart
public void setSelectionStart(int selectionStart) -
getSelectionEnd
public int getSelectionEnd() -
setSelectionEnd
public void setSelectionEnd(int selectionEnd) -
getLeft
public int getLeft()Pixel left position. -
getTop
public int getTop()Pixel top position. -
getHeight
public int getHeight()Pixel height of text at start position.
-