C# Class Fluqi.Widget.jToolTip.Options

A set of properties to apply to a set of jQuery UI ToolTip.
Inheritance: Core.Options
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
Finish ( ) : ToolTip

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

Options ( ToolTip tooltip ) : System

Contructor

SetContentByFunction ( string content ) : Options

Sets the tooltip function to use

SetContentByString ( string content ) : Options

Sets the tooltip to use

SetDisabled ( bool disabled ) : Options

Disables the tooltip.

SetItems ( ) : Options

A selector indicating which items should show tooltips. Customize if you're using something other then the title attribute for the tooltip content, or if you need a different selector for event delegation. When changing this option, you likely need to also change the content option.

SetItemsObject ( string objSelector ) : Options

A selector indicating which items should show tooltips. Use this option if you're referencing a jQuery object selector Customize if you're using something other then the title attribute for the tooltip content, or if you need a different selector for event delegation. When changing this option, you likely need to also change the content option.

SetToolTipClass ( string cssClass ) : Options

A class to add to the widget, can be used to display various tooltip types, like warnings or errors. This may get replaced by the classes option.

SetTrack ( bool track ) : Options

Whether the tooltip should track (follow) the mouse.

Protected Methods

Method Description
DiscoverOptions ( Core options ) : void

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.

Reset ( ) : void

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library

Method Details

DiscoverOptions() protected method

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.
protected DiscoverOptions ( Core options ) : void
options Core Collection to add the identified options to
return void

Finish() public method

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

Options() public method

Contructor
public Options ( ToolTip tooltip ) : System
tooltip ToolTip Tooltip object we're configuring
return System

Reset() protected method

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
return void

SetContentByFunction() public method

Sets the tooltip function to use
public SetContentByFunction ( string content ) : Options
content string
return Options

SetContentByString() public method

Sets the tooltip to use
public SetContentByString ( string content ) : Options
content string
return Options

SetDisabled() public method

Disables the tooltip.
public SetDisabled ( bool disabled ) : Options
disabled bool
return Options

SetItems() public method

A selector indicating which items should show tooltips. Customize if you're using something other then the title attribute for the tooltip content, or if you need a different selector for event delegation. When changing this option, you likely need to also change the content option.
public SetItems ( ) : Options
return Options

SetItemsObject() public method

A selector indicating which items should show tooltips. Use this option if you're referencing a jQuery object selector Customize if you're using something other then the title attribute for the tooltip content, or if you need a different selector for event delegation. When changing this option, you likely need to also change the content option.
public SetItemsObject ( string objSelector ) : Options
objSelector string
return Options

SetToolTipClass() public method

A class to add to the widget, can be used to display various tooltip types, like warnings or errors. This may get replaced by the classes option.
public SetToolTipClass ( string cssClass ) : Options
cssClass string
return Options

SetTrack() public method

Whether the tooltip should track (follow) the mouse.
public SetTrack ( bool track ) : Options
track bool
return Options