C# Class Fluqi.Widget.jToolTip.AnimationOptions

Models the Animation child for setting placement of the ToolTip control.
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
AnimationOptions ( jToolTip toolTipOptions, string caller ) : System

Constructor

Finish ( ) : jToolTip.Options

Used to flag that configuration of Options has finished, and returns the Options object so we can continue defining attributes.

SetDisabled ( ) : AnimationOptions

Turns off the animation

SetDuration ( Core speed ) : AnimationOptions

The duration the effect should play for.

SetDuration ( int duration ) : AnimationOptions

The duration the effect should play for (in milliseconds).

SetDuration ( string duration ) : AnimationOptions

The duration the effect should play for.

SetEasing ( Core ease ) : AnimationOptions

The easing to use when showing/hiding.

SetEasing ( string ease ) : AnimationOptions

The easing to use when showing/hiding.

SetEffect ( Core effect ) : AnimationOptions

The effect to use when showing/hiding.

SetEffect ( string effect ) : AnimationOptions

The effect to use when showing/hiding.

SetJSON ( string json ) : AnimationOptions

The json object specifing the animation properties.

Method Details

AnimationOptions() public method

Constructor
public AnimationOptions ( jToolTip toolTipOptions, string caller ) : System
toolTipOptions jToolTip ToolTip options object
caller string /// Specifies the type of caller using the animation. For instance it's common for the animation properties /// to be used by both "show" and "hide" methods on a widget. We need to differentiate between the two /// when rendering the script output. ///
return System

Finish() public method

Used to flag that configuration of Options has finished, and returns the Options object so we can continue defining attributes.
public Finish ( ) : jToolTip.Options
return jToolTip.Options

SetDisabled() public method

Turns off the animation
public SetDisabled ( ) : AnimationOptions
return AnimationOptions

SetDuration() public method

The duration the effect should play for.
public SetDuration ( Core speed ) : AnimationOptions
speed Core Duration enum to use.
return AnimationOptions

SetDuration() public method

The duration the effect should play for (in milliseconds).
public SetDuration ( int duration ) : AnimationOptions
duration int Duration (milliseconds) to use.
return AnimationOptions

SetDuration() public method

The duration the effect should play for.
public SetDuration ( string duration ) : AnimationOptions
duration string Duration to use, can be milliseconds, or "fast", "slow" or "normal".
return AnimationOptions

SetEasing() public method

The easing to use when showing/hiding.
public SetEasing ( Core ease ) : AnimationOptions
ease Core Ease enum to use
return AnimationOptions

SetEasing() public method

The easing to use when showing/hiding.
public SetEasing ( string ease ) : AnimationOptions
ease string Ease as a string to use
return AnimationOptions

SetEffect() public method

The effect to use when showing/hiding.
public SetEffect ( Core effect ) : AnimationOptions
effect Core Effect enum to use
return AnimationOptions

SetEffect() public method

The effect to use when showing/hiding.
public SetEffect ( string effect ) : AnimationOptions
effect string Effect as a string to use
return AnimationOptions

SetJSON() public method

The json object specifing the animation properties.
public SetJSON ( string json ) : AnimationOptions
json string JSON string
return AnimationOptions