Package limn.backend

Interface Clipboard


public interface Clipboard
System clipboard (UTF-8 text). The LWJGL backend maps it to glfwGet/SetClipboardString; tests inject mocks.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Clipboard
    No-op clipboard for headless scenes/tests that never touch it.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    void
    set(String text)
     
  • Field Details

    • NONE

      static final Clipboard NONE
      No-op clipboard for headless scenes/tests that never touch it.
  • Method Details

    • get

      String get()
      Returns:
      the clipboard text (empty string when unavailable, never null)
    • set

      void set(String text)