| genView-class {iSPlot} | R Documentation |
genView is a virtual class that all view classes inherit from. All views will contain the information of what window (slot win) they are stored in, what data (slot dataName) is shown in the view, and the number of the window (slot winNum) that shows the view.
A virtual Class: No objects may be created from it.
dataName:win:"GtkWindow" that holds the view winNum:dataName slotdataName slotwin slotwin slotwinNum slotwinNum slotElizabeth Whalen
plotView-class,
sPlotView-class,
spreadView-class,
setControlEnvDefaults
if (interactive())
{
createControlWindow()
# should load data through Open Data or Open File under the File menu
data(USArrests)
loadDFData(USArrests,"USArrests")
# plotting the data should occur through Plot Data under
# the Display menu
createView(type = "plotView", dataName = "USArrests",
plotType = "sPlotView", dfRows = 1:nrow(USArrests),
dfColumns = 1:2)
# this will create an object of class, sPlotView, which inherits from
# genView
is(get("viewList",viewEnv)[[1]],"genView")
}