C# Class Fluqi.Widget.jAccordion.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
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
Active ( int panelIndex ) : void

Activate a content part of the Accordion programmatically. zero-indexed number to match the position of the header to activate.

CollapseAll ( ) : void

Collapses all accordion panels (only possible when collapsible is true).

See http://jqueryui.com/demos/accordion/#method-activate for details.

Destroy ( ) : void

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

Disable ( ) : void

Disable the accordion.

DisableAnimation ( ) : void

Disable animation

Enable ( ) : void

Enable the accordion.

GetAnimation ( ) : void

Gets the animation currently being used.

GetCollapsible ( ) : void

Returns [in JavaScript] the current "collapsible" setting. Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).

GetEvent ( ) : void

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

GetHeader ( ) : void

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

GetHeightStyle ( ) : void

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

GetIcons ( ) : void

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

Methods ( Fluqi.Widget.jAccordion.Accordion ac ) : System

Constructor

Refresh ( ) : void

Recompute heights of the accordion contents when using the heightStyle option and the container height changed. For example, when the container is a resizable, this method should be called by its resize-event.

See http://api.jqueryui.com/accordion/#method-refresh for details. Note previous to jQuery 1.9 this was called the "resize" method

Select ( int panelIndex ) : void

Selects the given content part (the "Select" method is the same as "Activate" and is here for ease of discover). zero-indexed number to match the position of the header to activate.

See http://jqueryui.com/demos/accordion/#method-activate for details.

SetAnimate ( Core ease ) : void

Sets the animation to the given easing method, using the default duration

SetAnimate ( Core ease, int duration ) : void

Sets the animation to the given easing method and duration

SetAnimate ( Core easeUp, int durationUp, Core easeDown, int durationDown ) : void

Sets the up and down animations to the given easing method and duration

SetAnimate ( int duration ) : void

Shows the default animation for duration milli-seconds.

SetAnimateJSON ( string value ) : void

If and how to animate changing panels.

SetCollapsible ( bool newValue ) : void

Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).

SetEffect ( string value ) : void

If and how to animate changing panels.

SetEffect ( string value, bool inDoubleQuotes ) : void

If and how to animate changing panels.

SetEvent ( string newValue ) : void

The event on which to trigger the accordion.

SetEvent ( string newValue, bool inDoubleQuotes ) : void

The event on which to trigger the accordion.

SetEventJS ( string newValue ) : void

The event on which to trigger the accordion. 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).

SetHeader ( string newValue ) : void

Selector for the header element.

SetHeader ( string newValue, bool inDoubleQuotes ) : void

Selector for the header element.

SetHeaderJS ( string newValue ) : void

Selector for the header element. 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

Sets the heightStyle of the accordion

SetHeightStyle ( string style ) : void

Sets the heightStyle of the accordion

SetIcons ( Core unselectedHeader, Core selectedHeader ) : void

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller

SetIcons ( string unselectedHeader, string selectedHeader ) : void

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller

Widget ( ) : void

Returns the .ui-accordion element.

Method Details

Active() public method

Activate a content part of the Accordion programmatically. zero-indexed number to match the position of the header to activate.
public Active ( int panelIndex ) : void
panelIndex int
return void

CollapseAll() public method

Collapses all accordion panels (only possible when collapsible is true).
See http://jqueryui.com/demos/accordion/#method-activate for details.
public CollapseAll ( ) : void
return void

Destroy() public method

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

Disable() public method

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

DisableAnimation() public method

Disable animation
public DisableAnimation ( ) : void
return void

Enable() public method

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

GetAnimation() public method

Gets the animation currently being used.
public GetAnimation ( ) : void
return void

GetCollapsible() public method

Returns [in JavaScript] the current "collapsible" setting. Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).
public GetCollapsible ( ) : void
return void

GetEvent() public method

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

GetHeader() public method

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

GetHeightStyle() public method

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

GetIcons() public method

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

Methods() public method

Constructor
public Methods ( Fluqi.Widget.jAccordion.Accordion ac ) : System
ac Fluqi.Widget.jAccordion.Accordion Accordion object to call
return System

Refresh() public method

Recompute heights of the accordion contents when using the heightStyle option and the container height changed. For example, when the container is a resizable, this method should be called by its resize-event.
See http://api.jqueryui.com/accordion/#method-refresh for details. Note previous to jQuery 1.9 this was called the "resize" method
public Refresh ( ) : void
return void

Select() public method

Selects the given content part (the "Select" method is the same as "Activate" and is here for ease of discover). zero-indexed number to match the position of the header to activate.
See http://jqueryui.com/demos/accordion/#method-activate for details.
public Select ( int panelIndex ) : void
panelIndex int
return void

SetAnimate() public method

Sets the animation to the given easing method, using the default duration
public SetAnimate ( Core ease ) : void
ease Core Easing method to use
return void

SetAnimate() public method

Sets the animation to the given easing method and duration
public SetAnimate ( Core ease, int duration ) : void
ease Core Easing method to use
duration int Duration to use
return void

SetAnimate() public method

Sets the up and down animations to the given easing method and duration
public SetAnimate ( Core easeUp, int durationUp, Core easeDown, int durationDown ) : void
easeUp Core Easing method to use (on the up)
durationUp int Duration to use (on the up)
easeDown Core Easing method to use (on the down)
durationDown int Duration to use (on the down)
return void

SetAnimate() public method

Shows the default animation for duration milli-seconds.
public SetAnimate ( int duration ) : void
duration int Duration (in milli-seconds) of the animate
return void

SetAnimateJSON() public method

If and how to animate changing panels.
public SetAnimateJSON ( string value ) : void
value string new animation
return void

SetCollapsible() public method

Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).
public SetCollapsible ( bool newValue ) : void
newValue bool
return void

SetEffect() public method

If and how to animate changing panels.
public SetEffect ( string value ) : void
value string new animation
return void

SetEffect() public method

If and how to animate changing panels.
public SetEffect ( string value, bool inDoubleQuotes ) : void
value string new animation
inDoubleQuotes bool /// true - double quotes(") /// false - single quotes (') ///
return void

SetEvent() public method

The event on which to trigger the accordion.
public SetEvent ( string newValue ) : void
newValue string new setting
return void

SetEvent() public method

The event on which to trigger the accordion.
public SetEvent ( string newValue, bool inDoubleQuotes ) : void
newValue string new setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
return void

SetEventJS() public method

The event on which to trigger the accordion. 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 setting
return void

SetHeader() public method

Selector for the header element.
public SetHeader ( string newValue ) : void
newValue string New header setting
return void

SetHeader() public method

Selector for the header element.
public SetHeader ( string newValue, bool inDoubleQuotes ) : void
newValue string New header setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
return void

SetHeaderJS() public method

Selector for the header element. 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 SetHeaderJS ( string newValue ) : void
newValue string New header setting
return void

SetHeightStyle() public method

Sets the heightStyle of the accordion
public SetHeightStyle ( Core style ) : void
style Core new value
return void

SetHeightStyle() public method

Sets the heightStyle of the accordion
public SetHeightStyle ( string style ) : void
style string new value
return void

SetIcons() public method

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller
public SetIcons ( Core unselectedHeader, Core selectedHeader ) : void
unselectedHeader Core new unselected header setting
selectedHeader Core new selected header setting
return void

SetIcons() public method

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller
public SetIcons ( string unselectedHeader, string selectedHeader ) : void
unselectedHeader string new unselected header setting
selectedHeader string new selected header setting
return void

Widget() public method

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