mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
3323 lines
224 KiB
HTML
3323 lines
224 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
<title>API: slider YAHOO.widget.Slider (YUI Library)</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
|
|
<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">
|
|
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
|
|
<h3>Slider Widget <span class="subtitle">2.8.2r1</span></h3>
|
|
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
|
|
> <a href="./module_slider.html" title="slider">slider</a>
|
|
> YAHOO.widget.Slider
|
|
|
|
<form onsubmit="return false">
|
|
<div id="propertysearch">
|
|
Search: <input autocomplete="off" id="searchinput" />
|
|
<div id="searchresults">
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
|
|
<fieldset>
|
|
<legend>Filters</legend>
|
|
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
|
|
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
|
|
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<h2>
|
|
|
|
|
|
|
|
|
|
Class <b property="yui:name">YAHOO.widget.Slider</b>
|
|
<span class="extends">
|
|
- extends <a href="YAHOO.util.DragDrop.html" title="YAHOO.util.DragDrop">YAHOO.util.DragDrop</a>
|
|
</span>
|
|
|
|
<span class="extends" rel="yui:extends">
|
|
- uses
|
|
|
|
<span rel="extend" resource="YAHOO.util.EventProvider.html">
|
|
<a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>
|
|
</span>
|
|
|
|
|
|
</span>
|
|
</h2>
|
|
<!-- class tree goes here -->
|
|
|
|
|
|
|
|
|
|
<div class="summary description" property="yui:description">
|
|
A DragDrop implementation that can be used as a background for a
|
|
slider. It takes a reference to the thumb instance
|
|
so it can delegate some of the events to it. The goal is to make the
|
|
thumb jump to the location on the background when the background is
|
|
clicked.
|
|
</div>
|
|
|
|
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
|
|
<h3 id="constructor">Constructor</h3>
|
|
<div class="content">
|
|
<div class="detail">
|
|
<strong property="yui:name">YAHOO.widget.Slider</strong>
|
|
<code>
|
|
(
|
|
|
|
|
|
|
|
id
|
|
|
|
,
|
|
sGroup
|
|
|
|
,
|
|
oThumb
|
|
|
|
,
|
|
sType
|
|
)
|
|
</code>
|
|
<div class="description">
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">id</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The id of the element linked to this instance</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sGroup</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The group of related DragDrop items</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">oThumb</span>
|
|
<<span property="yui:type">SliderThumb</span>>
|
|
</code>
|
|
<span property="yui:description"> The thumb for this slider</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The type of slider (horiz, vert, region)</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:properties" resource="#properties">
|
|
<div class="section field details">
|
|
<h3 id="properties">Properties</h3>
|
|
<div class="content">
|
|
<div class="private" rel="yui:property" resource="#property__mouseDown">
|
|
<h4><a name="property__mouseDown" property="yui:name">_mouseDown</a>
|
|
- <code>private <span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Tracks the state of the mouse button to aid in when events are fired.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__silent">
|
|
<h4><a name="property__silent" property="yui:name">_silent</a>
|
|
- <code>private <span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Indicates whether or not events will be supressed for the current
|
|
slide operation
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_animate">
|
|
<h4><a name="property_animate" property="yui:name">animate</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Flag that determines if the thumb will animate when moved
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_animationDuration">
|
|
<h4><a name="property_animationDuration" property="yui:name">animationDuration</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
If animation is configured, specifies the length of the animation
|
|
in seconds.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 0.2
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_backgroundEnabled">
|
|
<h4><a name="property_backgroundEnabled" property="yui:name">backgroundEnabled</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Set to false to disable a background click thumb move
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_baselinePos">
|
|
<h4><a name="property_baselinePos" property="yui:name">baselinePos</a>
|
|
- <code><span property="yui:type">[int, int]</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The basline position of the background element, used
|
|
to determine if the background has moved since the last
|
|
operation.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_dragOnly">
|
|
<h4><a name="property_dragOnly" property="yui:name">dragOnly</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Override the default setting of dragOnly to true.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: true
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_enableKeys">
|
|
<h4><a name="property_enableKeys" property="yui:name">enableKeys</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Enables the arrow, home and end keys, defaults to true.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property_isTarget">
|
|
<h4><a name="property_isTarget" property="yui:name">isTarget</a>
|
|
- <code>private <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Overrides the isTarget property in YAHOO.util.DragDrop
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_keyIncrement">
|
|
<h4><a name="property_keyIncrement" property="yui:name">keyIncrement</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Specifies the number of pixels the arrow keys will move the slider.
|
|
Default is 20.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_lastOffset">
|
|
<h4><a name="property_lastOffset" property="yui:name">lastOffset</a>
|
|
- <code><span property="yui:type">[int, int]</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Saved offset used to protect against NaN problems when slider is
|
|
set to display:none
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:property" resource="#property_moveComplete">
|
|
<h4><a name="property_moveComplete" property="yui:name">moveComplete</a>
|
|
- <code><span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
moveComplete is set to true when the slider has moved to its final
|
|
destination. For animated slider, this value can be checked in
|
|
the onChange handler to make it possible to execute logic only
|
|
when the move is complete rather than at all points along the way.
|
|
Deprecated because this flag is only useful when the background is
|
|
clicked and the slider is animated. If the user drags the thumb,
|
|
the flag is updated when the drag is over ... the final onDrag event
|
|
fires before the mouseup the ends the drag, so the implementer will
|
|
never see it.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="deprecated" property="yui:deprecated">
|
|
<strong>Deprecated:</strong> use the slideEnd event instead
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_Slider.ANIM_AVAIL">
|
|
<h4><a name="property_Slider.ANIM_AVAIL" property="yui:name">Slider.ANIM_AVAIL</a>
|
|
- <code>static <span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
By default, animation is available if the animation utility is detected.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_Slider.SOURCE_KEY_EVENT">
|
|
<h4><a name="property_Slider.SOURCE_KEY_EVENT" property="yui:name">Slider.SOURCE_KEY_EVENT</a>
|
|
- <code>static final <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Constant for valueChangeSource, indicating that the value was altered
|
|
by hitting any of the supported keyboard characters.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_Slider.SOURCE_SET_VALUE">
|
|
<h4><a name="property_Slider.SOURCE_SET_VALUE" property="yui:name">Slider.SOURCE_SET_VALUE</a>
|
|
- <code>static final <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Constant for valueChangeSource, indicating that the value was altered
|
|
by a programmatic call to setValue/setRegionValue.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_Slider.SOURCE_UI_EVENT">
|
|
<h4><a name="property_Slider.SOURCE_UI_EVENT" property="yui:name">Slider.SOURCE_UI_EVENT</a>
|
|
- <code>static final <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Constant for valueChangeSource, indicating that the user clicked or
|
|
dragged the slider to change the value.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:property" resource="#property_SOURCE_SET_VALUE">
|
|
<h4><a name="property_SOURCE_SET_VALUE" property="yui:name">SOURCE_SET_VALUE</a>
|
|
- <code>final <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Constant for valueChangeSource, indicating that the value was altered
|
|
by a programmatic call to setValue/setRegionValue.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<div class="deprecated" property="yui:deprecated">
|
|
<strong>Deprecated:</strong> use static Slider.SOURCE_SET_VALUE
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:property" resource="#property_SOURCE_UI_EVENT">
|
|
<h4><a name="property_SOURCE_UI_EVENT" property="yui:name">SOURCE_UI_EVENT</a>
|
|
- <code>final <span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Constant for valueChangeSource, indicating that the user clicked or
|
|
dragged the slider to change the value.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<div class="deprecated" property="yui:deprecated">
|
|
<strong>Deprecated:</strong> use static Slider.SOURCE_UI_EVENT
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_thumb">
|
|
<h4><a name="property_thumb" property="yui:name">thumb</a>
|
|
- <code><span property="yui:type">YAHOO.widget.SliderThumb</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
A YAHOO.widget.SliderThumb instance that we will use to
|
|
reposition the thumb when the background is clicked
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_thumbCenterPoint">
|
|
<h4><a name="property_thumbCenterPoint" property="yui:name">thumbCenterPoint</a>
|
|
- <code><span property="yui:type">{"x": int, "y": int}</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The center of the slider element is stored so we can
|
|
place it in the correct position when the background is clicked.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_tickPause">
|
|
<h4><a name="property_tickPause" property="yui:name">tickPause</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Adjustment factor for tick animation, the more ticks, the
|
|
faster the animation (by default)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_type">
|
|
<h4><a name="property_type" property="yui:name">type</a>
|
|
- <code><span property="yui:type">string</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The type of the slider (horiz, vert, region)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_valueChangeSource">
|
|
<h4><a name="property_valueChangeSource" property="yui:name">valueChangeSource</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
When the slider value changes, this property is set to identify where
|
|
the update came from. This will be either 1, meaning the slider was
|
|
clicked or dragged, or 2, meaning that it was set via a setValue() call.
|
|
This can be used within event handlers to apply some of the logic only
|
|
when dealing with one source or another.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.DragDrop.html">
|
|
<h4>Properties inherited from <a href="YAHOO.util.DragDrop.html" property="yui:name" title="YAHOO.util.DragDrop">YAHOO.util.DragDrop</a>:</h4>
|
|
<div class="content" rel="yui:properties">
|
|
<code>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property___ygDragDrop">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property___ygDragDrop" property="yui:name" title="__ygDragDrop">__ygDragDrop</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property__domRef">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property__domRef" property="yui:name" title="_domRef">_domRef</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_available">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_available" property="yui:name" title="available">available</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_config">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_config" property="yui:name" title="config">config</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_constrainX">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_constrainX" property="yui:name" title="constrainX">constrainX</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_constrainY">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_constrainY" property="yui:name" title="constrainY">constrainY</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_cursorIsOver">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_cursorIsOver" property="yui:name" title="cursorIsOver">cursorIsOver</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_deltaX">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_deltaX" property="yui:name" title="deltaX">deltaX</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_deltaY">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_deltaY" property="yui:name" title="deltaY">deltaY</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_dragElId">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_dragElId" property="yui:name" title="dragElId">dragElId</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_dragOnly">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_dragOnly" property="yui:name" title="dragOnly">dragOnly</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_events">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_events" property="yui:name" title="events">events</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_groups">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_groups" property="yui:name" title="groups">groups</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_handleElId">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_handleElId" property="yui:name" title="handleElId">handleElId</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_hasOuterHandles">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_hasOuterHandles" property="yui:name" title="hasOuterHandles">hasOuterHandles</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_id">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_id" property="yui:name" title="id">id</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_invalidHandleClasses">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_invalidHandleClasses" property="yui:name" title="invalidHandleClasses">invalidHandleClasses</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_invalidHandleIds">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_invalidHandleIds" property="yui:name" title="invalidHandleIds">invalidHandleIds</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_invalidHandleTypes">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_invalidHandleTypes" property="yui:name" title="invalidHandleTypes">invalidHandleTypes</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_isTarget">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_isTarget" property="yui:name" title="isTarget">isTarget</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_locked">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_locked" property="yui:name" title="locked">locked</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_maintainOffset">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_maintainOffset" property="yui:name" title="maintainOffset">maintainOffset</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_maxX">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_maxX" property="yui:name" title="maxX">maxX</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_maxY">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_maxY" property="yui:name" title="maxY">maxY</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_minX">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_minX" property="yui:name" title="minX">minX</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_minY">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_minY" property="yui:name" title="minY">minY</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_overlap">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_overlap" property="yui:name" title="overlap">overlap</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_padding">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_padding" property="yui:name" title="padding">padding</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_primaryButtonOnly">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_primaryButtonOnly" property="yui:name" title="primaryButtonOnly">primaryButtonOnly</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_startPageX">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_startPageX" property="yui:name" title="startPageX">startPageX</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_startPageY">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#property_startPageY" property="yui:name" title="startPageY">startPageY</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_useShim">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_useShim" property="yui:name" title="useShim">useShim</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_xTicks">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_xTicks" property="yui:name" title="xTicks">xTicks</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.DragDrop.html#property_yTicks">
|
|
<a class="" href="YAHOO.util.DragDrop.html#property_yTicks" property="yui:name" title="yTicks">yTicks</a>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
|
|
<h4>Properties inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
|
|
<div class="content" rel="yui:properties">
|
|
<code>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_events">
|
|
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_events" property="yui:name" title="__yui_events">__yui_events</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_subscribers">
|
|
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_subscribers" property="yui:name" title="__yui_subscribers">__yui_subscribers</a>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:methods" resource="#methods">
|
|
<div class="section method details">
|
|
<h3 id="methods">Methods</h3>
|
|
<div class="content">
|
|
<div class="protected" rel="yui:method" resource="#method__bindKeyEvents">
|
|
<h4>
|
|
<a name="method__bindKeyEvents">_bindKeyEvents</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_bindKeyEvents</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets up the listeners for keydown and key press events.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__getNextX">
|
|
<h4>
|
|
<a name="method__getNextX">_getNextX</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_getNextX</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the next X tick value based on the current coord and the target coord.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__getNextY">
|
|
<h4>
|
|
<a name="method__getNextY">_getNextY</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_getNextY</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the next Y tick value based on the current coord and the target coord.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__setRegionValue">
|
|
<h4>
|
|
<a name="method__setRegionValue">_setRegionValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">_setRegionValue</strong>
|
|
(
|
|
|
|
|
|
source
|
|
|
|
|
|
,
|
|
newOffset
|
|
|
|
|
|
,
|
|
newOffset2
|
|
|
|
|
|
,
|
|
skipAnim
|
|
|
|
|
|
,
|
|
force
|
|
|
|
|
|
,
|
|
silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Worker function to execute the value set operation. Accepts type of
|
|
set operation in addition to the usual setValue params.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">source</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> what triggered the set (e.g. Slider.SOURCE_SET_VALUE)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point (x axis for region)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset2</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point (y axis for region)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">skipAnim</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true to disable the animation
|
|
for this move action (but not others).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">force</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> ignore the locked setting and set value anyway</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> when true, do not fire events</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if the move was performed, false if it failed</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__setValue">
|
|
<h4>
|
|
<a name="method__setValue">_setValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">_setValue</strong>
|
|
(
|
|
|
|
|
|
source
|
|
|
|
|
|
,
|
|
newOffset
|
|
|
|
|
|
,
|
|
skipAnim
|
|
|
|
|
|
,
|
|
force
|
|
|
|
|
|
,
|
|
silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Worker function to execute the value set operation. Accepts type of
|
|
set operation in addition to the usual setValue params.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">source</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> what triggered the set (e.g. Slider.SOURCE_SET_VALUE)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">skipAnim</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true to disable the animation
|
|
for this move action (but not others).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">force</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> ignore the locked setting and set value anyway</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> when true, do not fire events</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if the move was performed, false if it failed</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_b4MouseDown">
|
|
<h4>
|
|
<a name="method_b4MouseDown">b4MouseDown</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">b4MouseDown</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Resets the constraints before moving the thumb.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_endMove">
|
|
<h4>
|
|
<a name="method_endMove">endMove</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">endMove</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fired when the slider movement ends
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_fireEvents">
|
|
<h4>
|
|
<a name="method_fireEvents">fireEvents</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">fireEvents</strong>
|
|
(
|
|
|
|
|
|
thumbEvent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires the change event if the value has been changed. Ignored if we are in
|
|
the middle of an animation as the event will fire when the animation is
|
|
complete
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">thumbEvent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true if this event is fired from an event
|
|
that occurred on the thumb. If it is, the state of the
|
|
thumb dd object should be correct. Otherwise, the event
|
|
originated on the background, so the thumb state needs to
|
|
be refreshed before proceeding.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_focus">
|
|
<h4>
|
|
<a name="method_focus">focus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">focus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Try to focus the element when clicked so we can add
|
|
accessibility features
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getThumb">
|
|
<h4>
|
|
<a name="method_getThumb">getThumb</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
SliderThumb
|
|
<strong property="yui:name">getThumb</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns a reference to this slider's thumb
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
SliderThumb
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">this slider's thumb</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getValue">
|
|
<h4>
|
|
<a name="method_getValue">getValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
int
|
|
<strong property="yui:name">getValue</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the slider's thumb offset from the start position
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
int
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the current value</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getXValue">
|
|
<h4>
|
|
<a name="method_getXValue">getXValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
int
|
|
<strong property="yui:name">getXValue</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the slider's thumb X offset from the start position
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
int
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the current horizontal offset</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getYValue">
|
|
<h4>
|
|
<a name="method_getYValue">getYValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
int
|
|
<strong property="yui:name">getYValue</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the slider's thumb Y offset from the start position
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
int
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the current vertical offset</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_handleKeyDown">
|
|
<h4>
|
|
<a name="method_handleKeyDown">handleKeyDown</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">handleKeyDown</strong>
|
|
(
|
|
|
|
|
|
e
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Executed when a keydown event happens with the control focused.
|
|
Updates the slider value and display when the keypress is an
|
|
arrow key, home, or end as long as enableKeys is set to true.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">e</span>
|
|
<<span property="yui:type">Event</span>>
|
|
</code>
|
|
<span property="yui:description"> the keydown event</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_handleKeyPress">
|
|
<h4>
|
|
<a name="method_handleKeyPress">handleKeyPress</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">handleKeyPress</strong>
|
|
(
|
|
|
|
|
|
e
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Executed when a keypress event happens with the control focused.
|
|
Prevents the default behavior for navigation keys. The actual
|
|
logic for moving the slider thumb in response to a key event
|
|
happens in handleKeyDown.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">e</span>
|
|
<<span property="yui:type">Event</span>>
|
|
</code>
|
|
<span property="yui:description"> the keypress event</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_initSlider">
|
|
<h4>
|
|
<a name="method_initSlider">initSlider</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">initSlider</strong>
|
|
(
|
|
|
|
|
|
sType
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initializes the slider. Executed in the constructor
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sType</span>
|
|
<<span property="yui:type">string</span>>
|
|
</code>
|
|
<span property="yui:description"> the type of slider (horiz, vert, region)</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_initThumb">
|
|
<h4>
|
|
<a name="method_initThumb">initThumb</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">initThumb</strong>
|
|
(
|
|
|
|
|
|
t
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initializes the slider's thumb. Executed in the constructor.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">t</span>
|
|
<<span property="yui:type">YAHOO.widget.SliderThumb</span>>
|
|
</code>
|
|
<span property="yui:description"> the slider thumb</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_lock">
|
|
<h4>
|
|
<a name="method_lock">lock</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">lock</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Locks the slider, overrides YAHOO.util.DragDrop
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_moveOneTick">
|
|
<h4>
|
|
<a name="method_moveOneTick">moveOneTick</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">moveOneTick</strong>
|
|
(
|
|
|
|
|
|
the
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Move the slider one tick mark towards its final coordinate. Used
|
|
for the animation when tick marks are defined
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">the</span>
|
|
<<span property="yui:type">int[]</span>>
|
|
</code>
|
|
<span property="yui:description"> destination coordinate</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_moveThumb">
|
|
<h4>
|
|
<a name="method_moveThumb">moveThumb</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">moveThumb</strong>
|
|
(
|
|
|
|
|
|
x
|
|
|
|
|
|
,
|
|
y
|
|
|
|
|
|
,
|
|
skipAnim
|
|
|
|
|
|
,
|
|
midMove
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Move the associated slider moved to a timeout to try to get around the
|
|
mousedown stealing moz does when I move the slider element between the
|
|
cursor and the background during the mouseup event
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">x</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the X coordinate of the click</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">y</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the Y coordinate of the click</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">skipAnim</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> don't animate if the move happend onDrag</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">midMove</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true if this is not terminating
|
|
the slider movement</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_onAvailable">
|
|
<h4>
|
|
<a name="method_onAvailable">onAvailable</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onAvailable</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Executed when the slider element is available
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:method" resource="#method_onChange">
|
|
<h4>
|
|
<a name="method_onChange">onChange</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onChange</strong>
|
|
(
|
|
|
|
|
|
firstOffset
|
|
|
|
|
|
,
|
|
secondOffset
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event that fires when the value of the slider has changed
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">firstOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb has moved
|
|
from its start position. Normal horizontal and vertical sliders will only
|
|
have the firstOffset. Regions will have both, the first is the horizontal
|
|
offset, the second the vertical.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">secondOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the y offset for region sliders</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated</strong> use instance.subscribe("change") instead
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_onDrag">
|
|
<h4>
|
|
<a name="method_onDrag">onDrag</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onDrag</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Handles the onDrag event for the slider background
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_onMouseDown">
|
|
<h4>
|
|
<a name="method_onMouseDown">onMouseDown</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onMouseDown</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Handles the mousedown event for the slider background
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:method" resource="#method_onSliderEnd">
|
|
<h4>
|
|
<a name="method_onSliderEnd">onSliderEnd</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onSliderEnd</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event that fires at the end of a slider thumb move
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated</strong> use instance.subscribe("slideEnd") instead
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class=" deprecated" rel="yui:method" resource="#method_onSlideStart">
|
|
<h4>
|
|
<a name="method_onSlideStart">onSlideStart</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">onSlideStart</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event that fires when the at the beginning of the slider thumb move
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated</strong> use instance.subscribe("slideStart") instead
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method_resetThumbConstraints">
|
|
<h4>
|
|
<a name="method_resetThumbConstraints">resetThumbConstraints</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">resetThumbConstraints</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Resets the X and Y contraints for the thumb. Used in lieu of the thumb
|
|
instance's inherited resetConstraints because some logic was not
|
|
applicable.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setRegionValue">
|
|
<h4>
|
|
<a name="method_setRegionValue">setRegionValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">setRegionValue</strong>
|
|
(
|
|
|
|
|
|
newOffset
|
|
|
|
|
|
,
|
|
newOffset2
|
|
|
|
|
|
,
|
|
skipAnim
|
|
|
|
|
|
,
|
|
force
|
|
|
|
|
|
,
|
|
silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Provides a way to set the value of the region slider in code.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point (x axis for region)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset2</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point (y axis for region)</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">skipAnim</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true to disable the animation
|
|
for this move action (but not others).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">force</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> ignore the locked setting and set value anyway</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> when true, do not fire events</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if the move was performed, false if it failed</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setStartSliderState">
|
|
<h4>
|
|
<a name="method_setStartSliderState">setStartSliderState</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">setStartSliderState</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initialization that sets up the value offsets once the elements are ready
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setThumbCenterPoint">
|
|
<h4>
|
|
<a name="method_setThumbCenterPoint">setThumbCenterPoint</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">setThumbCenterPoint</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
When the thumb is available, we cache the centerpoint of the element so
|
|
we can position the element correctly when the background is clicked
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setValue">
|
|
<h4>
|
|
<a name="method_setValue">setValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">setValue</strong>
|
|
(
|
|
|
|
|
|
newOffset
|
|
|
|
|
|
,
|
|
skipAnim
|
|
|
|
|
|
,
|
|
force
|
|
|
|
|
|
,
|
|
silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Provides a way to set the value of the slider in code.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb should be
|
|
positioned away from the initial start point</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">skipAnim</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> set to true to disable the animation
|
|
for this move action (but not others).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">force</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> ignore the locked setting and set value anyway</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> when true, do not fire events</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if the move was performed, false if it failed</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_thumbMouseUp">
|
|
<h4>
|
|
<a name="method_thumbMouseUp">thumbMouseUp</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">thumbMouseUp</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Handles mouseup event on the thumb
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_toString">
|
|
<h4>
|
|
<a name="method_toString">toString</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">toString</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Slider toString
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">string representation of the instance</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_unlock">
|
|
<h4>
|
|
<a name="method_unlock">unlock</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">unlock</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Unlocks the slider, overrides YAHOO.util.DragDrop
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_verifyOffset">
|
|
<h4>
|
|
<a name="method_verifyOffset">verifyOffset</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">verifyOffset</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Checks the background position element position. If it has moved from the
|
|
baseline position, the constraints for the thumb are reset
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">True if the offset is the same as the baseline.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Slider.getHorizDualSlider">
|
|
<h4>
|
|
<a name="method_YAHOO.widget.Slider.getHorizDualSlider">YAHOO.widget.Slider.getHorizDualSlider</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
static
|
|
|
|
DualSlider
|
|
<strong property="yui:name">YAHOO.widget.Slider.getHorizDualSlider</strong>
|
|
(
|
|
|
|
|
|
bg
|
|
|
|
|
|
,
|
|
minthumb
|
|
|
|
|
|
,
|
|
maxthumb
|
|
|
|
|
|
,
|
|
range
|
|
|
|
|
|
,
|
|
iTickSize
|
|
|
|
|
|
,
|
|
initVals
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Factory method for creating a horizontal dual-thumb slider
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">bg</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the slider's background element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">minthumb</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the min thumb</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">maxthumb</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the thumb thumb</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">range</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumbs can move within</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iTickSize</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> (optional) the element should move this many pixels
|
|
at a time</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">initVals</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> (optional) [min,max] Initial thumb placement</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
DualSlider
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a horizontal dual-thumb slider control</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Slider.getHorizSlider">
|
|
<h4>
|
|
<a name="method_YAHOO.widget.Slider.getHorizSlider">YAHOO.widget.Slider.getHorizSlider</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
static
|
|
|
|
Slider
|
|
<strong property="yui:name">YAHOO.widget.Slider.getHorizSlider</strong>
|
|
(
|
|
|
|
|
|
sBGElId
|
|
|
|
|
|
,
|
|
sHandleElId
|
|
|
|
|
|
,
|
|
iLeft
|
|
|
|
|
|
,
|
|
iRight
|
|
|
|
|
|
,
|
|
iTickSize
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Factory method for creating a horizontal slider
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sBGElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the slider's background element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sHandleElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the thumb element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iLeft</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move left</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iRight</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move right</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iTickSize</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> optional parameter for specifying that the element
|
|
should move a certain number pixels at a time.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Slider
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a horizontal slider control</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Slider.getSliderRegion">
|
|
<h4>
|
|
<a name="method_YAHOO.widget.Slider.getSliderRegion">YAHOO.widget.Slider.getSliderRegion</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
static
|
|
|
|
Slider
|
|
<strong property="yui:name">YAHOO.widget.Slider.getSliderRegion</strong>
|
|
(
|
|
|
|
|
|
sBGElId
|
|
|
|
|
|
,
|
|
sHandleElId
|
|
|
|
|
|
,
|
|
iLeft
|
|
|
|
|
|
,
|
|
iRight
|
|
|
|
|
|
,
|
|
iUp
|
|
|
|
|
|
,
|
|
iDown
|
|
|
|
|
|
,
|
|
iTickSize
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Factory method for creating a slider region like the one in the color
|
|
picker example
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sBGElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the slider's background element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sHandleElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the thumb element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iLeft</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move left</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iRight</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move right</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iUp</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move up</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iDown</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move down</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iTickSize</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> optional parameter for specifying that the element
|
|
should move a certain number pixels at a time.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Slider
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a slider region control</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Slider.getVertDualSlider">
|
|
<h4>
|
|
<a name="method_YAHOO.widget.Slider.getVertDualSlider">YAHOO.widget.Slider.getVertDualSlider</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
static
|
|
|
|
DualSlider
|
|
<strong property="yui:name">YAHOO.widget.Slider.getVertDualSlider</strong>
|
|
(
|
|
|
|
|
|
bg
|
|
|
|
|
|
,
|
|
minthumb
|
|
|
|
|
|
,
|
|
maxthumb
|
|
|
|
|
|
,
|
|
range
|
|
|
|
|
|
,
|
|
iTickSize
|
|
|
|
|
|
,
|
|
initVals
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Factory method for creating a vertical dual-thumb slider.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">bg</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the slider's background element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">minthumb</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the min thumb</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">maxthumb</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the thumb thumb</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">range</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumbs can move within</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iTickSize</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> (optional) the element should move this many pixels
|
|
at a time</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">initVals</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> (optional) [min,max] Initial thumb placement</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
DualSlider
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a vertical dual-thumb slider control</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Slider.getVertSlider">
|
|
<h4>
|
|
<a name="method_YAHOO.widget.Slider.getVertSlider">YAHOO.widget.Slider.getVertSlider</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
static
|
|
|
|
Slider
|
|
<strong property="yui:name">YAHOO.widget.Slider.getVertSlider</strong>
|
|
(
|
|
|
|
|
|
sBGElId
|
|
|
|
|
|
,
|
|
sHandleElId
|
|
|
|
|
|
,
|
|
iUp
|
|
|
|
|
|
,
|
|
iDown
|
|
|
|
|
|
,
|
|
iTickSize
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Factory method for creating a vertical slider
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sBGElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the slider's background element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">sHandleElId</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> the id of the thumb element</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iUp</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move up</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iDown</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the element can move down</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iTickSize</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> optional parameter for specifying that the element
|
|
should move a certain number pixels at a time.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Slider
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a vertical slider control</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.DragDrop.html">
|
|
<h4>Methods inherited from <a href="YAHOO.util.DragDrop.html" property="yui:name" title="YAHOO.util.DragDrop">YAHOO.util.DragDrop</a>:</h4>
|
|
<div class="content" rel="yui:methods">
|
|
<code>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_addInvalidHandleClass">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_addInvalidHandleClass" property="yui:name" title="addInvalidHandleClass">addInvalidHandleClass</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_addInvalidHandleId">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_addInvalidHandleId" property="yui:name" title="addInvalidHandleId">addInvalidHandleId</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_addInvalidHandleType">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_addInvalidHandleType" property="yui:name" title="addInvalidHandleType">addInvalidHandleType</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_addToGroup">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_addToGroup" property="yui:name" title="addToGroup">addToGroup</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_applyConfig">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_applyConfig" property="yui:name" title="applyConfig">applyConfig</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4Drag">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4Drag" property="yui:name" title="b4Drag">b4Drag</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4DragDrop">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4DragDrop" property="yui:name" title="b4DragDrop">b4DragDrop</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4DragOut">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4DragOut" property="yui:name" title="b4DragOut">b4DragOut</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4DragOver">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4DragOver" property="yui:name" title="b4DragOver">b4DragOver</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4EndDrag">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4EndDrag" property="yui:name" title="b4EndDrag">b4EndDrag</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4MouseDown">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4MouseDown" property="yui:name" title="b4MouseDown">b4MouseDown</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_b4StartDrag">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_b4StartDrag" property="yui:name" title="b4StartDrag">b4StartDrag</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_clearConstraints">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_clearConstraints" property="yui:name" title="clearConstraints">clearConstraints</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_clearTicks">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_clearTicks" property="yui:name" title="clearTicks">clearTicks</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_clickValidator">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_clickValidator" property="yui:name" title="clickValidator">clickValidator</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_endDrag">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_endDrag" property="yui:name" title="endDrag">endDrag</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_getDragEl">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_getDragEl" property="yui:name" title="getDragEl">getDragEl</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_getEl">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_getEl" property="yui:name" title="getEl">getEl</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_getTargetCoord">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_getTargetCoord" property="yui:name" title="getTargetCoord">getTargetCoord</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_getTick">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_getTick" property="yui:name" title="getTick">getTick</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_handleMouseDown">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_handleMouseDown" property="yui:name" title="handleMouseDown">handleMouseDown</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_handleOnAvailable">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_handleOnAvailable" property="yui:name" title="handleOnAvailable">handleOnAvailable</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_init">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_init" property="yui:name" title="init">init</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_initTarget">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_initTarget" property="yui:name" title="initTarget">initTarget</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_isLocked">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_isLocked" property="yui:name" title="isLocked">isLocked</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_isValidHandleChild">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_isValidHandleChild" property="yui:name" title="isValidHandleChild">isValidHandleChild</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_lock">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_lock" property="yui:name" title="lock">lock</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_on">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_on" property="yui:name" title="on">on</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onAvailable">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onAvailable" property="yui:name" title="onAvailable">onAvailable</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onDrag">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onDrag" property="yui:name" title="onDrag">onDrag</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onDragDrop">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onDragDrop" property="yui:name" title="onDragDrop">onDragDrop</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onDragEnter">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onDragEnter" property="yui:name" title="onDragEnter">onDragEnter</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onDragOut">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onDragOut" property="yui:name" title="onDragOut">onDragOut</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onDragOver">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onDragOver" property="yui:name" title="onDragOver">onDragOver</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onInvalidDrop">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onInvalidDrop" property="yui:name" title="onInvalidDrop">onInvalidDrop</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onMouseDown">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onMouseDown" property="yui:name" title="onMouseDown">onMouseDown</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_onMouseUp">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_onMouseUp" property="yui:name" title="onMouseUp">onMouseUp</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_removeFromGroup">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_removeFromGroup" property="yui:name" title="removeFromGroup">removeFromGroup</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_removeInvalidHandleClass">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_removeInvalidHandleClass" property="yui:name" title="removeInvalidHandleClass">removeInvalidHandleClass</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_removeInvalidHandleId">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_removeInvalidHandleId" property="yui:name" title="removeInvalidHandleId">removeInvalidHandleId</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_removeInvalidHandleType">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_removeInvalidHandleType" property="yui:name" title="removeInvalidHandleType">removeInvalidHandleType</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_resetConstraints">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_resetConstraints" property="yui:name" title="resetConstraints">resetConstraints</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setDragElId">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setDragElId" property="yui:name" title="setDragElId">setDragElId</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setHandleElId">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setHandleElId" property="yui:name" title="setHandleElId">setHandleElId</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setInitialPosition">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_setInitialPosition" property="yui:name" title="setInitialPosition">setInitialPosition</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setOuterHandleElId">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setOuterHandleElId" property="yui:name" title="setOuterHandleElId">setOuterHandleElId</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setPadding">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setPadding" property="yui:name" title="setPadding">setPadding</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setStartPosition">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_setStartPosition" property="yui:name" title="setStartPosition">setStartPosition</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setXConstraint">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setXConstraint" property="yui:name" title="setXConstraint">setXConstraint</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setXTicks">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_setXTicks" property="yui:name" title="setXTicks">setXTicks</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setYConstraint">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_setYConstraint" property="yui:name" title="setYConstraint">setYConstraint</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_setYTicks">
|
|
<a class="private" href="YAHOO.util.DragDrop.html#method_setYTicks" property="yui:name" title="setYTicks">setYTicks</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_startDrag">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_startDrag" property="yui:name" title="startDrag">startDrag</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_toString">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_toString" property="yui:name" title="toString">toString</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_unlock">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_unlock" property="yui:name" title="unlock">unlock</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.DragDrop.html#method_unreg">
|
|
<a class="" href="YAHOO.util.DragDrop.html#method_unreg" property="yui:name" title="unreg">unreg</a>
|
|
</span>
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
|
|
<h4>Methods inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
|
|
<div class="content" rel="yui:methods">
|
|
<code>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_createEvent">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_createEvent" property="yui:name" title="createEvent">createEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_fireEvent">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_fireEvent" property="yui:name" title="fireEvent">fireEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_hasEvent">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_hasEvent" property="yui:name" title="hasEvent">hasEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_subscribe">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribe">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribeAll">
|
|
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a>
|
|
</span>
|
|
</code>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:events" resource="#events">
|
|
<div class="section method details">
|
|
<h3 id="events">Events</h3>
|
|
<div class="content">
|
|
<div class="" rel="yui:event" resource="#event_change">
|
|
<h4>
|
|
<a name="event_change">change</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">change</strong>
|
|
|
|
(
|
|
|
|
|
|
newOffset|x
|
|
|
|
|
|
,
|
|
y
|
|
|
|
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event the fires when the value of the control changes. If
|
|
the control is animated the event will fire every point
|
|
along the way.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">newOffset|x</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the new offset for normal sliders, or the new
|
|
x offset for region sliders</span>
|
|
</dd>
|
|
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">y</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the number of pixels the thumb has moved on the y axis
|
|
(region sliders only)</span>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_slideEnd">
|
|
<h4>
|
|
<a name="event_slideEnd">slideEnd</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">slideEnd</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event that fires at the end of a slider thumb move
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_slideStart">
|
|
<h4>
|
|
<a name="event_slideStart">slideStart</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">slideStart</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event that fires at the beginning of a slider thumb move.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.DragDrop.html">
|
|
<h4>Events inherited from <a href="YAHOO.util.DragDrop.html" property="yui:name" title="YAHOO.util.DragDrop">YAHOO.util.DragDrop</a>:</h4>
|
|
<div class="content" rel="yui:events">
|
|
<code>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4DragDropEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4DragDropEvent" property="yui:name" title="b4DragDropEvent">b4DragDropEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4DragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4DragEvent" property="yui:name" title="b4DragEvent">b4DragEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4DragOutEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4DragOutEvent" property="yui:name" title="b4DragOutEvent">b4DragOutEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4DragOverEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4DragOverEvent" property="yui:name" title="b4DragOverEvent">b4DragOverEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4EndDragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4EndDragEvent" property="yui:name" title="b4EndDragEvent">b4EndDragEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4MouseDownEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4MouseDownEvent" property="yui:name" title="b4MouseDownEvent">b4MouseDownEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_b4StartDragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_b4StartDragEvent" property="yui:name" title="b4StartDragEvent">b4StartDragEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_dragDropEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_dragDropEvent" property="yui:name" title="dragDropEvent">dragDropEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_dragEnterEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_dragEnterEvent" property="yui:name" title="dragEnterEvent">dragEnterEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_dragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_dragEvent" property="yui:name" title="dragEvent">dragEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_dragOutEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_dragOutEvent" property="yui:name" title="dragOutEvent">dragOutEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_dragOverEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_dragOverEvent" property="yui:name" title="dragOverEvent">dragOverEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_endDragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_endDragEvent" property="yui:name" title="endDragEvent">endDragEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_invalidDropEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_invalidDropEvent" property="yui:name" title="invalidDropEvent">invalidDropEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_mouseDownEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_mouseDownEvent" property="yui:name" title="mouseDownEvent">mouseDownEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_mouseUpEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_mouseUpEvent" property="yui:name" title="mouseUpEvent">mouseUpEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.util.DragDrop.html#event_startDragEvent">
|
|
<a class="" href="YAHOO.util.DragDrop.html#event_startDragEvent" property="yui:name" title="startDragEvent">startDragEvent</a><span class="">,</span>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:attributes" resource="#configattributes">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<div class="nav">
|
|
|
|
<div id="moduleList" class="module">
|
|
<h4>Modules</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="module_animation.html" title="animation">animation</a></li>
|
|
<li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
|
|
<li class=""><a href="module_button.html" title="button">button</a></li>
|
|
<li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
|
|
<li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
|
|
<li class=""><a href="module_charts.html" title="charts">charts</a></li>
|
|
<li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
|
|
<li class=""><a href="module_connection.html" title="connection">connection</a></li>
|
|
<li class=""><a href="module_container.html" title="container">container</a></li>
|
|
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
|
|
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
|
|
<li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
|
|
<li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
|
|
<li class=""><a href="module_dom.html" title="dom">dom</a></li>
|
|
<li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
|
|
<li class=""><a href="module_editor.html" title="editor">editor</a></li>
|
|
<li class=""><a href="module_element.html" title="element">element</a></li>
|
|
<li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
|
|
<li class=""><a href="module_event.html" title="event">event</a></li>
|
|
<li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
|
|
<li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
|
|
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
|
|
<li class=""><a href="module_get.html" title="get">get</a></li>
|
|
<li class=""><a href="module_history.html" title="history">history</a></li>
|
|
<li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
|
|
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
|
|
<li class=""><a href="module_json.html" title="json">json</a></li>
|
|
<li class=""><a href="module_layout.html" title="layout">layout</a></li>
|
|
<li class=""><a href="module_logger.html" title="logger">logger</a></li>
|
|
<li class=""><a href="module_menu.html" title="menu">menu</a></li>
|
|
<li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
|
|
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
|
|
<li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
|
|
<li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
|
|
<li class=""><a href="module_resize.html" title="resize">resize</a></li>
|
|
<li class=""><a href="module_selector.html" title="selector">selector</a></li>
|
|
<li class="selected"><a href="module_slider.html" title="slider">slider</a></li>
|
|
<li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
|
|
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
|
|
<li class=""><a href="module_swf.html" title="swf">swf</a></li>
|
|
<li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
|
|
<li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
|
|
<li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
|
|
<li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
|
|
<li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
|
|
<li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
|
|
<li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
|
|
<li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="classList" class="module">
|
|
<h4>Classes</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="YAHOO.widget.DualSlider.html" title="YAHOO.widget.DualSlider">YAHOO.widget.DualSlider</a></li>
|
|
<li class="selected"><a href="YAHOO.widget.Slider.html" title="YAHOO.widget.Slider">YAHOO.widget.Slider</a></li>
|
|
<li class=""><a href="YAHOO.widget.SliderThumb.html" title="YAHOO.widget.SliderThumb">YAHOO.widget.SliderThumb</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="fileList" class="module">
|
|
<h4>Files</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="DualSlider.js.html" title="DualSlider.js">DualSlider.js</a></li>
|
|
<li class=""><a href="Slider.js.html" title="Slider.js">Slider.js</a></li>
|
|
<li class=""><a href="SliderThumb.js.html" title="SliderThumb.js">SliderThumb.js</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="propertyList" class="module">
|
|
<h4>Properties</h4>
|
|
<ul class="content">
|
|
<li class="private"><a href="#property__mouseDown" title="_mouseDown">_mouseDown</a></li>
|
|
<li class="private"><a href="#property__silent" title="_silent">_silent</a></li>
|
|
<li class=""><a href="#property_animate" title="animate">animate</a></li>
|
|
<li class=""><a href="#property_animationDuration" title="animationDuration">animationDuration</a></li>
|
|
<li class=""><a href="#property_backgroundEnabled" title="backgroundEnabled">backgroundEnabled</a></li>
|
|
<li class=""><a href="#property_baselinePos" title="baselinePos">baselinePos</a></li>
|
|
<li class=""><a href="#property_dragOnly" title="dragOnly">dragOnly</a></li>
|
|
<li class=""><a href="#property_enableKeys" title="enableKeys">enableKeys</a></li>
|
|
<li class="private"><a href="#property_isTarget" title="isTarget">isTarget</a></li>
|
|
<li class=""><a href="#property_keyIncrement" title="keyIncrement">keyIncrement</a></li>
|
|
<li class=""><a href="#property_lastOffset" title="lastOffset">lastOffset</a></li>
|
|
<li class=" deprecated"><a href="#property_moveComplete" title="moveComplete">moveComplete</a></li>
|
|
<li class=""><a href="#property_Slider.ANIM_AVAIL" title="Slider.ANIM_AVAIL">Slider.ANIM_AVAIL</a></li>
|
|
<li class=""><a href="#property_Slider.SOURCE_KEY_EVENT" title="Slider.SOURCE_KEY_EVENT">Slider.SOURCE_KEY_EVENT</a></li>
|
|
<li class=""><a href="#property_Slider.SOURCE_SET_VALUE" title="Slider.SOURCE_SET_VALUE">Slider.SOURCE_SET_VALUE</a></li>
|
|
<li class=""><a href="#property_Slider.SOURCE_UI_EVENT" title="Slider.SOURCE_UI_EVENT">Slider.SOURCE_UI_EVENT</a></li>
|
|
<li class=" deprecated"><a href="#property_SOURCE_SET_VALUE" title="SOURCE_SET_VALUE">SOURCE_SET_VALUE</a></li>
|
|
<li class=" deprecated"><a href="#property_SOURCE_UI_EVENT" title="SOURCE_UI_EVENT">SOURCE_UI_EVENT</a></li>
|
|
<li class=""><a href="#property_thumb" title="thumb">thumb</a></li>
|
|
<li class=""><a href="#property_thumbCenterPoint" title="thumbCenterPoint">thumbCenterPoint</a></li>
|
|
<li class=""><a href="#property_tickPause" title="tickPause">tickPause</a></li>
|
|
<li class=""><a href="#property_type" title="type">type</a></li>
|
|
<li class=""><a href="#property_valueChangeSource" title="valueChangeSource">valueChangeSource</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="methodsList" class="module">
|
|
<h4>Methods</h4>
|
|
<ul class="content">
|
|
<li class="protected"><a href="#method__bindKeyEvents" title="_bindKeyEvents">_bindKeyEvents</a></li>
|
|
<li class="private"><a href="#method__getNextX" title="_getNextX">_getNextX</a></li>
|
|
<li class="private"><a href="#method__getNextY" title="_getNextY">_getNextY</a></li>
|
|
<li class="protected"><a href="#method__setRegionValue" title="_setRegionValue">_setRegionValue</a></li>
|
|
<li class="protected"><a href="#method__setValue" title="_setValue">_setValue</a></li>
|
|
<li class="private"><a href="#method_b4MouseDown" title="b4MouseDown">b4MouseDown</a></li>
|
|
<li class="private"><a href="#method_endMove" title="endMove">endMove</a></li>
|
|
<li class="private"><a href="#method_fireEvents" title="fireEvents">fireEvents</a></li>
|
|
<li class="private"><a href="#method_focus" title="focus">focus</a></li>
|
|
<li class=""><a href="#method_getThumb" title="getThumb">getThumb</a></li>
|
|
<li class=""><a href="#method_getValue" title="getValue">getValue</a></li>
|
|
<li class=""><a href="#method_getXValue" title="getXValue">getXValue</a></li>
|
|
<li class=""><a href="#method_getYValue" title="getYValue">getYValue</a></li>
|
|
<li class=""><a href="#method_handleKeyDown" title="handleKeyDown">handleKeyDown</a></li>
|
|
<li class=""><a href="#method_handleKeyPress" title="handleKeyPress">handleKeyPress</a></li>
|
|
<li class=""><a href="#method_initSlider" title="initSlider">initSlider</a></li>
|
|
<li class=""><a href="#method_initThumb" title="initThumb">initThumb</a></li>
|
|
<li class=""><a href="#method_lock" title="lock">lock</a></li>
|
|
<li class="private"><a href="#method_moveOneTick" title="moveOneTick">moveOneTick</a></li>
|
|
<li class="private"><a href="#method_moveThumb" title="moveThumb">moveThumb</a></li>
|
|
<li class=""><a href="#method_onAvailable" title="onAvailable">onAvailable</a></li>
|
|
<li class=" deprecated"><a href="#method_onChange" title="onChange">onChange</a></li>
|
|
<li class="private"><a href="#method_onDrag" title="onDrag">onDrag</a></li>
|
|
<li class="private"><a href="#method_onMouseDown" title="onMouseDown">onMouseDown</a></li>
|
|
<li class=" deprecated"><a href="#method_onSliderEnd" title="onSliderEnd">onSliderEnd</a></li>
|
|
<li class=" deprecated"><a href="#method_onSlideStart" title="onSlideStart">onSlideStart</a></li>
|
|
<li class="protected"><a href="#method_resetThumbConstraints" title="resetThumbConstraints">resetThumbConstraints</a></li>
|
|
<li class=""><a href="#method_setRegionValue" title="setRegionValue">setRegionValue</a></li>
|
|
<li class=""><a href="#method_setStartSliderState" title="setStartSliderState">setStartSliderState</a></li>
|
|
<li class=""><a href="#method_setThumbCenterPoint" title="setThumbCenterPoint">setThumbCenterPoint</a></li>
|
|
<li class=""><a href="#method_setValue" title="setValue">setValue</a></li>
|
|
<li class="private"><a href="#method_thumbMouseUp" title="thumbMouseUp">thumbMouseUp</a></li>
|
|
<li class=""><a href="#method_toString" title="toString">toString</a></li>
|
|
<li class=""><a href="#method_unlock" title="unlock">unlock</a></li>
|
|
<li class=""><a href="#method_verifyOffset" title="verifyOffset">verifyOffset</a></li>
|
|
<li class=""><a href="#method_YAHOO.widget.Slider.getHorizDualSlider" title="YAHOO.widget.Slider.getHorizDualSlider">YAHOO.widget.Slider.getHorizDualSlider</a></li>
|
|
<li class=""><a href="#method_YAHOO.widget.Slider.getHorizSlider" title="YAHOO.widget.Slider.getHorizSlider">YAHOO.widget.Slider.getHorizSlider</a></li>
|
|
<li class=""><a href="#method_YAHOO.widget.Slider.getSliderRegion" title="YAHOO.widget.Slider.getSliderRegion">YAHOO.widget.Slider.getSliderRegion</a></li>
|
|
<li class=""><a href="#method_YAHOO.widget.Slider.getVertDualSlider" title="YAHOO.widget.Slider.getVertDualSlider">YAHOO.widget.Slider.getVertDualSlider</a></li>
|
|
<li class=""><a href="#method_YAHOO.widget.Slider.getVertSlider" title="YAHOO.widget.Slider.getVertSlider">YAHOO.widget.Slider.getVertSlider</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="eventsList" class="module">
|
|
<h4>Events</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="#event_change" title="change">change</a></li>
|
|
<li class=""><a href="#event_slideEnd" title="slideEnd">slideEnd</a></li>
|
|
<li class=""><a href="#event_slideStart" title="slideStart">slideStart</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="ft">
|
|
<hr />
|
|
Copyright © 2010 Yahoo! Inc. All rights reserved.
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
|
|
var ALL_YUI_PROPS = [{"access": "", "host": "YAHOO.widget.DualSlider", "name": "activeSlider", "url": "YAHOO.widget.DualSlider.html#property_activeSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "animate", "url": "YAHOO.widget.Slider.html#property_animate", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "animationDuration", "url": "YAHOO.widget.Slider.html#property_animationDuration", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "b4MouseDown", "url": "YAHOO.widget.Slider.html#method_b4MouseDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "backgroundEnabled", "url": "YAHOO.widget.Slider.html#property_backgroundEnabled", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "baselinePos", "url": "YAHOO.widget.Slider.html#property_baselinePos", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_bindKeyEvents", "url": "YAHOO.widget.DualSlider.html#method__bindKeyEvents", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_bindKeyEvents", "url": "YAHOO.widget.Slider.html#method__bindKeyEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "change", "url": "YAHOO.widget.DualSlider.html#event_change", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "change", "url": "YAHOO.widget.Slider.html#event_change", "type": "event"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_cleanEvent", "url": "YAHOO.widget.DualSlider.html#method__cleanEvent", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "dragOnly", "url": "YAHOO.widget.Slider.html#property_dragOnly", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "enableKeys", "url": "YAHOO.widget.Slider.html#property_enableKeys", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "endMove", "url": "YAHOO.widget.Slider.html#method_endMove", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "fireEvents", "url": "YAHOO.widget.Slider.html#method_fireEvents", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "focus", "url": "YAHOO.widget.Slider.html#method_focus", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_getNextX", "url": "YAHOO.widget.Slider.html#method__getNextX", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_getNextY", "url": "YAHOO.widget.Slider.html#method__getNextY", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getThumb", "url": "YAHOO.widget.Slider.html#method_getThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getValue", "url": "YAHOO.widget.Slider.html#method_getValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getXValue", "url": "YAHOO.widget.Slider.html#method_getXValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "getYValue", "url": "YAHOO.widget.Slider.html#method_getYValue", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleDrag", "url": "YAHOO.widget.DualSlider.html#method__handleDrag", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleKeyDown", "url": "YAHOO.widget.DualSlider.html#method__handleKeyDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "handleKeyDown", "url": "YAHOO.widget.Slider.html#method_handleKeyDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleKeyPress", "url": "YAHOO.widget.DualSlider.html#method__handleKeyPress", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "handleKeyPress", "url": "YAHOO.widget.Slider.html#method_handleKeyPress", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleMaxChange", "url": "YAHOO.widget.DualSlider.html#method__handleMaxChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleMinChange", "url": "YAHOO.widget.DualSlider.html#method__handleMinChange", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleMouseDown", "url": "YAHOO.widget.DualSlider.html#method__handleMouseDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.DualSlider", "name": "_handleMouseUp", "url": "YAHOO.widget.DualSlider.html#method__handleMouseUp", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleSlideEnd", "url": "YAHOO.widget.DualSlider.html#method__handleSlideEnd", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_handleSlideStart", "url": "YAHOO.widget.DualSlider.html#method__handleSlideStart", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "initSlider", "url": "YAHOO.widget.Slider.html#method_initSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "initThumb", "url": "YAHOO.widget.Slider.html#method_initThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "isHoriz", "url": "YAHOO.widget.DualSlider.html#property_isHoriz", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "isTarget", "url": "YAHOO.widget.Slider.html#property_isTarget", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "keyIncrement", "url": "YAHOO.widget.Slider.html#property_keyIncrement", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "lastOffset", "url": "YAHOO.widget.Slider.html#property_lastOffset", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "lock", "url": "YAHOO.widget.Slider.html#method_lock", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "maxSlider", "url": "YAHOO.widget.DualSlider.html#property_maxSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "maxVal", "url": "YAHOO.widget.DualSlider.html#property_maxVal", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minRange", "url": "YAHOO.widget.DualSlider.html#property_minRange", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minSlider", "url": "YAHOO.widget.DualSlider.html#property_minSlider", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "minVal", "url": "YAHOO.widget.DualSlider.html#property_minVal", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_mouseDown", "url": "YAHOO.widget.Slider.html#property__mouseDown", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "moveComplete", "url": "YAHOO.widget.Slider.html#property_moveComplete", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "moveOneTick", "url": "YAHOO.widget.Slider.html#method_moveOneTick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "moveThumb", "url": "YAHOO.widget.Slider.html#method_moveThumb", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onAvailable", "url": "YAHOO.widget.Slider.html#method_onAvailable", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onChange", "url": "YAHOO.widget.Slider.html#method_onChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "onDrag", "url": "YAHOO.widget.Slider.html#method_onDrag", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "_oneTimeCallback", "url": "YAHOO.widget.DualSlider.html#method__oneTimeCallback", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "onMouseDown", "url": "YAHOO.widget.Slider.html#method_onMouseDown", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onSliderEnd", "url": "YAHOO.widget.Slider.html#method_onSliderEnd", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "onSlideStart", "url": "YAHOO.widget.Slider.html#method_onSlideStart", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "ready", "url": "YAHOO.widget.DualSlider.html#event_ready", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "resetThumbConstraints", "url": "YAHOO.widget.Slider.html#method_resetThumbConstraints", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "selectActiveSlider", "url": "YAHOO.widget.DualSlider.html#method_selectActiveSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setMaxValue", "url": "YAHOO.widget.DualSlider.html#method_setMaxValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setMinValue", "url": "YAHOO.widget.DualSlider.html#method_setMinValue", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_setRegionValue", "url": "YAHOO.widget.Slider.html#method__setRegionValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setRegionValue", "url": "YAHOO.widget.Slider.html#method_setRegionValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setStartSliderState", "url": "YAHOO.widget.Slider.html#method_setStartSliderState", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setThumbCenterPoint", "url": "YAHOO.widget.Slider.html#method_setThumbCenterPoint", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Slider", "name": "_setValue", "url": "YAHOO.widget.Slider.html#method__setValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "setValue", "url": "YAHOO.widget.Slider.html#method_setValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "setValues", "url": "YAHOO.widget.DualSlider.html#method_setValues", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "_silent", "url": "YAHOO.widget.Slider.html#property__silent", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "slideEnd", "url": "YAHOO.widget.DualSlider.html#event_slideEnd", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "slideEnd", "url": "YAHOO.widget.Slider.html#event_slideEnd", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.ANIM_AVAIL", "url": "YAHOO.widget.Slider.html#property_Slider.ANIM_AVAIL", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_KEY_EVENT", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_KEY_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_SET_VALUE", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_SET_VALUE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "Slider.SOURCE_UI_EVENT", "url": "YAHOO.widget.Slider.html#property_Slider.SOURCE_UI_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.DualSlider", "name": "slideStart", "url": "YAHOO.widget.DualSlider.html#event_slideStart", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "slideStart", "url": "YAHOO.widget.Slider.html#event_slideStart", "type": "event"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "SOURCE_SET_VALUE", "url": "YAHOO.widget.Slider.html#property_SOURCE_SET_VALUE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "SOURCE_UI_EVENT", "url": "YAHOO.widget.Slider.html#property_SOURCE_UI_EVENT", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "thumb", "url": "YAHOO.widget.Slider.html#property_thumb", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "thumbCenterPoint", "url": "YAHOO.widget.Slider.html#property_thumbCenterPoint", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Slider", "name": "thumbMouseUp", "url": "YAHOO.widget.Slider.html#method_thumbMouseUp", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "tickPause", "url": "YAHOO.widget.Slider.html#property_tickPause", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "toString", "url": "YAHOO.widget.Slider.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "type", "url": "YAHOO.widget.Slider.html#property_type", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "unlock", "url": "YAHOO.widget.Slider.html#method_unlock", "type": "method"}, {"access": "private", "host": "YAHOO.widget.DualSlider", "name": "updateValue", "url": "YAHOO.widget.DualSlider.html#method_updateValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "valueChangeSource", "url": "YAHOO.widget.Slider.html#property_valueChangeSource", "type": "property"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "verifyOffset", "url": "YAHOO.widget.Slider.html#method_verifyOffset", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getHorizDualSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getHorizDualSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getHorizSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getHorizSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getSliderRegion", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getSliderRegion", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getVertDualSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getVertDualSlider", "type": "method"}, {"access": "", "host": "YAHOO.widget.Slider", "name": "YAHOO.widget.Slider.getVertSlider", "url": "YAHOO.widget.Slider.html#method_YAHOO.widget.Slider.getVertSlider", "type": "method"}];
|
|
</script>
|
|
</body>
|
|
</html>
|