XUIDateEdit()

new XUIDateEdit()

Methods

GetCtrlBgBorder() → {Number}

获取背景边框大小
Returns:
Number

GetCtrlBgBorderColor() → {String}

获取背景边框色
Returns:
String

GetCtrlBgColor() → {String}

获取背景颜色
Returns:
String

GetCtrlBgImage() → {String}

获取背景图片
Returns:
String

GetDate() → {Double}

获取日期
Returns:
Double

GetDateByString() → {String}

获取字符串日期
Returns:
String

GetInputTextColor() → {String}

获取文本颜色
Returns:
String

GetInputTextFontSize() → {Number}

获取文本大小
Returns:
Number

GetSign() → {String}

获取连接符
Returns:
String

GetSignSize() → {Number}

获取连接符大小
Returns:
Number

IsDrawColor() → {Boolean}

背景是否以颜色绘制
Returns:
Boolean

SetCtrlBgBorder(nvalue, strColor)

背景边框
Parameters:
Name Type Description
nvalue Number 背景边框大小
strColor String 背景边框颜色
Properties:
Name Type Description
CtrlBgBorder Collection [1,"0xff57ccce"]

SetCtrlBgColor(strColor)

背景颜色
Parameters:
Name Type Description
strColor String 背景颜色
Properties:
Name Type Description
CtrlBgColor Color "0xff003440"

SetCtrlBgImage(strBgImg)

背景图片
Parameters:
Name Type Description
strBgImg ImageProp 背景图片
Properties:
Name Type Description
CtrlBgImage ImageProp ""

SetDate(nDate)

日期
Parameters:
Name Type Description
nDate Number 日期

SetDateByString(strDate)

通过字符串设置日期
Parameters:
Name Type Description
strDate String 日期

SetDrawColor(bDrawColor)

背景颜色绘制
Parameters:
Name Type Description
bDrawColor Boolean
Properties:
Name Type Description
BgDrawColor Boolean true

SetInputTextColor(strColor)

输入框文本颜色
Parameters:
Name Type Description
strColor String 输入框文本颜色
Properties:
Name Type Description
InputTextColor Color "0xff000000"

SetInputTextFontSize(nvalue)

输入框文本大小
Parameters:
Name Type Description
nvalue Number 输入框文本大小
Properties:
Name Type Description
InputTextFontSize Number 14

SetPromptText(strYText, strMText, strDText)

提示文字内容
Parameters:
Name Type Description
strYText String 年内容
strMText String 月内容
strDText String 日内容

SetPromptTextColor(strColor)

提示文字颜色
Parameters:
Name Type Description
strColor String 文字颜色
Properties:
Name Type Description
PromptTextColor Color "0xff757575"

SetSign(strSign, strSign1)

连接符
Parameters:
Name Type Description
strSign String 连接符1
strSign1 String 连接符2
Properties:
Name Type Description
Sign Collection ["-",":"]

SetSignSize(nSize)

连接符大小
Parameters:
Name Type Description
nSize Number 连接符大小
Properties:
Name Type Description
SignSize Number 20