Learn R Programming

traitr (version 0.14)

View: Trait for View objects.

Description

A view "displays" the values in an associated model. The association is through a controller the view does not know the controller or the model Views are initialized through the make_ui method.

Usage

View

Arguments

Format

proto object 
 $ class              : chr [1:2] "View" "TraitR" 
 $ is_realized        :function (.)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 62 38 64 26 38 26 62 64 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ set_value_in_view  :function (., widget_name, value)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 79 45 87 25 45 25 79 87 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ widgets            : list() 
 $ attr               : list() 
 $ get_value_from_view:function (.)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 73 47 73 60 47 60 73 73 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ enabled            :function (., value)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 94 36 96 26 36 26 94 96 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ get_widgets        :function (.)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 43 39 43 59 39 59 43 43 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ visible            :function (., value)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 101 36 103 26 36 26 101 103 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ make_ui            :function (., cont, attr = .$attr)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 57 34 57 66 34 66 57 57 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 $ get_widget_by_name :function (., key)   
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 48 45 48 83 45 83 48 48 
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile'   
 parent: proto object