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
slotwin
slotwinNum
slotElizabeth Whalen
plotView-class
,
sPlotView-class
,
spreadView-class
,
if (interactive()) { createControlWindow() # should load data through Open Data or Open File under the File menu data(USArrests) loadDFData(USArrests,"USArrests") # viewing the data should occur through View Data under # the Display menu vMessage<-new("gAddViewMessage", dataName="USArrests", type="spreadView") handleMessage(vMessage) # this will create an object of class, sPlotView, which inherits from # genView is(getViewEnvVar("viewList")[[1]], "genView") }