PageRenderTime 40ms CodeModel.GetById 26ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/org/mt4j/input/gestureAction/DefaultScaleAction.html

http://mt4j.googlecode.com/
HTML | 332 lines | 272 code | 38 blank | 22 comment | 0 complexity | 9eb1cc5e84684474a7d5b99a92a8b9dc MD5 | raw file
  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_20) on Thu Aug 12 23:36:10 CEST 2010 -->
  6<TITLE>
  7DefaultScaleAction
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2010-08-12">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    if (location.href.indexOf('is-external=true') == -1) {
 18        parent.document.title="DefaultScaleAction";
 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/DefaultScaleAction.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-files/index-1.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</EM>
 53</TD>
 54</TR>
 55
 56<TR>
 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 58&nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultRotateAction.html" title="class in org.mt4j.input.gestureAction"><B>PREV CLASS</B></A>&nbsp;
 59&nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultSvgButtonClickAction.html" title="class in org.mt4j.input.gestureAction"><B>NEXT CLASS</B></A></FONT></TD>
 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 61  <A HREF="../../../../index.html?org/mt4j/input/gestureAction/DefaultScaleAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 62&nbsp;<A HREF="DefaultScaleAction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 63&nbsp;<SCRIPT type="text/javascript">
 64  <!--
 65  if(window==top) {
 66    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 67  }
 68  //-->
 69</SCRIPT>
 70<NOSCRIPT>
 71  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 72</NOSCRIPT>
 73
 74
 75</FONT></TD>
 76</TR>
 77<TR>
 78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 82</TR>
 83</TABLE>
 84<A NAME="skip-navbar_top"></A>
 85<!-- ========= END OF TOP NAVBAR ========= -->
 86
 87<HR>
 88<!-- ======== START OF CLASS DATA ======== -->
 89<H2>
 90<FONT SIZE="-1">
 91org.mt4j.input.gestureAction</FONT>
 92<BR>
 93Class DefaultScaleAction</H2>
 94<PRE>
 95java.lang.Object
 96  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mt4j.input.gestureAction.DefaultScaleAction</B>
 97</PRE>
 98<DL>
 99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>DefaultScaleAction</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></DL>
