C# Class Fluqi.Widget.jToolTip.Rendering

Responsible for setting how the control should be rendered to the page. For instance should the control CSS be rendered, should pretty layout be used, etc.
Inheritance: Core.RenderBase
Afficher le fichier Open project: toepoke/Fluqi Class Usage Examples

Méthodes publiques

Méthode Description
Compress ( ) : Rendering

Forces pretty rendering off so you can see the output whilst in DEBUG mode if you wish

Finish ( ) : ToolTip

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

Rendering ( ToolTip tooltip ) : System

Constructor

SetAutoScript ( bool autoScript ) : Rendering

Specifies whether the control should be self-initialising (with it's own $(document).ready section, or if this should be left to the view to declare on purpose.

SetPrettyRender ( bool prettyRender ) : Rendering

Specifies if the HTML/JavaScript which is rendered should be indented in a more readable manner (as opposed to when Compress() is active (i.e. PrettyRender=false) which keeps everything in one line to keep the script size down)

SetRenderCSS ( bool renderCSS ) : Rendering

Specifies that the CSS class the jQuery UI library should be written as part of widget rendering. This is useful if you still want your pages to look "jQuery UI-ified" when your user has JavaScript disabled.

SetTabDepth ( int indentation ) : Rendering

Specifies that when writing in pretty HTML mode (see Compress) the Html helper should start writing at a particular tab depth (so everything lines up nicely when you view the source).

ShowCSS ( ) : Rendering

Writes slim CSS to the browser (jQuery UI classes aren't expanded for non-JS users)

Method Details

Compress() public méthode

Forces pretty rendering off so you can see the output whilst in DEBUG mode if you wish
public Compress ( ) : Rendering
Résultat Rendering

Finish() public méthode

Used to flag that configuration has finished, and returns the ToolTip object so we can continue defining ToolTip attributes.
public Finish ( ) : ToolTip
Résultat ToolTip

Rendering() public méthode

Constructor
public Rendering ( ToolTip tooltip ) : System
tooltip ToolTip ToolTip object to set rendering options of
Résultat System

SetAutoScript() public méthode

Specifies whether the control should be self-initialising (with it's own $(document).ready section, or if this should be left to the view to declare on purpose.
public SetAutoScript ( bool autoScript ) : Rendering
autoScript bool /// If true the control initialises itself /// If false the initialisation is left to the [calling] view ///
Résultat Rendering

SetPrettyRender() public méthode

Specifies if the HTML/JavaScript which is rendered should be indented in a more readable manner (as opposed to when Compress() is active (i.e. PrettyRender=false) which keeps everything in one line to keep the script size down)
public SetPrettyRender ( bool prettyRender ) : Rendering
prettyRender bool Flags pretty rendering on or off
Résultat Rendering

SetRenderCSS() public méthode

Specifies that the CSS class the jQuery UI library should be written as part of widget rendering. This is useful if you still want your pages to look "jQuery UI-ified" when your user has JavaScript disabled.
public SetRenderCSS ( bool renderCSS ) : Rendering
renderCSS bool Flags writing CSS class names on or off
Résultat Rendering

SetTabDepth() public méthode

Specifies that when writing in pretty HTML mode (see Compress) the Html helper should start writing at a particular tab depth (so everything lines up nicely when you view the source).
public SetTabDepth ( int indentation ) : Rendering
indentation int How far the Html helper should indent the rendered HTML
Résultat Rendering

ShowCSS() public méthode

Writes slim CSS to the browser (jQuery UI classes aren't expanded for non-JS users)
public ShowCSS ( ) : Rendering
Résultat Rendering