C# 클래스 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).
상속: Core.Methods
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
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.

메소드 상세

Active() 공개 메소드

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
리턴 void

CollapseAll() 공개 메소드

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

Destroy() 공개 메소드

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

Disable() 공개 메소드

Disable the accordion.
public Disable ( ) : void
리턴 void

DisableAnimation() 공개 메소드

Disable animation
public DisableAnimation ( ) : void
리턴 void

Enable() 공개 메소드

Enable the accordion.
public Enable ( ) : void
리턴 void

GetAnimation() 공개 메소드

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

GetCollapsible() 공개 메소드

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
리턴 void

GetEvent() 공개 메소드

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

GetHeader() 공개 메소드

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

GetHeightStyle() 공개 메소드

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

GetIcons() 공개 메소드

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

Methods() 공개 메소드

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

Refresh() 공개 메소드

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
리턴 void

Select() 공개 메소드

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
리턴 void

SetAnimate() 공개 메소드

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

SetAnimate() 공개 메소드

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
리턴 void

SetAnimate() 공개 메소드

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)
리턴 void

SetAnimate() 공개 메소드

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

SetAnimateJSON() 공개 메소드

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

SetCollapsible() 공개 메소드

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
리턴 void

SetEffect() 공개 메소드

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

SetEffect() 공개 메소드

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

SetEvent() 공개 메소드

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

SetEvent() 공개 메소드

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

SetEventJS() 공개 메소드

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
리턴 void

SetHeader() 공개 메소드

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

SetHeader() 공개 메소드

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

SetHeaderJS() 공개 메소드

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
리턴 void

SetHeightStyle() 공개 메소드

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

SetHeightStyle() 공개 메소드

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

SetIcons() 공개 메소드

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
리턴 void

SetIcons() 공개 메소드

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
리턴 void

Widget() 공개 메소드

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