Package docking.widgets.textfield

# Class TextFieldLinker.FieldState

java.lang.Object
docking.widgets.textfield.TextFieldLinker.FieldState

Enclosing class:
  TextFieldLinker

protected class TextFieldLinker.FieldState extends Object
The current state of a linked field, stored separately from the actual component

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected int`
  `caret`
  `protected String`
  `text`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `FieldState()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `clampedCaret()`
  `protected TextFieldLinker.FieldState`
  `copy()`
  `boolean`
  `equals(Object obj)`
  `String`
  `toString()`

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

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

- ## Field Details

  - ### text

    protected String text

  - ### caret

    protected int caret

- ## Constructor Details

  - ### FieldState

    protected FieldState()

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### copy

    protected TextFieldLinker.FieldState copy()

  - ### clampedCaret

    public int clampedCaret()