C# Class Fluqi.Widget.jTab.Methods

Methods for changing options (after initialisation).
Inheritance: Core.Methods
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method 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 method

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

Disable() public method

Disable the tabs.
public Disable ( ) : void
return void

DisableHide() public method

Disables animation, panel is hidden immediately.
public DisableHide ( ) : void
return void

DisableShow() public method

Disables animation, panel is shown immediately.
public DisableShow ( ) : void
return void

Enable() public method

Enable the tabs.
public Enable ( ) : void
return void

Enable() public method

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
return void

GetActive() public method

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

GetCollapsible() public method

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

GetEvent() public method

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

GetHeightStyle() public method

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

GetHide() public method

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

GetShow() public method

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

Load() public method

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
return void

Methods() public method

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

Refresh() public method

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
return void

SetActive() public method

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
return void

SetCollapsible() public method

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
return void

SetEvent() public method

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

SetEvent() public method

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

SetEvent() public method

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 (') ///
return void

SetEventJS() public method

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
return void

SetHeightStyle() public method

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
return void

SetHeightStyle() public method

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
return void

SetHide() public method

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
return void

SetHide() public method

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
return void

SetHide() public method

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
return void

SetShow() public method

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
return void

SetShow() public method

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
return void

SetShow() public method

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
return void

Widget() public method

Returns the .ui-tabs element.
public Widget ( ) : void
return void