Exemplo n.º 1
0
 /**
  * An initialized table view object
  *
  * @param dataSource data source;
  * @param size view size
  * @param container parent object for cells
  * @return table view
  */
 public CCTableView(CCTableViewDataSource dataSource, CCSize size, CCNode container)
 {
     InitWithViewSize(size, container);
     DataSource = dataSource;
     _updateCellPositions();
     _updateContentSize();
 }
Exemplo n.º 2
0
 /**
  * An initialized table view object
  *
  * @param dataSource data source;
  * @param size view size
  * @param container parent object for cells
  * @return table view
  */
 public static CCTableView Create(CCTableViewDataSource dataSource, CCSize size, CCNode container)
 {
     var table = new CCTableView();
     table.InitWithViewSize(size, container);
     table.DataSource = dataSource;
     table._updateContentSize();
     return table;
 }
Exemplo n.º 3
0
 /**
  * An intialized table view object
  *
  * @param dataSource data source
  * @param size view size
  * @return table view
  */
 public static CCTableView Create(CCTableViewDataSource dataSource, CCSize size)
 {
     return Create(dataSource, size, null);
 }
Exemplo n.º 4
0
 /**
  * An intialized table view object
  *
  * @param dataSource data source
  * @param size view size
  * @return table view
  */
 public CCTableView(CCTableViewDataSource dataSource, CCSize size)
     : this(dataSource, size, null)
 {
 }
Exemplo n.º 5
0
 /**
  * An initialized table view object
  *
  * @param dataSource data source;
  * @param size view size
  * @param container parent object for cells
  * @return table view
  */
 public CCTableView(CCTableViewDataSource dataSource, CCSize size, CCNode container)
 {
     InitWithViewSize(size, container);
     DataSource = dataSource;
     _updateContentSize();
 }
Exemplo n.º 6
0
 /**
  * An intialized table view object
  *
  * @param dataSource data source
  * @param size view size
  * @return table view
  */
 public CCTableView(CCTableViewDataSource dataSource, CCSize size)
     : this(dataSource, size, null)
 {
 }