Module: ProMotion::Table::TableClassMethods

Defined in:
lib/ProMotion/table/table.rb

Instance Method Summary collapse

Instance Method Details

#get_indexableObject



292
293
294
# File 'lib/ProMotion/table/table.rb', line 292

def get_indexable
  @indexable ||= false
end

#get_indexable_paramsObject



296
297
298
# File 'lib/ProMotion/table/table.rb', line 296

def get_indexable_params
  @indexable_params ||= nil
end

#get_longpressableObject



306
307
308
# File 'lib/ProMotion/table/table.rb', line 306

def get_longpressable
  @longpressable ||= false
end

#get_longpressable_paramsObject



310
311
312
# File 'lib/ProMotion/table/table.rb', line 310

def get_longpressable_params
  @longpressable_params ||= nil
end

#get_refreshableObject



278
279
280
# File 'lib/ProMotion/table/table.rb', line 278

def get_refreshable
  @refreshable ||= false
end

#get_refreshable_paramsObject



282
283
284
# File 'lib/ProMotion/table/table.rb', line 282

def get_refreshable_params
  @refreshable_params ||= nil
end

#get_searchableObject



268
269
270
# File 'lib/ProMotion/table/table.rb', line 268

def get_searchable
  @searchable ||= false
end

#get_searchable_paramsObject



264
265
266
# File 'lib/ProMotion/table/table.rb', line 264

def get_searchable_params
  @searchable_params ||= nil
end

#indexable(params = {}) ⇒ Object

Indexable



287
288
289
290
# File 'lib/ProMotion/table/table.rb', line 287

def indexable(params = {})
  @indexable_params = params
  @indexable = true
end

#longpressable(params = {}) ⇒ Object

Longpressable



301
302
303
304
# File 'lib/ProMotion/table/table.rb', line 301

def longpressable(params = {})
  @longpressable_params = params
  @longpressable = true
end

#refreshable(params = {}) ⇒ Object

Refreshable



273
274
275
276
# File 'lib/ProMotion/table/table.rb', line 273

def refreshable(params = {})
  @refreshable_params = params
  @refreshable = true
end

#searchable(params = {}) ⇒ Object

Searchable



259
260
261
262
# File 'lib/ProMotion/table/table.rb', line 259

def searchable(params={})
  @searchable_params = params
  @searchable = true
end

#table_styleObject



254
255
256
# File 'lib/ProMotion/table/table.rb', line 254

def table_style
  UITableViewStylePlain
end