C# 클래스 Fluqi.Core.Methods

Models methods that can be applied to a jQuery UI control.
상속: Options
파일 보기 프로젝트 열기: toepoke/Fluqi

보호된 프로퍼티들

프로퍼티 타입 설명
_ID string
_PlugInName string
_Writer System.IO.TextWriter

공개 메소드들

메소드 설명
Methods ( Interfaces ictl ) : System

Constructor.

보호된 메소드들

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

메소드 상세

AddQuotesToDate() 보호된 메소드

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

BuildMethodCall() 보호된 메소드

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.
리턴 string

Methods() 공개 메소드

Constructor.
public Methods ( Interfaces ictl ) : System
ictl Interfaces Control methods are being defined for
리턴 System

RenderGetOptionCall() 보호된 메소드

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

RenderMethodCall() 보호된 메소드

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

RenderSetOptionCall() 보호된 메소드

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

RenderSetOptionCall() 보호된 메소드

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

RenderSetOptionCall() 보호된 메소드

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

RenderSetOptionCall() 보호된 메소드

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

RenderSetOptionCall() 보호된 메소드

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

프로퍼티 상세

_ID 보호되어 있는 프로퍼티

ID of the control.
protected string _ID
리턴 string

_PlugInName 보호되어 있는 프로퍼티

Name of the plugin.
protected string _PlugInName
리턴 string

_Writer 보호되어 있는 프로퍼티

Object the control should write itself to.
protected TextWriter,System.IO _Writer
리턴 System.IO.TextWriter