C# Class Fluqi.Widget.jToolTip.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Inheritance: Core.Methods
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
Close ( ) : void

Closes a tooltip. This is only intended to be called for non-delegated tooltips.

Destroy ( ) : void

Removes the ToolTip functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disables the tooltip.

DisabledHideEffect ( ) : void

Hide by Boolean: When set to false, no animation will be used and the tooltip will be hidden immediately. When set to true, the tooltip will fade out with the default duration and the default easing.

DisabledShowEffect ( ) : void

Show by Boolean: When set to false, no animation will be used and the tooltip will be hidden immediately. When set to true, the tooltip will fade out with the default duration and the default easing.

Enable ( ) : void

Enable the tooltip.

GetContent ( ) : void

Returns [in JavaScript] the current "content" setting.

GetDisabled ( ) : void

Returns [in JavaScript] the current "disabled" setting.

GetHide ( ) : void

Returns [in JavaScript] the current "hide" setting.

GetItems ( ) : void

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.

GetPosition ( ) : void

Returns [in JavaScript] the current "position" setting.

GetShow ( ) : void

Returns [in JavaScript] the current "show" setting.

GetTooltipClass ( ) : void

Returns [in JavaScript] the current "tooltipClass" setting.

GetTrack ( ) : void

Returns [in JavaScript] the current "track" setting.

Methods ( ToolTip tooltip ) : System

Constructor

Open ( ) : void

Programmatically open a tooltip. This is only intended to be called for non-delegated tooltips.

SetContentByFunction ( string content ) : void

The content of the tooltip.

SetContentByString ( string content ) : void

The content of the tooltip.

SetDisabled ( bool disabled ) : void

Disables the tooltip.

SetHide ( Core effect, Core easing, int duration ) : void

Hide by Number: The tooltip will fade out with the specified duration and the default easing.

SetHide ( int duration ) : void

Hide by Number: The tooltip will fade out with the specified duration and the default easing.

SetHide ( string json ) : void

Hide by Number: The tooltip will fade out with the specified duration and the default easing.

SetItems ( ) : void

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.

SetPosition ( Core position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( Core pos1, Core pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPosition ( int pos1, int pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])

SetPosition ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string position, bool inDoubleQuotes ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string pos1, string pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPositionJS ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetShow ( Core effect, Core easing, int duration ) : void

Show by Number: The tooltip will fade out with the specified duration and the default easing.

SetShow ( int duration ) : void

Show by Number: The tooltip will fade out with the specified duration and the default easing.

SetShow ( string json ) : void

Show by Object:

SetTooltipClass ( string tooltipClass ) : void

Tooltip class to add

SetTrack ( bool track ) : void

Whether the tooltip should track the mouse

Widget ( ) : void

Returns a jQuery object containing the generated wrapper.

Méthodes protégées

Méthode Description
BuildMethodCall ( string methodName ) : string

Builds up the JavaScript required to call a given method.

Method Details

BuildMethodCall() protected méthode

Builds up the JavaScript required to call a given method.
protected BuildMethodCall ( string methodName ) : string
methodName string Name of the method to call (as define in the jQuery UI documentation for the control.
Résultat string

Close() public méthode

Closes a tooltip. This is only intended to be called for non-delegated tooltips.
public Close ( ) : void
Résultat void

Destroy() public méthode

Removes the ToolTip functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Résultat void

Disable() public méthode

Disables the tooltip.
public Disable ( ) : void
Résultat void

DisabledHideEffect() public méthode

Hide by Boolean: When set to false, no animation will be used and the tooltip will be hidden immediately. When set to true, the tooltip will fade out with the default duration and the default easing.
public DisabledHideEffect ( ) : void
Résultat void

DisabledShowEffect() public méthode

Show by Boolean: When set to false, no animation will be used and the tooltip will be hidden immediately. When set to true, the tooltip will fade out with the default duration and the default easing.
public DisabledShowEffect ( ) : void
Résultat void

Enable() public méthode

Enable the tooltip.
public Enable ( ) : void
Résultat void

GetContent() public méthode

Returns [in JavaScript] the current "content" setting.
public GetContent ( ) : void
Résultat void

GetDisabled() public méthode

Returns [in JavaScript] the current "disabled" setting.
public GetDisabled ( ) : void
Résultat void

GetHide() public méthode

Returns [in JavaScript] the current "hide" setting.
public GetHide ( ) : void
Résultat void

GetItems() public méthode

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.
public GetItems ( ) : void
Résultat void

GetPosition() public méthode

Returns [in JavaScript] the current "position" setting.
public GetPosition ( ) : void
Résultat void

GetShow() public méthode

Returns [in JavaScript] the current "show" setting.
public GetShow ( ) : void
Résultat void

GetTooltipClass() public méthode

Returns [in JavaScript] the current "tooltipClass" setting.
public GetTooltipClass ( ) : void
Résultat void

GetTrack() public méthode

Returns [in JavaScript] the current "track" setting.
public GetTrack ( ) : void
Résultat void

Methods() public méthode

Constructor
public Methods ( ToolTip tooltip ) : System
tooltip ToolTip ToolTip object to call
Résultat System

Open() public méthode

Programmatically open a tooltip. This is only intended to be called for non-delegated tooltips.
public Open ( ) : void
Résultat void

SetContentByFunction() public méthode

The content of the tooltip.
public SetContentByFunction ( string content ) : void
content string
Résultat void

SetContentByString() public méthode

The content of the tooltip.
public SetContentByString ( string content ) : void
content string
Résultat void

SetDisabled() public méthode

Disables the tooltip.
public SetDisabled ( bool disabled ) : void
disabled bool
Résultat void

SetHide() public méthode

Hide by Number: The tooltip will fade out with the specified duration and the default easing.
public SetHide ( Core effect, Core easing, int duration ) : void
effect Core
easing Core
duration int
Résultat void

SetHide() public méthode

Hide by Number: The tooltip will fade out with the specified duration and the default easing.
public SetHide ( int duration ) : void
duration int
Résultat void

SetHide() public méthode

Hide by Number: The tooltip will fade out with the specified duration and the default easing.
public SetHide ( string json ) : void
json string
Résultat void

SetItems() public méthode

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.
public SetItems ( ) : void
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( Core position ) : void
position Core New position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( Core pos1, Core pos2 ) : void
pos1 Core First position setting
pos2 Core Second position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])
public SetPosition ( int pos1, int pos2 ) : void
pos1 int First position setting
pos2 int Second position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position ) : void
position string New position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position, bool inDoubleQuotes ) : void
position string New position setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( string pos1, string pos2 ) : void
pos1 string First position setting
pos2 string Second position setting
Résultat void

SetPositionJS() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetPositionJS ( string position ) : void
position string New position setting
Résultat void

SetShow() public méthode

Show by Number: The tooltip will fade out with the specified duration and the default easing.
public SetShow ( Core effect, Core easing, int duration ) : void
effect Core
easing Core
duration int
Résultat void

SetShow() public méthode

Show by Number: The tooltip will fade out with the specified duration and the default easing.
public SetShow ( int duration ) : void
duration int
Résultat void

SetShow() public méthode

Show by Object:
public SetShow ( string json ) : void
json string
Résultat void

SetTooltipClass() public méthode

Tooltip class to add
public SetTooltipClass ( string tooltipClass ) : void
tooltipClass string
Résultat void

SetTrack() public méthode

Whether the tooltip should track the mouse
public SetTrack ( bool track ) : void
track bool
Résultat void

Widget() public méthode

Returns a jQuery object containing the generated wrapper.
public Widget ( ) : void
Résultat void