R/EventTrace-class.R

## ======================================================================
## Used for record mouse position and something
## ======================================================================
EventTrace.gen <- setPropertySet("EventTrace",
                                 fields = list(
                                   focusin = "logical",
                                   selfSignal = "logical",
                                   hoverPos = "numeric",
                                   hoverId = "integer",
                                   flag = "logical"
                                   ),
                                   prototype = list(
                                     ),
                                 methods = list(
                                   initialize = function(...){
                                     flag <<- FALSE
                                     focusin <<- FALSE
                                     selfSignal <<- FALSE
                                     callSuper(...)
                                   }
                                   ))
tengfei/visnab documentation built on May 31, 2019, 8:34 a.m.