C# Class Fluqi.Widget.jTab.AnimationOptions

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

Public Methods

Method Description
AnimationOptions ( jTab tabOptions, string caller ) : System

Constructor

Finish ( ) : jTab.Options

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

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.

SetEffect ( Core effect ) : AnimationOptions

The effect to use when showing/hiding.

SetEffect ( string effect ) : AnimationOptions

The effect to use when showing/hiding.

Method Details

AnimationOptions() public method

Constructor
public AnimationOptions ( jTab tabOptions, string caller ) : System
tabOptions jTab Tab 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 ( ) : jTab.Options
return jTab.Options

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

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