Class TextSelectionInfo

java.lang.Object
org.eclnt.util.valuemgmt.TextSelectionInfo

public class TextSelectionInfo extends Object
Information about selected text of a FIELD/TEXTAREA/TEXTEDITOR
  • 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.