guicomponents

## Class GClip

- java.lang.Object
- - guicomponents.GClip

- All Implemented Interfaces:
    ClipboardOwner

      public class GClip
      extends Object
      implements ClipboardOwner

  CLASS FOR INTERNAL USE ONLY This provides clipboard functionality for text and is currently only used by the GTextField class.
  Author:
    Peter Lager

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `copy(String chars)` Copy a string to the clipboard
    `void` | `lostOwnership(Clipboard clipboard, Transferable contents)` Reqd by ClipboardOwner interface
    `static String` | `paste()` Get a string from the clipboard

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

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

- - ### Method Detail

    - #### copy

          public static boolean copy(String chars)

      Copy a string to the clipboard
      Parameters:
        `chars` -

    - #### paste

          public static String paste()

      Get a string from the clipboard
      Returns:
        the string on the clipboard

    - #### lostOwnership

          public void lostOwnership(Clipboard clipboard,
                           Transferable contents)

      Reqd by ClipboardOwner interface
      Specified by:
        `lostOwnership` in interface `ClipboardOwner`

Processing library guicomponents by Peter Lager. (C) 2012