org.eclnt.util.valuemgmt

## Class TextSelectionInfo

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

-     public class TextSelectionInfo
      extends java.lang.Object

  Information about selected text of a FIELD/TEXTAREA/TEXTEDITOR

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextSelectionInfo()`
    `TextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd)`
    `TextSelectionInfo(int caretPosition, int selectionStart, int selectionEnd, int left, int top, int height)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCaretPosition()`
    `int` | `getHeight()` Pixel height of text at start position.
    `int` | `getLeft()` Pixel left position.
    `int` | `getSelectionEnd()`
    `int` | `getSelectionStart()`
    `int` | `getTop()` Pixel top position.
    `void` | `setCaretPosition(int caretPosition)`
    `void` | `setSelectionEnd(int selectionEnd)`
    `void` | `setSelectionStart(int selectionStart)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### 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 Detail

    - #### 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.

Copyright © CaptainCasa Gmbh. All Rights Reserved.