Class CharEvent

java.lang.Object
limn.scene.event.InputEvent
limn.scene.event.CharEvent

public final class CharEvent extends InputEvent
Committed text input (one code point), routed like KeyEvent.
  • Constructor Details

    • CharEvent

      public CharEvent(int codepoint)
      One committed character; a surrogate pair arrives as a single code point.
  • Method Details

    • codepoint

      public int codepoint()
      The committed code point, not a UTF-16 unit.
    • toString

      public String toString()
      Overrides:
      toString in class Object