webgui/www/extras/yui/docs/YAHOO.widget.ImageCropper.html
2008-03-15 17:21:21 +00:00

2841 lines
140 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>API: imagecropper YAHOO.widget.ImageCropper (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/api.css">
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
<h3>imagecropper&nbsp; <span class="subtitle">2.5.0</span></h3>
<p>
<a href="./index.html">Yahoo! UI Library</a>
&gt; <a href="./module_imagecropper.html">imagecropper</a>
&gt; YAHOO.widget.ImageCropper
</p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="yui-classopts-form">
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> Show Private</span>
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> Show Protected</span>
</form>
<h2>
Class <b>YAHOO.widget.ImageCropper</b>
<span class="extends">
- extends <a href="YAHOO.util.Element.html">YAHOO.util.Element</a>
</span>
<span class="extends">
</span>
</code>
</h2>
<!-- class tree goes here -->
<div class="summary description">
<p>Creates a Image Cropper control.</p>
</div>
<div class="section constructor details">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong>YAHOO.widget.ImageCropper</strong>
<code>
(
el
,
attrs
)
</code>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>el
&lt;String/HTMLElement&gt;
</code>
The image element to make croppable.
</dd>
<dd>
<code>attrs
&lt;Object&gt;
</code>
Object liternal containing configuration parameters.
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="private">
<h4><a name="_active">_active</a>
<code>- private Boolean</code>
</h4>
<div class="detail">
<div class="description">
Flag to determine if the crop region is active
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_image">_image</a>
<code>- private String</code>
</h4>
<div class="detail">
<div class="description">
The url of the image we are cropping
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_instances">_instances</a>
<code>- private static Object</code>
</h4>
<div class="detail">
<div class="description">
Internal hash table for all ImageCropper instances
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_mask">_mask</a>
<code>- private HTMLElement</code>
</h4>
<div class="detail">
<div class="description">
The HTML Element created to "mask" the image being cropped
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_resize">_resize</a>
<code>- private Object</code>
</h4>
<div class="detail">
<div class="description">
A reference to the Resize Utility used in this Cropper Instance
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_resizeEl">_resizeEl</a>
<code>- private HTMLElement</code>
</h4>
<div class="detail">
<div class="description">
The HTML Element used to create the Resize Oject
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_resizeMaskEl">_resizeMaskEl</a>
<code>- private HTMLElement</code>
</h4>
<div class="detail">
<div class="description">
The HTML Element used to create the Resize mask
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="_wrap">_wrap</a>
<code>- private HTMLElement</code>
</h4>
<div class="detail">
<div class="description">
The HTML Element created to wrap the image
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="CSS_MAIN">CSS_MAIN</a>
<code>- private String</code>
</h4>
<div class="detail">
<div class="description">
The CSS class used to wrap the element
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="CSS_MASK">CSS_MASK</a>
<code>- private String</code>
</h4>
<div class="detail">
<div class="description">
The CSS class for the mask element
</div>
</div>
<hr />
</div>
<div class="private">
<h4><a name="CSS_RESIZE_MASK">CSS_RESIZE_MASK</a>
<code>- private String</code>
</h4>
<div class="detail">
<div class="description">
The CSS class for the mask inside the resize element
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field inheritance">
<h4>Properties inherited from <a href="YAHOO.util.Element.html">YAHOO.util.Element</a>:</h4>
<div class="content">
<code>
<a class="" href="YAHOO.util.Element.html#DOM_EVENTS">DOM_EVENTS</a>
</code>
</div>
</div>
<div class="section field inheritance">
<h4>Properties inherited from <a href="YAHOO.util.AttributeProvider.html">YAHOO.util.AttributeProvider</a>:</h4>
<div class="content">
<code>
<a class="private" href="YAHOO.util.AttributeProvider.html#_configs">_configs</a>
</code>
</div>
</div>
<div class="section field inheritance">
<h4>Properties inherited from <a href="YAHOO.util.EventProvider.html">YAHOO.util.EventProvider</a>:</h4>
<div class="content">
<code>
<a class="private" href="YAHOO.util.EventProvider.html#__yui_events">__yui_events</a><span class="private">,</span>
<a class="private" href="YAHOO.util.EventProvider.html#__yui_subscribers">__yui_subscribers</a>
</code>
</div>
</div>
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="private">
<h4>
<a name="_createMask">_createMask</a></h4>
<div class="detail">
<code>
private
void
<strong>_createMask</strong>
(
)
</code>
<div class="description">
Creates the mask element used to mask the image
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_createResize">_createResize</a></h4>
<div class="detail">
<code>
private
void
<strong>_createResize</strong>
(
)
</code>
<div class="description">
Creates the resize element and the instance of the Resize Utility
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_createWrap">_createWrap</a></h4>
<div class="detail">
<code>
private
void
<strong>_createWrap</strong>
(
)
</code>
<div class="description">
Creates the wrapper element used to wrap the image
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleB4DragEvent">_handleB4DragEvent</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleB4DragEvent</strong>
(
)
</code>
<div class="description">
Handles the DragDrop b4DragEvent event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleBeforeResizeEvent">_handleBeforeResizeEvent</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleBeforeResizeEvent</strong>
(
)
</code>
<div class="description">
Handles the Resize Utilitys beforeResize event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleDragEvent">_handleDragEvent</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleDragEvent</strong>
(
)
</code>
<div class="description">
Handles the DragDrop DragEvent event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleKeyPress">_handleKeyPress</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleKeyPress</strong>
(
)
</code>
<div class="description">
Handles the keypress event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleMouseOut">_handleMouseOut</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleMouseOut</strong>
(
)
</code>
<div class="description">
Handles the mouseout event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleMouseOver">_handleMouseOver</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleMouseOver</strong>
(
)
</code>
<div class="description">
Handles the mouseover event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleResizeEvent">_handleResizeEvent</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleResizeEvent</strong>
(
Event
)
</code>
<div class="description">
Handles the Resize Utilitys Resize event
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>Event &lt;object&gt;</code>
ev The Resize Utilitys resize event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_handleStartResizeEvent">_handleStartResizeEvent</a></h4>
<div class="detail">
<code>
private
void
<strong>_handleStartResizeEvent</strong>
(
)
</code>
<div class="description">
Handles the Resize Utilitys startResizeEvent event
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_moveEl">_moveEl</a></h4>
<div class="detail">
<code>
private
void
<strong>_moveEl</strong>
(
)
</code>
<div class="description">
Moves the resize element based on the arrow keys
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_setBackgroundImage">_setBackgroundImage</a></h4>
<div class="detail">
<code>
private
void
<strong>_setBackgroundImage</strong>
(
String
)
</code>
<div class="description">
Sets the background image of the resize element
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>String &lt;object&gt;</code>
url The url of the image
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_setBackgroundPosition">_setBackgroundPosition</a></h4>
<div class="detail">
<code>
private
void
<strong>_setBackgroundPosition</strong>
(
Number
)
</code>
<div class="description">
Sets the background image position to the top and left position
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>Number &lt;object&gt;</code>
l The left position
</dd>
<dd>
<code>Number &lt;object&gt;</code>
t The top position
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_setConstraints">_setConstraints</a></h4>
<div class="detail">
<code>
private
Object
<strong>_setConstraints</strong>
(
Boolean
)
</code>
<div class="description">
Set the DragDrop constraints to keep the element inside the crop area.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>Boolean &lt;object&gt;</code>
inside Used when called from inside a resize event, false by default (dragging)
</dd>
</dl>
<dl>
<dt>Returns:
<code>
Object
</code></dt>
<dd>Object containing Top, Right, Bottom and Left constraints</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="_syncBackgroundPosition">_syncBackgroundPosition</a></h4>
<div class="detail">
<code>
private
void
<strong>_syncBackgroundPosition</strong>
(
)
</code>
<div class="description">
Syncs the packground position of the resize element with the resize elements top and left style position
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="destroy">destroy</a></h4>
<div class="detail">
<code>
void
<strong>destroy</strong>
(
)
</code>
<div class="description">
Destroys the ImageCropper object and all of it's elements & listeners.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getCropCoords">getCropCoords</a></h4>
<div class="detail">
<code>
Object
<strong>getCropCoords</strong>
(
)
</code>
<div class="description">
Returns the coordinates needed to crop the image
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
Object
</code></dt>
<dd>The top, left, height, width and image url of the image being cropped</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getCropperById">getCropperById</a></h4>
<div class="detail">
<code>
static
Object
<strong>getCropperById</strong>
(
)
</code>
<div class="description">
Get's an ImageCropper object by the HTML id of the image associated with the ImageCropper object.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
Object
</code></dt>
<dd>The ImageCropper Object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getEl">getEl</a></h4>
<div class="detail">
<code>
HTMLElement
<strong>getEl</strong>
(
)
</code>
<div class="description">
Get the HTML reference for the image element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
HTMLElement
</code></dt>
<dd>The image element</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getMaskEl">getMaskEl</a></h4>
<div class="detail">
<code>
HTMLElement
<strong>getMaskEl</strong>
(
)
</code>
<div class="description">
Get the HTML reference for the mask element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
HTMLElement
</code></dt>
<dd>The mask element</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getResizeEl">getResizeEl</a></h4>
<div class="detail">
<code>
HTMLElement
<strong>getResizeEl</strong>
(
)
</code>
<div class="description">
Get the HTML reference for the resize element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
HTMLElement
</code></dt>
<dd>The resize element</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getResizeMaskEl">getResizeMaskEl</a></h4>
<div class="detail">
<code>
HTMLElement
<strong>getResizeMaskEl</strong>
(
)
</code>
<div class="description">
Get the HTML reference for the resizable object's mask element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
HTMLElement
</code></dt>
<dd>The resize objects mask element.</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getResizeObject">getResizeObject</a></h4>
<div class="detail">
<code>
<a href="YAHOO.util.Resize.html">YAHOO.util.Resize</a>
<strong>getResizeObject</strong>
(
)
</code>
<div class="description">
Get the Resize Utility object.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
<a href="YAHOO.util.Resize.html">YAHOO.util.Resize</a>
</code></dt>
<dd>The Resize instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="getWrapEl">getWrapEl</a></h4>
<div class="detail">
<code>
HTMLElement
<strong>getWrapEl</strong>
(
)
</code>
<div class="description">
Get the HTML reference for the wrap element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
HTMLElement
</code></dt>
<dd>The wrap element</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="init">init</a></h4>
<div class="detail">
<code>
private
void
<strong>init</strong>
(
)
</code>
<div class="description">
The ImageCropper class's initialization method
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="initAttributes">initAttributes</a></h4>
<div class="detail">
<code>
private
void
<strong>initAttributes</strong>
(
attr
)
</code>
<div class="description">
Initializes all of the configuration attributes used to create a croppable element.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>attr &lt;Object&gt;</code>
Object literal specifying a set of
configuration attributes used to create the widget.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="reset">reset</a></h4>
<div class="detail">
<code>
<a href="YAHOO.widget.ImageCropper.html">YAHOO.widget.ImageCropper</a>
<strong>reset</strong>
(
)
</code>
<div class="description">
Resets the crop element back to it's original position
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
<a href="YAHOO.widget.ImageCropper.html">YAHOO.widget.ImageCropper</a>
</code></dt>
<dd>The ImageCropper instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="toString">toString</a></h4>
<div class="detail">
<code>
String
<strong>toString</strong>
(
)
</code>
<div class="description">
Returns a string representing the ImageCropper Object.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
String
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field inheritance">
<h4>Methods inherited from <a href="YAHOO.util.Element.html">YAHOO.util.Element</a>:</h4>
<div class="content">
<code>
<a class="private" href="YAHOO.util.Element.html#_registerHTMLAttr">_registerHTMLAttr</a><span class="private">,</span> <a class="" href="YAHOO.util.Element.html#addClass">addClass</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#addListener">addListener</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#appendChild">appendChild</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#appendTo">appendTo</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#fireQueue">fireQueue</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#getElementsByClassName">getElementsByClassName</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#getElementsByTagName">getElementsByTagName</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#getStyle">getStyle</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#hasChildNodes">hasChildNodes</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#hasClass">hasClass</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#initAttributes">initAttributes</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#insertBefore">insertBefore</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#on">on</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#removeChild">removeChild</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#removeClass">removeClass</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#removeListener">removeListener</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#replaceChild">replaceChild</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#replaceClass">replaceClass</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#setStyle">setStyle</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#subscribe">subscribe</a>
</code>
</div>
</div>
<div class="section field inheritance">
<h4>Methods inherited from <a href="YAHOO.util.AttributeProvider.html">YAHOO.util.AttributeProvider</a>:</h4>
<div class="content">
<code>
<a class="" href="YAHOO.util.AttributeProvider.html#configureAttribute">configureAttribute</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#fireBeforeChangeEvent">fireBeforeChangeEvent</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#fireChangeEvent">fireChangeEvent</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#get">get</a><span class="">,</span> <a class="private" href="YAHOO.util.AttributeProvider.html#getAttributeConfig">getAttributeConfig</a><span class="private">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#getAttributeKeys">getAttributeKeys</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#refresh">refresh</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#register">register</a><span class="">,</span> <a class="private" href="YAHOO.util.AttributeProvider.html#resetAttributeConfig">resetAttributeConfig</a><span class="private">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#resetValue">resetValue</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#set">set</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#setAttributeConfig">setAttributeConfig</a><span class="">,</span> <a class="" href="YAHOO.util.AttributeProvider.html#setAttributes">setAttributes</a>
</code>
</div>
</div>
<div class="section field inheritance">
<h4>Methods inherited from <a href="YAHOO.util.EventProvider.html">YAHOO.util.EventProvider</a>:</h4>
<div class="content">
<code>
<a class="" href="YAHOO.util.EventProvider.html#createEvent">createEvent</a><span class="">,</span> <a class="" href="YAHOO.util.EventProvider.html#fireEvent">fireEvent</a><span class="">,</span> <a class="" href="YAHOO.util.EventProvider.html#hasEvent">hasEvent</a><span class="">,</span> <a class="" href="YAHOO.util.EventProvider.html#subscribe">subscribe</a><span class="">,</span> <a class="" href="YAHOO.util.EventProvider.html#unsubscribe">unsubscribe</a><span class="">,</span> <a class="" href="YAHOO.util.EventProvider.html#unsubscribeAll">unsubscribeAll</a>
</code>
</div>
</div>
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
<div class="">
<h4>
<a name="beforeInitheightChange">beforeInitheightChange</a></h4>
<div class="detail">
<code>
<strong>beforeInitheightChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'initHeight' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeInitialxyChange">beforeInitialxyChange</a></h4>
<div class="detail">
<code>
<strong>beforeInitialxyChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'initialXY' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeInitwidthChange">beforeInitwidthChange</a></h4>
<div class="detail">
<code>
<strong>beforeInitwidthChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'initWidth' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeKeytickChange">beforeKeytickChange</a></h4>
<div class="detail">
<code>
<strong>beforeKeytickChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'keyTick' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeMinheightChange">beforeMinheightChange</a></h4>
<div class="detail">
<code>
<strong>beforeMinheightChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'minHeight' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeMinwidthChange">beforeMinwidthChange</a></h4>
<div class="detail">
<code>
<strong>beforeMinwidthChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'minWidth' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeRatioChange">beforeRatioChange</a></h4>
<div class="detail">
<code>
<strong>beforeRatioChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'ratio' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeShiftkeytickChange">beforeShiftkeytickChange</a></h4>
<div class="detail">
<code>
<strong>beforeShiftkeytickChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'shiftKeyTick' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeStatusChange">beforeStatusChange</a></h4>
<div class="detail">
<code>
<strong>beforeStatusChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'status' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="beforeUsekeysChange">beforeUsekeysChange</a></h4>
<div class="detail">
<code>
<strong>beforeUsekeysChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires before the value for the configuration attribute 'useKeys' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the current attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="dragEvent">dragEvent</a></h4>
<div class="detail">
<code>
<strong>dragEvent</strong>
(
)
</code>
<div class="description">
Fires when the DragDrop dragEvent
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="initHeightChange">initHeightChange</a></h4>
<div class="detail">
<code>
<strong>initHeightChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'initHeight' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="initialXYChange">initialXYChange</a></h4>
<div class="detail">
<code>
<strong>initialXYChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'initialXY' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="initWidthChange">initWidthChange</a></h4>
<div class="detail">
<code>
<strong>initWidthChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'initWidth' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="keyTickChange">keyTickChange</a></h4>
<div class="detail">
<code>
<strong>keyTickChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'keyTick' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="minHeightChange">minHeightChange</a></h4>
<div class="detail">
<code>
<strong>minHeightChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'minHeight' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="minWidthChange">minWidthChange</a></h4>
<div class="detail">
<code>
<strong>minWidthChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'minWidth' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="moveEvent">moveEvent</a></h4>
<div class="detail">
<code>
<strong>moveEvent</strong>
(
)
</code>
<div class="description">
Fires on every element move. Inside these methods: _handleKeyPress, _handleDragEvent, _handleResizeEvent
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="ratioChange">ratioChange</a></h4>
<div class="detail">
<code>
<strong>ratioChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'ratio' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="resizeEvent">resizeEvent</a></h4>
<div class="detail">
<code>
<strong>resizeEvent</strong>
(
)
</code>
<div class="description">
Fires on every element resize.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="shiftKeyTickChange">shiftKeyTickChange</a></h4>
<div class="detail">
<code>
<strong>shiftKeyTickChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'shiftKeyTick' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="startResizeEvent">startResizeEvent</a></h4>
<div class="detail">
<code>
<strong>startResizeEvent</strong>
(
)
</code>
<div class="description">
Fires when when a resize action is started.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="statusChange">statusChange</a></h4>
<div class="detail">
<code>
<strong>statusChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'status' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="useKeysChange">useKeysChange</a></h4>
<div class="detail">
<code>
<strong>useKeysChange</strong>
(
eventInfo
)
</code>
<div class="description">
Fires when the value for the configuration attribute 'useKeys' changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>eventInfo &lt;{oldValue: any, newValue: any}&gt;</code>
An object containing the previous attribute value and the new value.
</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field inheritance">
<h4>Events inherited from <a href="YAHOO.util.Element.html">YAHOO.util.Element</a>:</h4>
<div class="content">
<code>
<a class="" href="YAHOO.util.Element.html#appendTo">appendTo</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#available">available</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#beforeAppendTo">beforeAppendTo</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#beforeElementChange">beforeElementChange</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#contentReady">contentReady</a><span class="">,</span> <a class="" href="YAHOO.util.Element.html#elementChange">elementChange</a><span class="">,</span>
</code>
</div>
</div>
<div class="section field details">
<h3 id="configattributes">Configuration Attributes</h3>
<div class="content">
<div class="">
<h4><a name="initHeight">initHeight</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
Set the initlal height of the crop area, defaults to 1/4 of the image height
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="initialXY">initialXY</a>
<code>- Array</code>
</h4>
<div class="detail">
<div class="description">
Array of the XY position that we need to set the crop element to when we build it. Defaults to [10, 10]
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="initWidth">initWidth</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
Set the initlal width of the crop area, defaults to 1/4 of the image width
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="keyTick">keyTick</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
The pixel tick for the arrow keys, defaults to 1
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="minHeight">minHeight</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
MinHeight of the crop area, default 50
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="minWidth">minWidth</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
MinWidth of the crop area, default 50.
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="ratio">ratio</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Set the ratio config option of the Resize Utlility, default false
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="shiftKeyTick">shiftKeyTick</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
The pixel tick for shift + the arrow keys, defaults to 10
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="status">status</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Show the Resize Utility status, defaults to true
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="useKeys">useKeys</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Should we use the Arrow keys to position the crop element, defaults to true
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field inheritance">
<h4>Configuration attributes inherited from <a href="YAHOO.util.Element.html">YAHOO.util.Element</a>:</h4>
<div class="content">
<code>
<a class="" href="YAHOO.util.Element.html#element">element</a><span class="">,</span>
</code>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_animation.html">animation</a></li>
<li class=""><a href="module_autocomplete.html">autocomplete</a></li>
<li class=""><a href="module_button.html">button</a></li>
<li class=""><a href="module_calendar.html">calendar</a></li>
<li class=""><a href="module_charts.html">charts</a></li>
<li class=""><a href="module_colorpicker.html">colorpicker</a></li>
<li class=""><a href="module_connection.html">connection</a></li>
<li class=""><a href="module_container.html">container</a></li>
<li class=""><a href="module_cookie.html">cookie</a></li>
<li class=""><a href="module_datasource.html">datasource</a></li>
<li class=""><a href="module_datatable.html">datatable</a></li>
<li class=""><a href="module_dom.html">dom</a></li>
<li class=""><a href="module_dragdrop.html">dragdrop</a></li>
<li class=""><a href="module_editor.html">editor</a></li>
<li class=""><a href="module_element.html">element</a></li>
<li class=""><a href="module_event.html">event</a></li>
<li class=""><a href="module_get.html">get</a></li>
<li class=""><a href="module_history.html">history</a></li>
<li class="selected"><a href="module_imagecropper.html">imagecropper</a></li>
<li class=""><a href="module_imageloader.html">imageloader</a></li>
<li class=""><a href="module_json.html">json</a></li>
<li class=""><a href="module_layout.html">layout</a></li>
<li class=""><a href="module_logger.html">logger</a></li>
<li class=""><a href="module_menu.html">menu</a></li>
<li class=""><a href="module_profiler.html">profiler</a></li>
<li class=""><a href="module_profilerviewer.html">profilerviewer</a></li>
<li class=""><a href="module_resize.html">resize</a></li>
<li class=""><a href="module_selector.html">selector</a></li>
<li class=""><a href="module_slider.html">slider</a></li>
<li class=""><a href="module_tabview.html">tabview</a></li>
<li class=""><a href="module_treeview.html">treeview</a></li>
<li class=""><a href="module_uploader.html">uploader</a></li>
<li class=""><a href="module_yahoo.html">yahoo</a></li>
<li class=""><a href="module_yuiloader.html">yuiloader</a></li>
<li class=""><a href="module_yuitest.html">yuitest</a></li>
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
<li class="selected"><a href="YAHOO.widget.ImageCropper.html">YAHOO.widget.ImageCropper</a></li>
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="crop.js.html">crop.js</a></li>
</ul>
</div>
<div class="module">
<h4>Properties</h4>
<ul class="content">
<li class="private"><a href="#_active">_active</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_image">_image</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_instances">_instances</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_mask">_mask</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_resize">_resize</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_resizeEl">_resizeEl</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_resizeMaskEl">_resizeMaskEl</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#_wrap">_wrap</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#CSS_MAIN">CSS_MAIN</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#CSS_MASK">CSS_MASK</a>
<!--<code>&lt;String&gt;</code>-->
</li>
<li class="private"><a href="#CSS_RESIZE_MASK">CSS_RESIZE_MASK</a>
<!--<code>&lt;String&gt;</code>-->
</li>
</ul>
</div>
<div class="module">
<h4>Methods</h4>
<ul class="content">
<li class="private"><!--<code>void</code>-->
<a href="#_createMask">_createMask</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_createResize">_createResize</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_createWrap">_createWrap</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleB4DragEvent">_handleB4DragEvent</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleBeforeResizeEvent">_handleBeforeResizeEvent</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleDragEvent">_handleDragEvent</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleKeyPress">_handleKeyPress</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleMouseOut">_handleMouseOut</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleMouseOver">_handleMouseOver</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleResizeEvent">_handleResizeEvent</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_handleStartResizeEvent">_handleStartResizeEvent</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_moveEl">_moveEl</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_setBackgroundImage">_setBackgroundImage</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_setBackgroundPosition">_setBackgroundPosition</a>
</li>
<li class="private"><!--<code>Object</code>-->
<a href="#_setConstraints">_setConstraints</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#_syncBackgroundPosition">_syncBackgroundPosition</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#destroy">destroy</a>
</li>
<li class=""><!--<code>Object</code>-->
<a href="#getCropCoords">getCropCoords</a>
</li>
<li class=""><!--<code>Object</code>-->
<a href="#getCropperById">getCropperById</a>
</li>
<li class=""><!--<code>HTMLElement</code>-->
<a href="#getEl">getEl</a>
</li>
<li class=""><!--<code>HTMLElement</code>-->
<a href="#getMaskEl">getMaskEl</a>
</li>
<li class=""><!--<code>HTMLElement</code>-->
<a href="#getResizeEl">getResizeEl</a>
</li>
<li class=""><!--<code>HTMLElement</code>-->
<a href="#getResizeMaskEl">getResizeMaskEl</a>
</li>
<li class=""><!--<code><a href="YAHOO.util.Resize.html">YAHOO.util.Resize</a></code>-->
<a href="#getResizeObject">getResizeObject</a>
</li>
<li class=""><!--<code>HTMLElement</code>-->
<a href="#getWrapEl">getWrapEl</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#init">init</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#initAttributes">initAttributes</a>
</li>
<li class=""><!--<code><a href="YAHOO.widget.ImageCropper.html">YAHOO.widget.ImageCropper</a></code>-->
<a href="#reset">reset</a>
</li>
<li class=""><!--<code>String</code>-->
<a href="#toString">toString</a>
</li>
</ul>
</div>
<div class="module">
<h4>Events</h4>
<ul class="content">
<li class="">
<a href="#beforeInitheightChange">beforeInitheightChange</a>
</li>
<li class="">
<a href="#beforeInitialxyChange">beforeInitialxyChange</a>
</li>
<li class="">
<a href="#beforeInitwidthChange">beforeInitwidthChange</a>
</li>
<li class="">
<a href="#beforeKeytickChange">beforeKeytickChange</a>
</li>
<li class="">
<a href="#beforeMinheightChange">beforeMinheightChange</a>
</li>
<li class="">
<a href="#beforeMinwidthChange">beforeMinwidthChange</a>
</li>
<li class="">
<a href="#beforeRatioChange">beforeRatioChange</a>
</li>
<li class="">
<a href="#beforeShiftkeytickChange">beforeShiftkeytickChange</a>
</li>
<li class="">
<a href="#beforeStatusChange">beforeStatusChange</a>
</li>
<li class="">
<a href="#beforeUsekeysChange">beforeUsekeysChange</a>
</li>
<li class="">
<a href="#dragEvent">dragEvent</a>
</li>
<li class="">
<a href="#initHeightChange">initHeightChange</a>
</li>
<li class="">
<a href="#initialXYChange">initialXYChange</a>
</li>
<li class="">
<a href="#initWidthChange">initWidthChange</a>
</li>
<li class="">
<a href="#keyTickChange">keyTickChange</a>
</li>
<li class="">
<a href="#minHeightChange">minHeightChange</a>
</li>
<li class="">
<a href="#minWidthChange">minWidthChange</a>
</li>
<li class="">
<a href="#moveEvent">moveEvent</a>
</li>
<li class="">
<a href="#ratioChange">ratioChange</a>
</li>
<li class="">
<a href="#resizeEvent">resizeEvent</a>
</li>
<li class="">
<a href="#shiftKeyTickChange">shiftKeyTickChange</a>
</li>
<li class="">
<a href="#startResizeEvent">startResizeEvent</a>
</li>
<li class="">
<a href="#statusChange">statusChange</a>
</li>
<li class="">
<a href="#useKeysChange">useKeysChange</a>
</li>
</ul>
</div>
<div class="module">
<h4>Configuration Attributes</h4>
<ul class="content">
<li class="">
<a href="#initHeight">initHeight</a>
</li>
<li class="">
<a href="#initialXY">initialXY</a>
</li>
<li class="">
<a href="#initWidth">initWidth</a>
</li>
<li class="">
<a href="#keyTick">keyTick</a>
</li>
<li class="">
<a href="#minHeight">minHeight</a>
</li>
<li class="">
<a href="#minWidth">minWidth</a>
</li>
<li class="">
<a href="#ratio">ratio</a>
</li>
<li class="">
<a href="#shiftKeyTick">shiftKeyTick</a>
</li>
<li class="">
<a href="#status">status</a>
</li>
<li class="">
<a href="#useKeys">useKeys</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2007 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>