PageRenderTime 31ms CodeModel.GetById 11ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/com/google/maps/extras/dragzoomcontrol/DragZoomControl.html

http://gmaps-utility-library-flash.googlecode.com/
HTML | 274 lines | 263 code | 2 blank | 9 comment | 0 complexity | 534bf86717473d838815c3282f3d1776 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<html>
  3<head>
  4<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
  6<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
  7<meta content="DragZoomControl,com.google.maps.extras.dragzoomcontrol.DragZoomControl,DEFAULT_MARGIN_LEFT,DEFAULT_MARGIN_TOP,DEFAULT_SELECTION_ALPHA,DEFAULT_SELECTION_BG_COLOR,DEFAUT_DRAG_ZOOM_MSG,DEFAUT_LINE_COLOR" name="keywords">
  8<title>com.google.maps.extras.dragzoomcontrol.DragZoomControl</title>
  9</head>
 10<body>
 11<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
 12<!--
 13				asdocTitle = 'DragZoomControl - API Documentation';
 14				var baseRef = '../../../../../';
 15				window.onload = configPage;
 16			--></script>
 17<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
 18<tr>
 19<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?com/google/maps/extras/dragzoomcontrol/DragZoomControl.html&amp;com/google/maps/extras/dragzoomcontrol/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
 20</tr>
 21<tr class="titleTableRow2">
 22<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;DragZoomControl</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
 23</tr>
 24<tr class="titleTableRow3">
 25<td colspan="2">&nbsp;</td>
 26</tr>
 27</table>
 28<script type="text/javascript" language="javascript">
 29<!--
 30if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class√ā¬†DragZoomControl"); titleBar_setSubNav(true,false,false,false,true,false,true,false,false,false,false,false,false,false);}
 31--></script>
 32<div class="MainContent">
 33<table cellspacing="0" cellpadding="0" class="classHeaderTable">
 34<tr>
 35<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.google.maps.extras.dragzoomcontrol</a></td>
 36</tr>
 37<tr>
 38<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class DragZoomControl</td>
 39</tr>
 40<tr>
 41<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">DragZoomControl <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../../images/inherit-arrow.gif"> com.google.maps.controls.ControlBase</td>
 42</tr>
 43</table>
 44<p></p>
 45<p></p>
 46<br>
 47<hr>
 48</div>
 49<a name="methodSummary"></a>
 50<div class="summarySection">
 51<div class="summaryTableTitle">Public Methods</div>
 52<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
 53<tr>
 54<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 55</tr>
 56<tr class="">
 57<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
 58<div class="summarySignature">
 59<a class="signatureLink" href="#DragZoomControl()">DragZoomControl</a>(optMarginTop:int, optMarginLeft:int, optSelectionBGColor:Number, optSelectionLineColor:Number, optSelectionAlpha:Number, optDragZoomMsg:String)</div>
 60<div class="summaryTableDescription">
 61   Creates the DragZoom control
 62      </div>
 63</td><td class="summaryTableOwnerCol">DragZoomControl</td>
 64</tr>
 65</table>
 66</div>
 67<a name="eventSummary"></a>
 68<div class="summarySection">
 69<div class="summaryTableTitle">Events</div>
 70<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
 71<tr>
 72<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 73</tr>
 74<tr class="">
 75<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
 76<div class="summarySignature">
 77<a class="signatureLink" href="#event:zoomCommit">zoomCommit</a>
 78</div>
 79</td><td class="summaryTableDescription summaryTableCol">
 80   Dispatched when a Zoom is committed
 81  
 82   </td><td class="summaryTableOwnerCol">DragZoomControl</td>
 83</tr>
 84</table>
 85</div>
 86<a name="constantSummary"></a>
 87<div class="summarySection">
 88<div class="summaryTableTitle">Public Constants</div>
 89<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
 90<tr>
 91<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 92</tr>
 93<tr class="">
 94<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_MARGIN_LEFT">DEFAULT_MARGIN_LEFT</a> : int = 7<div class="summaryTableDescription">[static]</div>
 95</td><td class="summaryTableOwnerCol">DragZoomControl</td>
 96</tr>
 97<tr class="">
 98<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_MARGIN_TOP">DEFAULT_MARGIN_TOP</a> : int = 7<div class="summaryTableDescription">[static]</div>
 99</td><td class="summaryTableOwnerCol">DragZoomControl</td>
