C# Class Fluqi.Widget.jDialog.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
Close ( ) : void

Closes the dialog.

Destroy ( ) : void

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

Disable ( ) : void

Disable the dialog.

Enable ( ) : void

Enable the dialog.

GetCloseOnEscape ( ) : void

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

GetCloseText ( ) : void

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

GetDialogClass ( ) : void

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

GetDraggable ( ) : void

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

GetHeight ( ) : void

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

GetHideEffect ( ) : void

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

GetMaxHeight ( ) : void

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

GetMaxWidth ( ) : void

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

GetMinHeight ( ) : void

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

GetMinWidth ( ) : void

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

GetModal ( ) : void

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

GetPosition ( ) : void

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

GetResizable ( ) : void

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

GetShowEffect ( ) : void

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

GetStack ( ) : void

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

GetTitle ( ) : void

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

GetWidth ( ) : void

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

GetZIndex ( ) : void

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

IsOpen ( ) : void

Returns true if the dialog is currently open.

Methods ( Fluqi.Widget.jDialog.Dialog dlg ) : System

Constructor

MoveToTop ( ) : void

Moves the dialog to the top of the dialog stack.

Open ( ) : void

Opens the dialog.

SetCloseOnEscape ( bool newValue ) : void

Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.

SetCloseText ( string newValue ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.

SetCloseText ( string newValue, bool inDoubleQuotes ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.

SetCloseTextJS ( string newValue ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme. 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).

SetDialogClass ( string newValue ) : void

The specified class name(s) will be added to the dialog, for additional theming.

SetDialogClass ( string newValue, bool inDoubleQuotes ) : void

The specified class name(s) will be added to the dialog, for additional theming.

SetDialogClassJS ( string newValue ) : void

The specified class name(s) will be added to the dialog, for additional theming. 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).

SetDraggable ( bool newValue ) : void

If set to true, the dialog will be draggable will be draggable by the titlebar.

SetHeight ( int newValue ) : void

The height of the dialog, in pixels.

SetHeightToAuto ( ) : void

The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.

SetHideEffect ( Core newValue ) : void

The effect to be used when the dialog is closed.

SetHideEffect ( string newValue ) : void

The effect to be used when the dialog is closed.

SetHideEffect ( string newValue, bool inDoubleQuotes ) : void

The effect to be used when the dialog is closed.

SetHideEffectJS ( string newValue ) : void

The effect to be used when the dialog is closed. 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).

SetMaxHeight ( int newValue ) : void

The maximum height to which the dialog can be resized, in pixels.

SetMaxWidth ( int newValue ) : void

The maximum width to which the dialog can be resized, in pixels

SetMinHeight ( int newValue ) : void

The minimum height to which the dialog can be resized, in pixels.

SetMinWidth ( int newValue ) : void

The minimum width to which the dialog can be resized, in pixels.

SetModal ( bool newValue ) : void

If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.

SetPosition ( Core position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( Core pos1, Core pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPosition ( int pos1, int pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])

SetPosition ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string position, bool inDoubleQuotes ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string pos1, string pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPositionJS ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. 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).

SetResizable ( bool newValue ) : void

If set to true, the dialog will be resizeable.

SetShowEffect ( Core newValue ) : void

The effect to be used when the dialog is opened.

SetShowEffect ( string newValue ) : void

The effect to be used when the dialog is opened.

SetShowEffect ( string newValue, bool inDoubleQuotes ) : void

The effect to be used when the dialog is opened.

SetShowEffectJS ( string newValue ) : void

The effect to be used when the dialog is opened. 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).

SetStack ( bool newValue ) : void

Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.

