Interface ISpecificCaretPosition

All Known Implementing Classes:
JFormattedTextFieldSCP, JTextFieldWithSCP

public interface ISpecificCaretPosition
Interface with the prototype of methods to have a component with an specific caret position
Author:
Pablo Piqueras Bartolomé (p_queras@hotmail.com)
  • Field Details

  • Method Details

    • getCaretPositionMode

      int getCaretPositionMode()
      Gets the position of text that will be seen
      Returns:
      The position of text that will be seen (LEFT_POSITIONS, RIGHT_POSITIONS or LIKE_JTEXTCOMPONENT)
    • setCaretPositionMode

      void setCaretPositionMode(int caretPositionMode)
      Sets the position of text that will be seen
      Parameters:
      caretPositionMode - The position of text that will be seen (LEFT_POSITIONS, RIGHT_POSITIONS or LIKE_JTEXTCOMPONENT)