C# Class Fluqi.Widget.jTab.Methods

Methods for changing options (after initialisation).
Inheritance: Core.Methods
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
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.

Method Details

Destroy() public méthode

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

Disable() public méthode

Disable the tabs.
public Disable ( ) : void
Résultat void

DisableHide() public méthode

Disables animation, panel is hidden immediately.
public DisableHide ( ) : void
Résultat void

DisableShow() public méthode

Disables animation, panel is shown immediately.
public DisableShow ( ) : void
Résultat void

Enable() public méthode

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

Enable() public méthode

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
Résultat void

GetActive() public méthode

Returns [in JavaScript] the active setting. To set all tabs to unselected pass -1 as value.
public GetActive ( ) : void
Résultat void

GetCollapsible() public méthode

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

GetEvent() public méthode

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

GetHeightStyle() public méthode

Controls the height of the accordion and each panel. Possible values are "auto", "fill" and "content".
public GetHeightStyle ( ) : void
Résultat void

GetHide() public méthode

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

GetShow() public méthode

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

Load() public méthode

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
Résultat void

Methods() public méthode

Constructor
public Methods ( Fluqi.Widget.jTab.Tabs tabs ) : System
tabs Fluqi.Widget.jTab.Tabs Tabs object to call
Résultat System

Refresh() public méthode

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
Résultat void

SetActive() public méthode

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
Résultat void

SetCollapsible() public méthode

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
Résultat void

SetEvent() public méthode

The type of event to be used for selecting a tab.
public SetEvent ( Core newValue ) : void
newValue Core New event setting
Résultat void

SetEvent() public méthode

The type of event to be used for selecting a tab.
public SetEvent ( string newValue ) : void
newValue string New event setting
Résultat void

SetEvent() public méthode

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 (') ///
Résultat void

SetEventJS() public méthode

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
Résultat void

SetHeightStyle() public méthode

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
Résultat void

SetHeightStyle() public méthode

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
Résultat void

SetHide() public méthode

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
Résultat void

SetHide() public méthode

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
Résultat void

SetHide() public méthode

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
Résultat void

SetShow() public méthode

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
Résultat void

SetShow() public méthode

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
Résultat void

SetShow() public méthode

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
Résultat void

Widget() public méthode

Returns the .ui-tabs element.
public Widget ( ) : void
Résultat void