C# Класс Fluqi.Widget.jTab.Methods

Methods for changing options (after initialisation).
Наследование: Core.Methods
Показать файл Открыть проект

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

Метод Описание
Destroy ( ) : void

Remove the tabs functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disable the tabs.

DisableHide ( ) : void

Disables animation, panel is hidden immediately.

DisableShow ( ) : void

Disables animation, panel is shown immediately.

Enable ( ) : void

Enable the tabs.

Enable ( int index ) : void

Enable a disabled tab. The second argument is the zero-based index of the tab to be enabled.

GetActive ( ) : void

Returns [in JavaScript] the active setting. To set all tabs to unselected pass -1 as value.

GetCollapsible ( ) : void

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

GetEvent ( ) : void

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

GetHeightStyle ( ) : void

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".

GetHide ( ) : void

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

GetShow ( ) : void

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

Load ( int index ) : void

Reload the content of an Ajax tab programmatically. This method always loads the tab content from the remote location, even if cache is set to true. Note the remote location is the href in the header of the tab. Zero-based index of the tab to be reloaded.

Methods ( Fluqi.Widget.jTab.Tabs tabs ) : System

Constructor

Refresh ( ) : void

Process any tabs that were added or removed directly in the DOM and recompute the height of the tab panels. Results depend on the content and the heightStyle option.

SetActive ( int newValue ) : void

Zero-based index of the tab to be active on initialization. To set all tabs to unselected pass -1 as value.

SetCollapsible ( bool newValue ) : void

Set to true to allow an already selected tab to become unselected again upon reselection.

SetEvent ( Core newValue ) : void

The type of event to be used for selecting a tab.

SetEvent ( string newValue ) : void

The type of event to be used for selecting a tab.

SetEvent ( string newValue, bool inDoubleQuotes ) : void

The type of event to be used for selecting a tab.

SetEventJS ( string newValue ) : void

The type of event to be used for selecting a tab. 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).

SetHeightStyle ( Core style ) : void

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".

SetHeightStyle ( string hs ) : void

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".

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

Panel will be hidden using the specified parameters.

SetHide ( int duration ) : void

Panel will fade out with the specified duration and default easing.

SetHide ( string value ) : void

When value is a string, the panels are hidden using the specified [named] effect. When the value is a JSON object, it is passed directly to the hide method.

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

Panel will be shown using the specified parameters.

SetShow ( int duration ) : void

Panel will fade in with the specified duration and default easing.

SetShow ( string value ) : void

When value is a string, the panels are shown using the specified [named] effect. When the value is a JSON object, it is passed directly to the show method.

Widget ( ) : void

Returns the .ui-tabs element.

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

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

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

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

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

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

Disables animation, panel is hidden immediately.
public DisableHide ( ) : void
Результат void

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

Disables animation, panel is shown immediately.
public DisableShow ( ) : void
Результат void

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

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

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

Enable a disabled tab. The second argument is the zero-based index of the tab to be enabled.
public Enable ( int index ) : void
index int
Результат void

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

Returns [in JavaScript] the active setting. To set all tabs to unselected pass -1 as value.
public GetActive ( ) : void
Результат void

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

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

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

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

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

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".
public GetHeightStyle ( ) : void
Результат void

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

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

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

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

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

Reload the content of an Ajax tab programmatically. This method always loads the tab content from the remote location, even if cache is set to true. Note the remote location is the href in the header of the tab. Zero-based index of the tab to be reloaded.
public Load ( int index ) : void
index int
Результат void

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

Constructor
public Methods ( Fluqi.Widget.jTab.Tabs tabs ) : System
tabs Fluqi.Widget.jTab.Tabs Tabs object to call
Результат System

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

Process any tabs that were added or removed directly in the DOM and recompute the height of the tab panels. Results depend on the content and the heightStyle option.
public Refresh ( ) : void
Результат void

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

Zero-based index of the tab to be active on initialization. To set all tabs to unselected pass -1 as value.
public SetActive ( int newValue ) : void
newValue int New active value
Результат void

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

Set to true to allow an already selected tab to become unselected again upon reselection.
public SetCollapsible ( bool newValue ) : void
newValue bool New collapsible setting
Результат void

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

The type of event to be used for selecting a tab.
public SetEvent ( Core newValue ) : void
newValue Core New event setting
Результат void

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

The type of event to be used for selecting a tab.
public SetEvent ( string newValue ) : void
newValue string New event setting
Результат void

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

The type of event to be used for selecting a tab.
public SetEvent ( string newValue, bool inDoubleQuotes ) : void
newValue string New event setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

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

The type of event to be used for selecting a tab. 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 SetEventJS ( string newValue ) : void
newValue string New event setting
Результат void

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

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".
public SetHeightStyle ( Core style ) : void
style Core Style to use
Результат void

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

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".
public SetHeightStyle ( string hs ) : void
hs string Style to use
Результат void

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

Panel will be hidden using the specified parameters.
public SetHide ( Core effect, Core easing, int duration ) : void
effect Core Effect to use, e.g. "slideUp" or "fold"
easing Core Easing property to adopt
duration int Time (in milliseconds) the animation should execute for
Результат void

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

Panel will fade out with the specified duration and default easing.
public SetHide ( int duration ) : void
duration int Time in milliseconds for the animation to run
Результат void

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

When value is a string, the panels are hidden using the specified [named] effect. When the value is a JSON object, it is passed directly to the hide method.
public SetHide ( string value ) : void
value string String/JSON object
Результат void

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

Panel will be shown using the specified parameters.
public SetShow ( Core effect, Core easing, int duration ) : void
effect Core Effect to use, e.g. "slideUp" or "fold"
easing Core Easing property to adopt
duration int Time (in milliseconds) the animation should execute for
Результат void

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

Panel will fade in with the specified duration and default easing.
public SetShow ( int duration ) : void
duration int Time in milliseconds for the animation to run
Результат void

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

When value is a string, the panels are shown using the specified [named] effect. When the value is a JSON object, it is passed directly to the show method.
public SetShow ( string value ) : void
value string String/JSON object
Результат void

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

Returns the .ui-tabs element.
public Widget ( ) : void
Результат void