libgdx API

com.badlogic.gdx.utils
Interface Clipboard


public interface Clipboard

A very simple clipboard interface for text content.

Author:
mzechner

Method Summary
 java.lang.String getContents()
          gets the current content of the clipboard if it contains text
 void setContents(java.lang.String content)
          Sets the content of the system clipboard.
 

Method Detail

getContents

java.lang.String getContents()
gets the current content of the clipboard if it contains text

Returns:
the clipboard content or null

setContents

void setContents(java.lang.String content)
Sets the content of the system clipboard.

Parameters:
content - the content

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)