| SimpleW-class {widgetInvoke} | R Documentation |
The SimpleW is a virtual class used to provide a framework for
representing the type of widget used to display and obtain information
in the widgetInvoke package. There are currently three
subclasses, providing for radio buttons (RadButtonW), a drop
down list (DropDownW) or text entry (TypeInW)
Objects can be created by calls of the form new("SimpleW", ...).
defaultValue:"character": This
is the only slot defined by SimpleW and represents the
default value of the argument.nItems:"numeric": This is used
by the RadButtonW and DropDownW subclasses, and
describes how many objects are to be represented in their widget.itemNames:"character": This is
used by the RadButtonW and DropDownW subclasses, and
is a character vector detailing the names of the objects to
display in the widget. The length of itemNames must match
the value stored in the nItems slot.returnType:"character": This is
used by the TypeInW subclass, and specifies the return type
of this argument (e.g. character, numeric, logical).
signature(object = "SimpleW"): Retrieves the
defaultValue slot.signature(object = "RadButtonW"): Retrieves
the nItems slot.signature(object = "DropDownW"): Retrieves
the nItems slot.signature(object = "TypeInW"): Retrieves the
returnType slot.Jeff Gentry