\HeaderA{genView-class}{Class "genView": A virtual class to describe a view}{genView.Rdash.class}
\aliasA{dataName,genView-method}{genView-class}{dataName,genView.Rdash.method}
\aliasA{dataName<-,genView-method}{genView-class}{dataName<.Rdash.,genView.Rdash.method}
\aliasA{genView}{genView-class}{genView}
\aliasA{identifyView}{genView-class}{identifyView}
\aliasA{redrawView}{genView-class}{redrawView}
\aliasA{updateView}{genView-class}{updateView}
\aliasA{win}{genView-class}{win}
\aliasA{win,genView-method}{genView-class}{win,genView.Rdash.method}
\aliasA{win<\Rdash}{genView-class}{win<.Rdash.}
\aliasA{win<-,genView-method}{genView-class}{win<.Rdash.,genView.Rdash.method}
\aliasA{winNum}{genView-class}{winNum}
\aliasA{winNum,genView-method}{genView-class}{winNum,genView.Rdash.method}
\aliasA{winNum<\Rdash}{genView-class}{winNum<.Rdash.}
\aliasA{winNum<-,genView-method}{genView-class}{winNum<.Rdash.,genView.Rdash.method}
\keyword{classes}{genView-class}
\begin{Description}\relax
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.
\end{Description}
\begin{Section}{Objects from the Class}
A virtual Class: No objects may be created from it.
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{dataName}:] a character string describing what data are shown
in the view 
\item[\code{win}:] an object of class \code{"GtkWindow"} that holds the
view 
\item[\code{winNum}:] a number that tells what number view this is (for
example, the first view created will have winNum=1) 
}
\end{Section}
\begin{Section}{Methods}
\describe{
\item[dataName<-] Sets the \code{dataName} slot 
\item[dataName] Returns the \code{dataName} slot 
\item[win<-] Sets the \code{win} slot 
\item[win] Returns the \code{win} slot 
\item[winNum<-] Sets the \code{winNum} slot 
\item[winNum] Returns the \code{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).
\end{Section}
\begin{Author}\relax
Elizabeth Whalen
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{plotView-class}{plotView.Rdash.class}},
\code{\LinkA{sPlotView-class}{sPlotView.Rdash.class}},
\code{\LinkA{spreadView-class}{spreadView.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
\end{ExampleCode}
\end{Examples}

