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
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode 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 méthode

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

CollapseAll() public méthode

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

Destroy() public méthode

Remove the accordion 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 accordion.
public Disable ( ) : void
Résultat void

DisableAnimation() public méthode

Disable animation
public DisableAnimation ( ) : void
Résultat void

Enable() public méthode

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

GetAnimation() public méthode

Gets the animation currently being used.
public GetAnimation ( ) : void
Résultat void

GetCollapsible() public méthode

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

GetEvent() public méthode

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

GetHeader() public méthode

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

GetHeightStyle() public méthode

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

GetIcons() public méthode

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

Methods() public méthode

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

Refresh() public méthode

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

Select() public méthode

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

SetAnimate() public méthode

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

SetAnimate() public méthode

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

SetAnimate() public méthode

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

SetAnimate() public méthode

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

SetAnimateJSON() public méthode

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

SetCollapsible() public méthode

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

SetEffect() public méthode

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

SetEffect() public méthode

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

SetEvent() public méthode

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

SetEvent() public méthode

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

SetEventJS() public méthode

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

SetHeader() public méthode

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

SetHeader() public méthode

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

SetHeaderJS() public méthode

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

SetHeightStyle() public méthode

Sets the heightStyle of the accordion
public SetHeightStyle ( Core style ) : void
style Core new value
Résultat void

SetHeightStyle() public méthode

Sets the heightStyle of the accordion
public SetHeightStyle ( string style ) : void
style string new value
Résultat void

SetIcons() public méthode

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

SetIcons() public méthode

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

Widget() public méthode

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