C# Class Fluqi.Core.Methods

Models methods that can be applied to a jQuery UI control.
Inheritance: Options
Afficher le fichier Open project: toepoke/Fluqi

Protected Properties

Свойство Type Description
_ID string
_PlugInName string
_Writer System.IO.TextWriter

Méthodes publiques

Méthode Description
Methods ( Interfaces ictl ) : System

Constructor.

Méthodes protégées

Méthode Description
AddQuotesToDate ( string dateValue ) : bool

Works out what type of date value or object is being passed in (i.e. is a string date like "01/01/2000", a numerical date value like "3" for 3 days, or a relateive date specification like "+1w -1d" where some of them need quotes, but other don't.

BuildMethodCall ( string methodName ) : string

Builds up the JavaScript required to call a given method.

RenderGetOptionCall ( string optionName ) : void

Writes the JavaScript required to do a "Get" against a control option.

RenderMethodCall ( string methodName ) : void

Writes the JavaScript required to call a given method on the jQuery UI control.

RenderSetOptionCall ( string optionName, System.DateTime newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, bool newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, int newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, string newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, string newValue, bool inDoubleQuotes ) : void

Writes the JavaScript required to do a "Set" against a control option.

Method Details

AddQuotesToDate() protected méthode

Works out what type of date value or object is being passed in (i.e. is a string date like "01/01/2000", a numerical date value like "3" for 3 days, or a relateive date specification like "+1w -1d" where some of them need quotes, but other don't.
protected AddQuotesToDate ( string dateValue ) : bool
dateValue string Value to be queried
Résultat bool

BuildMethodCall() protected méthode

Builds up the JavaScript required to call a given method.
protected BuildMethodCall ( string methodName ) : string
methodName string Name of the method to call (as define in the jQuery UI documentation for the control.
Résultat string

Methods() public méthode

Constructor.
public Methods ( Interfaces ictl ) : System
ictl Interfaces Control methods are being defined for
Résultat System

RenderGetOptionCall() protected méthode

Writes the JavaScript required to do a "Get" against a control option.
protected RenderGetOptionCall ( string optionName ) : void
optionName string Name of the option to get the value of
Résultat void

RenderMethodCall() protected méthode

Writes the JavaScript required to call a given method on the jQuery UI control.
protected RenderMethodCall ( string methodName ) : void
methodName string Name of the method to call (as define in the jQuery UI documentation for the control.
Résultat void

RenderSetOptionCall() protected méthode

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, System.DateTime newValue ) : void
optionName string Name of the option to get the value of
newValue System.DateTime New value for the control option.
Résultat void

RenderSetOptionCall() protected méthode

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, bool newValue ) : void
optionName string Name of the option to get the value of
newValue bool New value for the control option.
Résultat void

RenderSetOptionCall() protected méthode

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, int newValue ) : void
optionName string Name of the option to get the value of
newValue int New value for the control option.
Résultat void

RenderSetOptionCall() protected méthode

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, string newValue ) : void
optionName string Name of the option to get the value of
newValue string New value for the control option.
Résultat void

RenderSetOptionCall() protected méthode

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, string newValue, bool inDoubleQuotes ) : void
optionName string Name of the option to get the value of
newValue string New value for the control option.
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

Property Details

_ID protected_oe property

ID of the control.
protected string _ID
Résultat string

_PlugInName protected_oe property

Name of the plugin.
protected string _PlugInName
Résultat string

_Writer protected_oe property

Object the control should write itself to.
protected TextWriter,System.IO _Writer
Résultat System.IO.TextWriter