Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:08 CET 2013 -->
6
<TITLE>
7
Clipboard (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Clipboard (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Clipboard.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/CharArray.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/DataInput.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../index.html?com/badlogic/gdx/utils/Clipboard.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Clipboard.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.utils</FONT>
107
<BR>
108
Interface Clipboard</H2>
109
<HR>
110
<DL>
111
<DT><PRE>public interface <B>Clipboard</B></DL>
112
</PRE>
113
 
114
<P>
115
A very simple clipboard interface for text content.
116
<P>
117
 
118
<P>
119
<DL>
120
<DT><B>Author:</B></DT>
121
  <DD>mzechner</DD>
122
</DL>
123
<HR>
124
 
125
<P>
126
 
127
<!-- ========== METHOD SUMMARY =========== -->
128
 
129
<A NAME="method_summary"><!-- --></A>
130
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133
<B>Method Summary</B></FONT></TH>
134
</TR>
135
<TR BGCOLOR="white" CLASS="TableRowColor">
136
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
138
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Clipboard.html#getContents()">getContents</A></B>()</CODE>
139
 
140
<BR>
141
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gets the current content of the clipboard if it contains text</TD>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145
<CODE>&nbsp;void</CODE></FONT></TD>
146
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Clipboard.html#setContents(java.lang.String)">setContents</A></B>(java.lang.String&nbsp;content)</CODE>
147
 
148
<BR>
149
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the content of the system clipboard.</TD>
150
</TR>
151
</TABLE>
152
&nbsp;
153
<P>
154
 
155
<!-- ============ METHOD DETAIL ========== -->
156
 
157
<A NAME="method_detail"><!-- --></A>
158
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
161
<B>Method Detail</B></FONT></TH>
162
</TR>
163
</TABLE>
164
 
165
<A NAME="getContents()"><!-- --></A><H3>
166
getContents</H3>
167
<PRE>
168
java.lang.String <B>getContents</B>()</PRE>
169
<DL>
170
<DD>gets the current content of the clipboard if it contains text
171
<P>
172
<DD><DL>
173
 
174
<DT><B>Returns:</B><DD>the clipboard content or null</DL>
175
</DD>
176
</DL>
177
<HR>
178
 
179
<A NAME="setContents(java.lang.String)"><!-- --></A><H3>
180
setContents</H3>
181
<PRE>
182
void <B>setContents</B>(java.lang.String&nbsp;content)</PRE>
183
<DL>
184
<DD>Sets the content of the system clipboard.
185
<P>
186
<DD><DL>
187
<DT><B>Parameters:</B><DD><CODE>content</CODE> - the content</DL>
188
</DD>
189
</DL>
190
<!-- ========= END OF CLASS DATA ========= -->
191
<HR>
192
 
193
 
194
<!-- ======= START OF BOTTOM NAVBAR ====== -->
195
<A NAME="navbar_bottom"><!-- --></A>
196
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
197
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
198
<TR>
199
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
200
<A NAME="navbar_bottom_firstrow"><!-- --></A>
201
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
202
  <TR ALIGN="center" VALIGN="top">
203
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
204
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
205
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
206
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Clipboard.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
207
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
208
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
209
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
210
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
211
  </TR>
212
</TABLE>
213
</TD>
214
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
215
libgdx API</EM>
216
</TD>
217
</TR>
218
 
219
<TR>
220
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
221
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/CharArray.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
222
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/DataInput.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD>
223
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
224
  <A HREF="../../../../index.html?com/badlogic/gdx/utils/Clipboard.html" target="_top"><B>FRAMES</B></A>  &nbsp;
225
&nbsp;<A HREF="Clipboard.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
226
&nbsp;<SCRIPT type="text/javascript">
227
  <!--
228
  if(window==top) {
229
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
230
  }
231
  //-->
232
</SCRIPT>
233
<NOSCRIPT>
234
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
235
</NOSCRIPT>
236
 
237
 
238
</FONT></TD>
239
</TR>
240
<TR>
241
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
242
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
243
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
244
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
245
</TR>
246
</TABLE>
247
<A NAME="skip-navbar_bottom"></A>
248
<!-- ======== END OF BOTTOM NAVBAR ======= -->
249
 
250
<HR>
251
 
252
                                <div style="font-size:9pt"><i>
253
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
254
                                </i></div>
255
 
256
</BODY>
257
</HTML>