100</tr>
101<tr class="">
102<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_SELECTION_ALPHA">DEFAULT_SELECTION_ALPHA</a> : Number = 0.5<div class="summaryTableDescription">[static]</div>
103</td><td class="summaryTableOwnerCol">DragZoomControl</td>
104</tr>
105<tr class="">
106<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_SELECTION_BG_COLOR">DEFAULT_SELECTION_BG_COLOR</a> : Number = 0xFFFFFF<div class="summaryTableDescription">[static]</div>
107</td><td class="summaryTableOwnerCol">DragZoomControl</td>
108</tr>
109<tr class="">
110<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAUT_DRAG_ZOOM_MSG">DEFAUT_DRAG_ZOOM_MSG</a> : String = "click and drag mouse to zoom into area"<div class="summaryTableDescription">[static]</div>
111</td><td class="summaryTableOwnerCol">DragZoomControl</td>
112</tr>
113<tr class="">
114<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAUT_LINE_COLOR">DEFAUT_LINE_COLOR</a> : Number = 0x000000<div class="summaryTableDescription">[static]</div>
115</td><td class="summaryTableOwnerCol">DragZoomControl</td>
116</tr>
117</table>
118</div>
119<script type="text/javascript" language="javascript">
120<!--
121showHideInherited();
122--></script>
123<div class="MainContent">
124<a name="constructorDetail"></a>
125<div class="detailSectionHeader">Constructor detail</div>
126<a name="DragZoomControl()"></a>
127<table cellspacing="0" cellpadding="0" class="detailHeader">
128<tr>
129<td class="detailHeaderName">DragZoomControl</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
130</tr>
131</table>
132<div class="detailBody">
133<code>public function DragZoomControl(optMarginTop:int, optMarginLeft:int, optSelectionBGColor:Number, optSelectionLineColor:Number, optSelectionAlpha:Number, optDragZoomMsg:String)</code><p>
134   Creates the DragZoom control
135      </p><span class="label">Parameters</span>
136<table border="0" cellspacing="0" cellpadding="0">
137<tr>
138<td width="20px"></td><td><code><span class="label">optMarginTop</span>:int</code> &mdash; The top margin of the control in points. 
139     </td>
140</tr>
141<tr>
142<td class="paramSpacer">&nbsp;</td>
143</tr>
144<tr>
145<td width="20px"></td><td><code><span class="label">optMarginLeft</span>:int</code> &mdash; The left margin of the control in points. 
146     </td>
147</tr>
148<tr>
149<td class="paramSpacer">&nbsp;</td>
150</tr>
151<tr>
152<td width="20px"></td><td><code><span class="label">optSelectionBGColor</span>:Number</code> &mdash; The background color message text. 
153     </td>
154</tr>
155<tr>
156<td class="paramSpacer">&nbsp;</td>
157</tr>
158<tr>
159<td width="20px"></td><td><code><span class="label">optSelectionLineColor</span>:Number</code> &mdash; The line color of the selection area. 
160     </td>
161</tr>
162<tr>
163<td class="paramSpacer">&nbsp;</td>
164</tr>
165<tr>
166<td width="20px"></td><td><code><span class="label">optSelectionAlpha</span>:Number</code> &mdash; The alpha value of the selection area. 
167     </td>
168</tr>
169<tr>
170<td class="paramSpacer">&nbsp;</td>
171</tr>
172<tr>
173<td width="20px"></td><td><code><span class="label">optDragZoomMsg</span>:String</code> &mdash; The message displayed on screen when the control is enabled. 
174     </td>
175</tr>
176</table>
177<p>
178<span class="label">See also</span>
179</p>
180<div class="seeAlso">
181<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_MARGIN_TOP" target="">DEFAULT_MARGIN_TOP</a>
182<br>
183<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_MARGIN_LEFT" target="">DEFAULT_MARGIN_LEFT</a>
184<br>
185<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_SELECTION_BG_COLOR" target="">DEFAULT_SELECTION_BG_COLOR</a>
186<br>
187<a href="../dragzoomcontrol/DragZoomControl.html#DEFAUT_LINE_COLOR" target="">DEFAUT_LINE_COLOR</a>
188<br>
189<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_SELECTION_ALPHA" target="">DEFAULT_SELECTION_ALPHA</a>
190<br>
191<a href="../dragzoomcontrol/DragZoomControl.html#DEFAUT_DRAG_ZOOM_MSG" target="">DEFAUT_DRAG_ZOOM_MSG</a>
192</div>
193</div>
194<div class="detailSectionHeader">Event detail</div>
195<a name="event:zoomCommit"></a>
196<table cellspacing="0" cellpadding="0" class="detailHeader">
197<tr>
198<td class="detailHeaderName">zoomCommit</td><td class="detailHeaderType">event&nbsp;</td>
199</tr>
200</table>
201<div class="detailBody">
202<span class="label">Event object type: </span><a href=""><code>com.google.maps.extras.dragzoomcontrol.events.DragZoomEvent</code></a>
203<br>
204<p></p><p>
205   Dispatched when a Zoom is committed
206  
207   </p></div>
208<a name="constantDetail"></a>
209<div class="detailSectionHeader">Constant detail</div>
210<a name="DEFAULT_MARGIN_LEFT"></a>
211<table cellspacing="0" cellpadding="0" class="detailHeader">
212<tr>
213<td class="detailHeaderName">DEFAULT_MARGIN_LEFT</td><td class="detailHeaderType">constant</td>
214</tr>
215</table>
216<div class="detailBody">
217<code>public static const DEFAULT_MARGIN_LEFT:int = 7</code>
218</div>
219<a name="DEFAULT_MARGIN_TOP"></a>
220<table cellspacing="0" cellpadding="0" class="detailHeader">
221<tr>
222<td class="detailHeaderName">DEFAULT_MARGIN_TOP</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
223</tr>
224</table>
225<div class="detailBody">
226<code>public static const DEFAULT_MARGIN_TOP:int = 7</code>
227</div>
228<a name="DEFAULT_SELECTION_ALPHA"></a>
229<table cellspacing="0" cellpadding="0" class="detailHeader">
230<tr>
231<td class="detailHeaderName">DEFAULT_SELECTION_ALPHA</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
232</tr>
233</table>
234<div class="detailBody">
235<code>public static const DEFAULT_SELECTION_ALPHA:Number = 0.5</code>
236</div>
237<a name="DEFAULT_SELECTION_BG_COLOR"></a>
238<table cellspacing="0" cellpadding="0" class="detailHeader">
239<tr>
240<td class="detailHeaderName">DEFAULT_SELECTION_BG_COLOR</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
241</tr>
242</table>
243<div class="detailBody">
244<code>public static const DEFAULT_SELECTION_BG_COLOR:Number = 0xFFFFFF</code>
245</div>
246<a name="DEFAUT_DRAG_ZOOM_MSG"></a>
247<table cellspacing="0" cellpadding="0" class="detailHeader">
248<tr>
249<td class="detailHeaderName">DEFAUT_DRAG_ZOOM_MSG</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
250</tr>
251</table>
252<div class="detailBody">
253<code>public static const DEFAUT_DRAG_ZOOM_MSG:String = "click and drag mouse to zoom into area"</code>
254</div>
255<a name="DEFAUT_LINE_COLOR"></a>
256<table cellspacing="0" cellpadding="0" class="detailHeader">
257<tr>
258<td class="detailHeaderName">DEFAUT_LINE_COLOR</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
259</tr>
260</table>
261<div class="detailBody">
262<code>public static const DEFAUT_LINE_COLOR:Number = 0x000000</code>
263</div>
264<br>
265<br>
266<hr>
267<br>
268<p></p>
269<center class="copyright"> 
270</center>
271</div>
272</body>
273</html>
274<!-- -->