SetTitle ( string newValue ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.

SetTitle ( string newValue, bool inDoubleQuotes ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.

SetTitleJS ( string newValue ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source 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).

SetWidth ( int newValue ) : void

The width of the dialog, in pixels.

SetZIndex ( int newValue ) : void

The starting z-index for the dialog.

Widget ( ) : void

Returns the .ui-dialog element.

Method Details

Close() public méthode

Closes the dialog.
public Close ( ) : void
Résultat void

Destroy() public méthode

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

Enable() public méthode

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

GetCloseOnEscape() public méthode

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

GetCloseText() public méthode

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

GetDialogClass() public méthode

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

GetDraggable() public méthode

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

GetHeight() public méthode

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

GetHideEffect() public méthode

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

GetMaxHeight() public méthode

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

GetMaxWidth() public méthode

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

GetMinHeight() public méthode

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

GetMinWidth() public méthode

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

GetModal() public méthode

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

GetPosition() public méthode

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

GetResizable() public méthode

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

GetShowEffect() public méthode

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

GetStack() public méthode

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

GetTitle() public méthode

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

GetWidth() public méthode

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

GetZIndex() public méthode

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

IsOpen() public méthode

Returns true if the dialog is currently open.
public IsOpen ( ) : void
Résultat void

Methods() public méthode

Constructor
public Methods ( Fluqi.Widget.jDialog.Dialog dlg ) : System
dlg Fluqi.Widget.jDialog.Dialog Dialog object to call
Résultat System

MoveToTop() public méthode

Moves the dialog to the top of the dialog stack.
public MoveToTop ( ) : void
Résultat void

Open() public méthode

Opens the dialog.
public Open ( ) : void
Résultat void

SetCloseOnEscape() public méthode

Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.
public SetCloseOnEscape ( bool newValue ) : void
newValue bool New closeOnEscape setting
Résultat void

SetCloseText() public méthode

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.
public SetCloseText ( string newValue ) : void
newValue string New closeText setting
Résultat void

SetCloseText() public méthode

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.
public SetCloseText ( string newValue, bool inDoubleQuotes ) : void
newValue string New closeText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetCloseTextJS() public méthode

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme. 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 SetCloseTextJS ( string newValue ) : void
newValue string New closeText setting
Résultat void

SetDialogClass() public méthode

The specified class name(s) will be added to the dialog, for additional theming.
public SetDialogClass ( string newValue ) : void
newValue string New dialogClass setting
Résultat void

SetDialogClass() public méthode

The specified class name(s) will be added to the dialog, for additional theming.
public SetDialogClass ( string newValue, bool inDoubleQuotes ) : void
newValue string New dialogClass setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetDialogClassJS() public méthode

The specified class name(s) will be added to the dialog, for additional theming. 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 SetDialogClassJS ( string newValue ) : void
newValue string New dialogClass setting
Résultat void

SetDraggable() public méthode

If set to true, the dialog will be draggable will be draggable by the titlebar.
public SetDraggable ( bool newValue ) : void
newValue bool New draggable setting
Résultat void

SetHeight() public méthode

The height of the dialog, in pixels.
public SetHeight ( int newValue ) : void
newValue int New height setting
Résultat void

SetHeightToAuto() public méthode

The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.
public SetHeightToAuto ( ) : void
Résultat void

SetHideEffect() public méthode

The effect to be used when the dialog is closed.
public SetHideEffect ( Core newValue ) : void
newValue Core New hide setting
Résultat void

SetHideEffect() public méthode

The effect to be used when the dialog is closed.
public SetHideEffect ( string newValue ) : void
newValue string New hide setting
Résultat void

SetHideEffect() public méthode

The effect to be used when the dialog is closed.
public SetHideEffect ( string newValue, bool inDoubleQuotes ) : void
newValue string New hide setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetHideEffectJS() public méthode

The effect to be used when the dialog is closed. 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 SetHideEffectJS ( string newValue ) : void
newValue string New hide setting
Résultat void

SetMaxHeight() public méthode

The maximum height to which the dialog can be resized, in pixels.
public SetMaxHeight ( int newValue ) : void
newValue int New maxHeight setting
Résultat void

SetMaxWidth() public méthode

The maximum width to which the dialog can be resized, in pixels
public SetMaxWidth ( int newValue ) : void
newValue int New maxWidth setting
Résultat void

SetMinHeight() public méthode

The minimum height to which the dialog can be resized, in pixels.
public SetMinHeight ( int newValue ) : void
newValue int New minHeight setting
Résultat void

SetMinWidth() public méthode

The minimum width to which the dialog can be resized, in pixels.
public SetMinWidth ( int newValue ) : void
newValue int New minWidth setting
Résultat void

SetModal() public méthode

If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.
public SetModal ( bool newValue ) : void
newValue bool New modal setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( Core position ) : void
position Core New position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( Core pos1, Core pos2 ) : void
pos1 Core First position setting
pos2 Core Second position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])
public SetPosition ( int pos1, int pos2 ) : void
pos1 int First position setting
pos2 int Second position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position ) : void
position string New position setting
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position, bool inDoubleQuotes ) : void
position string New position setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetPosition() public méthode

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( string pos1, string pos2 ) : void
pos1 string First position setting
pos2 string Second position setting
Résultat void

SetPositionJS() public méthode

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. 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 SetPositionJS ( string position ) : void
position string New position setting
Résultat void

SetResizable() public méthode

If set to true, the dialog will be resizeable.
public SetResizable ( bool newValue ) : void
newValue bool New reisizable setting
Résultat void

SetShowEffect() public méthode

The effect to be used when the dialog is opened.
public SetShowEffect ( Core newValue ) : void
newValue Core New show setting
Résultat void

SetShowEffect() public méthode

The effect to be used when the dialog is opened.
public SetShowEffect ( string newValue ) : void
newValue string New show setting
Résultat void

SetShowEffect() public méthode

The effect to be used when the dialog is opened.
public SetShowEffect ( string newValue, bool inDoubleQuotes ) : void
newValue string New show setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetShowEffectJS() public méthode

The effect to be used when the dialog is opened. 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 SetShowEffectJS ( string newValue ) : void
newValue string New show setting
Résultat void

SetStack() public méthode

Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.
public SetStack ( bool newValue ) : void
newValue bool New stack setting
Résultat void

SetTitle() public méthode

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.
public SetTitle ( string newValue ) : void
newValue string New title setting
Résultat void

SetTitle() public méthode

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.
public SetTitle ( string newValue, bool inDoubleQuotes ) : void
newValue string New title setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetTitleJS() public méthode

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source 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 SetTitleJS ( string newValue ) : void
newValue string New title setting
Résultat void

SetWidth() public méthode

The width of the dialog, in pixels.
public SetWidth ( int newValue ) : void
newValue int New width setting
Résultat void

SetZIndex() public méthode

The starting z-index for the dialog.
public SetZIndex ( int newValue ) : void
newValue int New zIndex setting
Résultat void

Widget() public méthode

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