C# 클래스 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.
상속: Core.RenderBase
파일 보기 프로젝트 열기: toepoke/Fluqi 1 사용 예제들

공개 메소드들

메소드 설명
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)

메소드 상세

Compress() 공개 메소드

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

Finish() 공개 메소드

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

Rendering() 공개 메소드

Constructor
public Rendering ( ToolTip tooltip ) : System
tooltip ToolTip ToolTip object to set rendering options of
리턴 System

SetAutoScript() 공개 메소드

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 ///
리턴 Rendering

SetPrettyRender() 공개 메소드

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
리턴 Rendering

SetRenderCSS() 공개 메소드

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
리턴 Rendering

SetTabDepth() 공개 메소드

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
리턴 Rendering

ShowCSS() 공개 메소드

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