C# Класс 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).
Наследование: Core.Methods
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
BuildMethodCall ( string methodName ) : string

Builds up the JavaScript required to call a given method.

Описание методов

BuildMethodCall() защищенный Метод

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.
Результат string

Close() публичный Метод

Closes a tooltip. This is only intended to be called for non-delegated tooltips.
public Close ( ) : void
Результат void

Destroy() публичный Метод

Removes the ToolTip functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Результат void

Disable() публичный Метод

Disables the tooltip.
public Disable ( ) : void
Результат void

DisabledHideEffect() публичный Метод

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
Результат void

DisabledShowEffect() публичный Метод

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
Результат void

Enable() публичный Метод

Enable the tooltip.
public Enable ( ) : void
Результат void

GetContent() публичный Метод

Returns [in JavaScript] the current "content" setting.
public GetContent ( ) : void
Результат void

GetDisabled() публичный Метод

Returns [in JavaScript] the current "disabled" setting.
public GetDisabled ( ) : void
Результат void

GetHide() публичный Метод

Returns [in JavaScript] the current "hide" setting.
public GetHide ( ) : void
Результат void

GetItems() публичный Метод

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
Результат void

GetPosition() публичный Метод

Returns [in JavaScript] the current "position" setting.
public GetPosition ( ) : void
Результат void

GetShow() публичный Метод

Returns [in JavaScript] the current "show" setting.
public GetShow ( ) : void
Результат void

GetTooltipClass() публичный Метод

Returns [in JavaScript] the current "tooltipClass" setting.
public GetTooltipClass ( ) : void
Результат void

GetTrack() публичный Метод

Returns [in JavaScript] the current "track" setting.
public GetTrack ( ) : void
Результат void

Methods() публичный Метод

Constructor
public Methods ( ToolTip tooltip ) : System
tooltip ToolTip ToolTip object to call
Результат System

Open() публичный Метод

Programmatically open a tooltip. This is only intended to be called for non-delegated tooltips.
public Open ( ) : void
Результат void

SetContentByFunction() публичный Метод

The content of the tooltip.
public SetContentByFunction ( string content ) : void
content string
Результат void

SetContentByString() публичный Метод

The content of the tooltip.
public SetContentByString ( string content ) : void
content string
Результат void

SetDisabled() публичный Метод

Disables the tooltip.
public SetDisabled ( bool disabled ) : void
disabled bool
Результат void

SetHide() публичный Метод

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
Результат void

SetHide() публичный Метод

Hide by Number: The tooltip will fade out with the specified duration and the default easing.
public SetHide ( int duration ) : void
duration int
Результат void

SetHide() публичный Метод

Hide by Number: The tooltip will fade out with the specified duration and the default easing.
public SetHide ( string json ) : void
json string
Результат void

SetItems() публичный Метод

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
Результат void

SetPosition() публичный Метод

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
Результат void

SetPosition() публичный Метод

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
Результат void

SetPosition() публичный Метод

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
Результат void

SetPosition() публичный Метод

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
Результат void

SetPosition() публичный Метод

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 (') ///
Результат void

SetPosition() публичный Метод

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
Результат void

SetPositionJS() публичный Метод

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
Результат void

SetShow() публичный Метод

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
Результат void

SetShow() публичный Метод

Show by Number: The tooltip will fade out with the specified duration and the default easing.
public SetShow ( int duration ) : void
duration int
Результат void

SetShow() публичный Метод

Show by Object:
public SetShow ( string json ) : void
json string
Результат void

SetTooltipClass() публичный Метод

Tooltip class to add
public SetTooltipClass ( string tooltipClass ) : void
tooltipClass string
Результат void

SetTrack() публичный Метод

Whether the tooltip should track the mouse
public SetTrack ( bool track ) : void
track bool
Результат void

Widget() публичный Метод

Returns a jQuery object containing the generated wrapper.
public Widget ( ) : void
Результат void