C# Class Fluqi.Utilities.jAnimation.Animation

Afficher le fichier Open project: toepoke/Fluqi Class Usage Examples

Méthodes publiques

Méthode Description
Animation ( TextWriter writer, string key ) : System

Constructor

GetControlScript ( ) : string

Writes out the initialisation JavaScript to configure the tabs object client-side.

Useful if you want to declare your own document.ready and add in the initialisation yourself (if you have additional initialisation you want to perform for instance).

GetControlScript ( int tabDepth ) : string

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.

GetStartUpScript ( ) : string

Renders (and returns) the JavaScript required to initialise the control with the required options. A jQuery document.ready section is wrapped around the script.

GetStartUpScript ( bool incDocReady ) : string

Writes out the document.ready, text/JavaScript and tabs initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

Render ( ) : void

There is not underlying control for a Animation object to render onto. The "Render" method merely calls the initialisation routine and adds it into the outgoing Response object

RenderStartUpScript ( ) : void

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

RenderStartUpScript ( bool incDocReady ) : void

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

Method Details

Animation() public méthode

Constructor
public Animation ( TextWriter writer, string key ) : System
writer System.IO.TextWriter Response stream to write the control to.
key string ID of the button, this must be unique for the page
Résultat System

GetControlScript() public méthode

Writes out the initialisation JavaScript to configure the tabs object client-side.
Useful if you want to declare your own document.ready and add in the initialisation yourself (if you have additional initialisation you want to perform for instance).
public GetControlScript ( ) : string
Résultat string

GetControlScript() public méthode

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.
public GetControlScript ( int tabDepth ) : string
tabDepth int /// How far to indent the tabs in the script code. ///
Résultat string

GetStartUpScript() public méthode

Renders (and returns) the JavaScript required to initialise the control with the required options. A jQuery document.ready section is wrapped around the script.
public GetStartUpScript ( ) : string
Résultat string

GetStartUpScript() public méthode

Writes out the document.ready, text/JavaScript and tabs initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public GetStartUpScript ( bool incDocReady ) : string
incDocReady bool /// If true wraps the initialisation script with a jQuery document.ready section /// If false only the control initialisation script is written. ///
Résultat string

Render() public méthode

There is not underlying control for a Animation object to render onto. The "Render" method merely calls the initialisation routine and adds it into the outgoing Response object
public Render ( ) : void
Résultat void

RenderStartUpScript() public méthode

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public RenderStartUpScript ( ) : void
Résultat void

RenderStartUpScript() public méthode

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public RenderStartUpScript ( bool incDocReady ) : void
incDocReady bool /// If true the control initialisation is wrapped in a jQuery document.ready and script /// declaration. /// If false no wrapping takes place. ///
Résultat void