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:10 CET 2013 -->
6
<TITLE>
7
DelegateAction (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="DelegateAction (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/DelegateAction.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/scenes/scene2d/actions/DelayAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/FloatAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="DelegateAction.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.scenes.scene2d.actions</FONT>
107
<BR>
108
Class DelegateAction</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">com.badlogic.gdx.scenes.scene2d.Action</A>
112
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.scenes.scene2d.actions.DelegateAction</B>
113
</PRE>
114
<DL>
115
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/badlogic/gdx/utils/Pool.Poolable.html" title="interface in com.badlogic.gdx.utils">Pool.Poolable</A></DD>
116
</DL>
117
<DL>
118
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/AfterAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions">AfterAction</A>, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelayAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions">DelayAction</A>, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/RepeatAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions">RepeatAction</A></DD>
119
</DL>
120
<HR>
121
<DL>
122
<DT><PRE>public abstract class <B>DelegateAction</B><DT>extends <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></DL>
123
</PRE>
124
 
125
<P>
126
Base class for an action that wraps another action.
127
<P>
128
 
129
<P>
130
<DL>
131
<DT><B>Author:</B></DT>
132
  <DD>Nathan Sweet</DD>
133
</DL>
134
<HR>
135
 
136
<P>
137
<!-- =========== FIELD SUMMARY =========== -->
138
 
139
<A NAME="field_summary"><!-- --></A>
140
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143
<B>Field Summary</B></FONT></TH>
144
</TR>
145
<TR BGCOLOR="white" CLASS="TableRowColor">
146
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147
<CODE>protected &nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></FONT></TD>
148
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#action">action</A></B></CODE>
149
 
150
<BR>
151
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
152
</TR>
153
</TABLE>
154
&nbsp;<A NAME="fields_inherited_from_class_com.badlogic.gdx.scenes.scene2d.Action"><!-- --></A>
155
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157
<TH ALIGN="left"><B>Fields inherited from class com.badlogic.gdx.scenes.scene2d.<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></B></TH>
158
</TR>
159
<TR BGCOLOR="white" CLASS="TableRowColor">
160
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#actor">actor</A></CODE></TD>
161
</TR>
162
</TABLE>
163
&nbsp;
164
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
165
 
166
<A NAME="constructor_summary"><!-- --></A>
167
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
170
<B>Constructor Summary</B></FONT></TH>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#DelegateAction()">DelegateAction</A></B>()</CODE>
174
 
175
<BR>
176
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
177
</TR>
178
</TABLE>
179
&nbsp;
180
<!-- ========== METHOD SUMMARY =========== -->
181
 
182
<A NAME="method_summary"><!-- --></A>
183
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
186
<B>Method Summary</B></FONT></TH>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#getAction()">getAction</A></B>()</CODE>
192
 
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>&nbsp;void</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#reset()">reset</A></B>()</CODE>
200
 
201
<BR>
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the optional state of this action to as if it were newly created, allowing the action to be pooled and reused.</TD>
203
</TR>
204
<TR BGCOLOR="white" CLASS="TableRowColor">
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
<CODE>&nbsp;void</CODE></FONT></TD>
207
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#restart()">restart</A></B>()</CODE>
208
 
209
<BR>
210
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the state of the action so it can be run again.</TD>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE>&nbsp;void</CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#setAction(com.badlogic.gdx.scenes.scene2d.Action)">setAction</A></B>(<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A>&nbsp;action)</CODE>
216
 
217
<BR>
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the wrapped action.</TD>
219
</TR>
220
<TR BGCOLOR="white" CLASS="TableRowColor">
221
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222
<CODE>&nbsp;void</CODE></FONT></TD>
223
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#setActor(com.badlogic.gdx.scenes.scene2d.Actor)">setActor</A></B>(<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Actor.html" title="class in com.badlogic.gdx.scenes.scene2d">Actor</A>&nbsp;actor)</CODE>
224
 
225
<BR>
226
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the actor this action will be used for.</TD>
227
</TR>
228
<TR BGCOLOR="white" CLASS="TableRowColor">
229
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
231
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html#toString()">toString</A></B>()</CODE>
232
 
233
<BR>
234
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
235
</TR>
236
</TABLE>
237
&nbsp;<A NAME="methods_inherited_from_class_com.badlogic.gdx.scenes.scene2d.Action"><!-- --></A>
238
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
239
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
240
<TH ALIGN="left"><B>Methods inherited from class com.badlogic.gdx.scenes.scene2d.<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></B></TH>
241
</TR>
242
<TR BGCOLOR="white" CLASS="TableRowColor">
243
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#act(float)">act</A>, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#getActor()">getActor</A>, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#getPool()">getPool</A>, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#setPool(com.badlogic.gdx.utils.Pool)">setPool</A></CODE></TD>
244
</TR>
245
</TABLE>
246
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
247
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
248
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
249
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
250
</TR>
251
<TR BGCOLOR="white" CLASS="TableRowColor">
252
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
253
</TR>
254
</TABLE>
255
&nbsp;
256
<P>
257
 
258
<!-- ============ FIELD DETAIL =========== -->
259
 
260
<A NAME="field_detail"><!-- --></A>
261
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
262
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
263
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
264
<B>Field Detail</B></FONT></TH>
265
</TR>
266
</TABLE>
267
 
268
<A NAME="action"><!-- --></A><H3>
269
action</H3>
270
<PRE>
271
protected <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A> <B>action</B></PRE>
272
<DL>
273
<DL>
274
</DL>
275
</DL>
276
 
277
<!-- ========= CONSTRUCTOR DETAIL ======== -->
278
 
279
<A NAME="constructor_detail"><!-- --></A>
280
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283
<B>Constructor Detail</B></FONT></TH>
284
</TR>
285
</TABLE>
286
 
287
<A NAME="DelegateAction()"><!-- --></A><H3>
288
DelegateAction</H3>
289
<PRE>
290
public <B>DelegateAction</B>()</PRE>
291
<DL>
292
</DL>
293
 
294
<!-- ============ METHOD DETAIL ========== -->
295
 
296
<A NAME="method_detail"><!-- --></A>
297
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
298
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
299
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
300
<B>Method Detail</B></FONT></TH>
301
</TR>
302
</TABLE>
303
 
304
<A NAME="setAction(com.badlogic.gdx.scenes.scene2d.Action)"><!-- --></A><H3>
305
setAction</H3>
306
<PRE>
307
public void <B>setAction</B>(<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A>&nbsp;action)</PRE>
308
<DL>
309
<DD>Sets the wrapped action.
310
<P>
311
<DD><DL>
312
</DL>
313
</DD>
314
</DL>
315
<HR>
316
 
317
<A NAME="getAction()"><!-- --></A><H3>
318
getAction</H3>
319
<PRE>
320
public <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A> <B>getAction</B>()</PRE>
321
<DL>
322
<DD><DL>
323
</DL>
324
</DD>
325
</DL>
326
<HR>
327
 
328
<A NAME="restart()"><!-- --></A><H3>
329
restart</H3>
330
<PRE>
331
public void <B>restart</B>()</PRE>
332
<DL>
333
<DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#restart()">Action</A></CODE></B></DD>
334
<DD>Sets the state of the action so it can be run again.
335
<P>
336
<DD><DL>
337
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#restart()">restart</A></CODE> in class <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></DL>
338
</DD>
339
<DD><DL>
340
</DL>
341
</DD>
342
</DL>
343
<HR>
344
 
345
<A NAME="reset()"><!-- --></A><H3>
346
reset</H3>
347
<PRE>
348
public void <B>reset</B>()</PRE>
349
<DL>
350
<DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#reset()">Action</A></CODE></B></DD>
351
<DD>Resets the optional state of this action to as if it were newly created, allowing the action to be pooled and reused. State
352
 required to be set for every usage of this action or computed during the action does not need to be reset.
353
 <p>
354
 The default implementation calls <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#restart()"><CODE>Action.restart()</CODE></A>.
355
 <p>
356
 If a subclass has optional state, it must override this method, call super, and reset the optional state.
357
<P>
358
<DD><DL>
359
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/badlogic/gdx/utils/Pool.Poolable.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../../../com/badlogic/gdx/utils/Pool.Poolable.html" title="interface in com.badlogic.gdx.utils">Pool.Poolable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></DL>
360
</DD>
361
<DD><DL>
362
</DL>
363
</DD>
364
</DL>
365
<HR>
366
 
367
<A NAME="setActor(com.badlogic.gdx.scenes.scene2d.Actor)"><!-- --></A><H3>
368
setActor</H3>
369
<PRE>
370
public void <B>setActor</B>(<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Actor.html" title="class in com.badlogic.gdx.scenes.scene2d">Actor</A>&nbsp;actor)</PRE>
371
<DL>
372
<DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#setActor(com.badlogic.gdx.scenes.scene2d.Actor)">Action</A></CODE></B></DD>
373
<DD>Sets the actor this action will be used for. This is called automatically when an action is added to an actor. This is also
374
 called with null when an action is removed from an actor. When set to null, if the action has a <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#setPool(com.badlogic.gdx.utils.Pool)"><CODE>pool</CODE></A>
375
 then the action is <A HREF="../../../../../../com/badlogic/gdx/utils/Pool.html#free(T)"><CODE>returned</CODE></A> to the pool (which calls <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#reset()"><CODE>Action.reset()</CODE></A>) and the pool is set to null.
376
 If the action does not have a pool, <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#reset()"><CODE>Action.reset()</CODE></A> is called.
377
 <p>
378
 This method is not typically a good place for a subclass to query the actor's state because the action may not be executed
379
 for some time, eg it may be <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelayAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><CODE>delayed</CODE></A>. The actor's state is best queried in the first call to
380
 <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#act(float)"><CODE>Action.act(float)</CODE></A>. For a <A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/TemporalAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><CODE>TemporalAction</CODE></A>, use TemporalAction#begin().
381
<P>
382
<DD><DL>
383
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#setActor(com.badlogic.gdx.scenes.scene2d.Actor)">setActor</A></CODE> in class <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></DL>
384
</DD>
385
<DD><DL>
386
</DL>
387
</DD>
388
</DL>
389
<HR>
390
 
391
<A NAME="toString()"><!-- --></A><H3>
392
toString</H3>
393
<PRE>
394
public java.lang.String <B>toString</B>()</PRE>
395
<DL>
396
<DD><DL>
397
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/Action.html" title="class in com.badlogic.gdx.scenes.scene2d">Action</A></CODE></DL>
398
</DD>
399
<DD><DL>
400
</DL>
401
</DD>
402
</DL>
403
<!-- ========= END OF CLASS DATA ========= -->
404
<HR>
405
 
406
 
407
<!-- ======= START OF BOTTOM NAVBAR ====== -->
408
<A NAME="navbar_bottom"><!-- --></A>
409
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
410
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
411
<TR>
412
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
413
<A NAME="navbar_bottom_firstrow"><!-- --></A>
414
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
415
  <TR ALIGN="center" VALIGN="top">
416
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
417
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
418
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
419
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DelegateAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
420
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
421
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
422
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
423
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
424
  </TR>
425
</TABLE>
426
</TD>
427
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
428
libgdx API</EM>
429
</TD>
430
</TR>
431
 
432
<TR>
433
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
434
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/DelayAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><B>PREV CLASS</B></A>&nbsp;
435
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/actions/FloatAction.html" title="class in com.badlogic.gdx.scenes.scene2d.actions"><B>NEXT CLASS</B></A></FONT></TD>
436
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
437
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/actions/DelegateAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
438
&nbsp;<A HREF="DelegateAction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
439
&nbsp;<SCRIPT type="text/javascript">
440
  <!--
441
  if(window==top) {
442
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
443
  }
444
  //-->
445
</SCRIPT>
446
<NOSCRIPT>
447
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
448
</NOSCRIPT>
449
 
450
 
451
</FONT></TD>
452
</TR>
453
<TR>
454
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
455
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
456
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
457
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
458
</TR>
459
</TABLE>
460
<A NAME="skip-navbar_bottom"></A>
461
<!-- ======== END OF BOTTOM NAVBAR ======= -->
462
 
463
<HR>
464
 
465
                                <div style="font-size:9pt"><i>
466
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
467
                                </i></div>
468
 
469
</BODY>
470
</HTML>