genView-class {MVCClass} | 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
slot dataName
slot win
slot win
slot winNum
slot winNum
slot Also, all view objects will have two methods, redrawView and updateView, that will define how a view should be redrawn when the underlying data has changed. The redrawView method will completely redraw the view, while the updateView method will only redraw the parts of the view that have changed. Both of these methods, redrawView and updateView, will be defined in packages that use this package, such as iSPlot and iSNetwork. Also, all views will have an identifyView method that will identify an object (such as a point, a node, a row, etc.) on the view given some location on the view (such as the user coordinates).
Elizabeth Whalen
plotView-class
,
sPlotView-class
,
spreadView-class