basicPW-class(widgetTools)
basicPW-class()所属R语言包:widgetTools
Class "basicPW", a basic class for primary widgets
类的“basicPW”为主要部件的基本类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class defines the behavior shared by primary widget
这个类的定义主要部件共享的行为
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("basicPW", ...). Constructors have been defined to create objects of this class for specific widgets such as buttons, list boxes, ..
创建对象可以通过检测的形式new("basicPW", ...)。已定义的构造函数来创建这个类的对象为特定的部件,如按钮,列表框,..
插槽----------Slots----------
wName: Object of class "character" - a string
wName类"character" - 一个字符串对象
wType: Object of class "character" - a string
wType类"character" - 一个字符串对象
wValue: Object of class "ANY" - the initial
wValue:Object类的"ANY" - 初始
wWidth: Object of class "numeric" - an integer
wWidth类"numeric" - 一个整数:对象
wHeight: Object of class "numeric" - an integer
wHeight类"numeric" - 一个整数:对象
wFuns: Object of class "list" - a list of R
wFuns:对象类"list" - R的名单
wPreFun: Object of class "function" - a list of
wPreFun:Object类的"function" - 一个列表,
wPostFun: Object of class "function" - a list of
wPostFun:Object类的"function" - 一个列表,
wNotify: Object of class "list" - a list of
wNotify:Object类的"list" - 一个列表,
wEnv: Object of class "environment" - an R
wEnv:Object类的"environment" - 一个R
wView: Object of class "widgetView" - a object
wView类"widgetView" - 对象:对象
方法----------Methods----------
wEnv<- signature(object = "basicPW"): Set the value for
wEnv < - signature(object = "basicPW"):设置值
wEnv signature(object = "basicPW"): Get the value for
wEnvsignature(object = "basicPW"):获取价值
wFuns<- signature(object = "basicPW"): Set the value
wFuns < - signature(object = "basicPW"):设定值
wFuns signature(object = "basicPW"): Get the value for
wFunssignature(object = "basicPW"):获取价值
wHeight<- signature(object = "basicPW"): Set the value
wHeight < - signature(object = "basicPW"):设定值
wHeight signature(object = "basicPW"): Get the value
wHeightsignature(object = "basicPW"):获取值
wName<- signature(object = "basicPW"): Set the value
wName < - signature(object = "basicPW"):设定值
wName signature(object = "basicPW"): Get the value for
wNamesignature(object = "basicPW"):获取价值
wNotify<- signature(object = "basicPW"): Set the value
wNotify < - signature(object = "basicPW"):设定值
wNotify signature(object = "basicPW"): Get the value
wNotifysignature(object = "basicPW"):获取价值
wPostFun<- signature(object = "basicPW"): Set the value
wPostFun < - signature(object = "basicPW"):设定值
wPostFun signature(object = "basicPW"): Get the value
wPostFunsignature(object = "basicPW"):获取价值
wPreFun<- signature(object = "basicPW"): Set the value
wPreFun < - signature(object = "basicPW"):设定值
wPreFun signature(object = "basicPW"): Get the value
wPreFunsignature(object = "basicPW"):获取价值
wType<- signature(object = "basicPW"): Set the value
的wType < - signature(object = "basicPW"):设定值
wType signature(object = "basicPW"): Get the value for
的wTypesignature(object = "basicPW"):获取价值
wValue<- signature(object = "basicPW"): Set the value
wValue的< - signature(object = "basicPW"):设定值
wValue signature(object = "basicPW"): Get the value for
wValue的signature(object = "basicPW"):获取价值
wView<- signature(object = "basicPW"): Set the value
wView < - signature(object = "basicPW"):设定值
view signature(object = "basicPW"): Get the value for
查看signature(object = "basicPW"):获取价值
wWidth<- signature(object = "basicPW"): Set the value
wWidth < - signature(object = "basicPW"):设定值
wWidth signature(object = "basicPW"): Get the value for
wWidthsignature(object = "basicPW"):获取价值
作者(S)----------Author(s)----------
Jianhua Zhang
参考文献----------References----------
<h3>See Also</h3>
举例----------Examples----------
# Create an R environment to store the values of primary widgets[创建R环境的主要部件的存储值]
PWEnv <- new.env(hash = TRUE, parent = parent.frame(1))
# Create a label[创建一个标签]
label1 <- label(wName = "label1", wValue = "File Name: ", wEnv = PWEnv)
# Create an entry box with "Feed me using brows" as the default value[创建一个输入框,“喂我用眉毛”作为默认值]
entry1 <- entryBox(wName = "entry1", wValue = "Feed me using browse",
wEnv = PWEnv)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|