104</PRE>
105
106<P>
107The Class DefaultScaleAction.
108<P>
109
110<P>
111<DL>
112<DT><B>Author:</B></DT>
113  <DD>Christopher Ruff</DD>
114</DL>
115<HR>
116
117<P>
118
119<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121<A NAME="constructor_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Constructor Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultScaleAction.html#DefaultScaleAction()">DefaultScaleAction</A></B>()</CODE>
129
130<BR>
131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new default scale action.</TD>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultScaleAction.html#DefaultScaleAction(float, float)">DefaultScaleAction</A></B>(float&nbsp;minScaleFactor,
135                   float&nbsp;maxScaleFactor)</CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new default scale action.</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultScaleAction.html#DefaultScaleAction(org.mt4j.components.interfaces.IMTComponent3D)">DefaultScaleAction</A></B>(<A HREF="../../../../org/mt4j/components/interfaces/IMTComponent3D.html" title="interface in org.mt4j.components.interfaces">IMTComponent3D</A>&nbsp;customTarget)</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new default scale action.</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultScaleAction.html#DefaultScaleAction(org.mt4j.components.interfaces.IMTComponent3D, float, float)">DefaultScaleAction</A></B>(<A HREF="../../../../org/mt4j/components/interfaces/IMTComponent3D.html" title="interface in org.mt4j.components.interfaces">IMTComponent3D</A>&nbsp;customTarget,
148                   float&nbsp;minScaleFactor,
149                   float&nbsp;maxScaleFactor)</CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instantiates a new default scale action.</TD>
153</TR>
154</TABLE>
155&nbsp;
156<!-- ========== METHOD SUMMARY =========== -->
157
158<A NAME="method_summary"><!-- --></A>
159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
162<B>Method Summary</B></FONT></TH>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>&nbsp;boolean</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../org/mt4j/input/gestureAction/DefaultScaleAction.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">processGestureEvent</A></B>(<A HREF="../../../../org/mt4j/input/inputProcessors/MTGestureEvent.html" title="class in org.mt4j.input.inputProcessors">MTGestureEvent</A>&nbsp;g)</CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process gesture event.</TD>
171</TR>
172</TABLE>
173&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
174<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
176<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
180</TR>
181</TABLE>
182&nbsp;
183<P>
184
185<!-- ========= CONSTRUCTOR DETAIL ======== -->
186
187<A NAME="constructor_detail"><!-- --></A>
188<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
190<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
191<B>Constructor Detail</B></FONT></TH>
192</TR>
193</TABLE>
194
195<A NAME="DefaultScaleAction()"><!-- --></A><H3>
196DefaultScaleAction</H3>
197<PRE>
198public <B>DefaultScaleAction</B>()</PRE>
199<DL>
200<DD>Instantiates a new default scale action.
201<P>
202</DL>
203<HR>
204
205<A NAME="DefaultScaleAction(org.mt4j.components.interfaces.IMTComponent3D)"><!-- --></A><H3>
206DefaultScaleAction</H3>
207<PRE>
208public <B>DefaultScaleAction</B>(<A HREF="../../../../org/mt4j/components/interfaces/IMTComponent3D.html" title="interface in org.mt4j.components.interfaces">IMTComponent3D</A>&nbsp;customTarget)</PRE>
209<DL>
210<DD>Instantiates a new default scale action.
211<P>
212<DL>
213<DT><B>Parameters:</B><DD><CODE>customTarget</CODE> - the custom target</DL>
214</DL>
215<HR>
216
217<A NAME="DefaultScaleAction(float, float)"><!-- --></A><H3>
218DefaultScaleAction</H3>
219<PRE>
220public <B>DefaultScaleAction</B>(float&nbsp;minScaleFactor,
221                          float&nbsp;maxScaleFactor)</PRE>
222<DL>
223<DD>Instantiates a new default scale action.
224<P>
225<DL>
226<DT><B>Parameters:</B><DD><CODE>minScaleFactor</CODE> - the min scale factor<DD><CODE>maxScaleFactor</CODE> - the max scale factor</DL>
227</DL>
228<HR>
229
230<A NAME="DefaultScaleAction(org.mt4j.components.interfaces.IMTComponent3D, float, float)"><!-- --></A><H3>
231DefaultScaleAction</H3>
232<PRE>
233public <B>DefaultScaleAction</B>(<A HREF="../../../../org/mt4j/components/interfaces/IMTComponent3D.html" title="interface in org.mt4j.components.interfaces">IMTComponent3D</A>&nbsp;customTarget,
234                          float&nbsp;minScaleFactor,
235                          float&nbsp;maxScaleFactor)</PRE>
236<DL>
237<DD>Instantiates a new default scale action.
238<P>
239<DL>
240<DT><B>Parameters:</B><DD><CODE>customTarget</CODE> - the custom target<DD><CODE>minScaleFactor</CODE> - the min scale factor<DD><CODE>maxScaleFactor</CODE> - the max scale factor</DL>
241</DL>
242
243<!-- ============ METHOD DETAIL ========== -->
244
245<A NAME="method_detail"><!-- --></A>
246<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
247<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
248<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
249<B>Method Detail</B></FONT></TH>
250</TR>
251</TABLE>
252
253<A NAME="processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)"><!-- --></A><H3>
254processGestureEvent</H3>
255<PRE>
256public boolean <B>processGestureEvent</B>(<A HREF="../../../../org/mt4j/input/inputProcessors/MTGestureEvent.html" title="class in org.mt4j.input.inputProcessors">MTGestureEvent</A>&nbsp;g)</PRE>
257<DL>
258<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">IGestureEventListener</A></CODE></B></DD>
259<DD>Process gesture event.
260<P>
261<DD><DL>
262<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)">processGestureEvent</A></CODE> in interface <CODE><A HREF="../../../../org/mt4j/input/inputProcessors/IGestureEventListener.html" title="interface in org.mt4j.input.inputProcessors">IGestureEventListener</A></CODE></DL>
263</DD>
264<DD><DL>
265<DT><B>Parameters:</B><DD><CODE>g</CODE> - the ge
266<DT><B>Returns:</B><DD>TODO</DL>
267</DD>
268</DL>
269<!-- ========= END OF CLASS DATA ========= -->
270<HR>
271
272
273<!-- ======= START OF BOTTOM NAVBAR ====== -->
274<A NAME="navbar_bottom"><!-- --></A>
275<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
276<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
277<TR>
278<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
279<A NAME="navbar_bottom_firstrow"><!-- --></A>
280<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
281  <TR ALIGN="center" VALIGN="top">
282  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
283  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
284  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
285  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DefaultScaleAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
286  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
287  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
288  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
289  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
290  </TR>
291</TABLE>
292</TD>
293<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
294</EM>
295</TD>
296</TR>
297
298<TR>
299<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
300&nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultRotateAction.html" title="class in org.mt4j.input.gestureAction"><B>PREV CLASS</B></A>&nbsp;
301&nbsp;<A HREF="../../../../org/mt4j/input/gestureAction/DefaultSvgButtonClickAction.html" title="class in org.mt4j.input.gestureAction"><B>NEXT CLASS</B></A></FONT></TD>
302<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
303  <A HREF="../../../../index.html?org/mt4j/input/gestureAction/DefaultScaleAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
304&nbsp;<A HREF="DefaultScaleAction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
305&nbsp;<SCRIPT type="text/javascript">
306  <!--
307  if(window==top) {
308    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
309  }
310  //-->
311</SCRIPT>
312<NOSCRIPT>
313  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
314</NOSCRIPT>
315
316
317</FONT></TD>
318</TR>
319<TR>
320<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
321  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
322<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
323DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
324</TR>
325</TABLE>
326<A NAME="skip-navbar_bottom"></A>
327<!-- ======== END OF BOTTOM NAVBAR ======= -->
328
329<HR>
330
331</BODY>
332</HTML>