Class YAHOO.util.Scroll

Object
   |
   +--YAHOO.util.Anim
         |
         +--YAHOO.util.Scroll

class YAHOO.util.Scroll
extends YAHOO.util.Anim

Method Summary [top]

Number doMethod (<String> attribute, <Number> start, <Number> end)
Returns the value computed by the animation's "method". 
Number getAttribute (<String> attribute)
Returns current value of the attribute. 
void setAttribute (<String> attribute, <Number> val, <String> unit)
Applies a value to an attribute 

Method Detail [top]

doMethod

Number doMethod (<String> attribute, <Number> start, <Number> end)
Returns the value computed by the animation's "method".
Parameters:
attribute - The name of the attribute.
start - The value this attribute should start from for this animation.
end - The value this attribute should end at for this animation.
Returns:
The Value to be applied to the attribute.

getAttribute

Number getAttribute (<String> attribute)
Returns current value of the attribute.
Parameters:
attribute - The name of the attribute.
Returns:
val The current value of the attribute.

setAttribute

void setAttribute (<String> attribute, <Number> val, <String> unit)
Applies a value to an attribute
Parameters:
attribute - The name of the attribute.
val - The value to be applied to the attribute.
unit - The unit ('px', '%', etc.) of the value.