Class: Formotion::RowType::NumberRow

Inherits:
StringRow show all
Defined in:
lib/formotion/row_type/number_row.rb

Direct Known Subclasses

CurrencyRow

Constant Summary

Constants inherited from StringRow

StringRow::TEXT_FIELD_TAG

Instance Attribute Summary

Attributes inherited from Base

#row, #tableView

Instance Method Summary collapse

Methods inherited from StringRow

#add_callbacks, #build_cell, #done_editing, #on_change, #on_select, #row_value, #update_text_field

Methods inherited from Base

#_on_select, #after_build, #after_delete, #break_with_semaphore, #build_cell, #button?, #cellEditingStyle, #cell_style, #delete_row, #done_editing, field_buffer, #indentWhileEditing?, #initialize, #input_accessory_view, #on_delete, #on_select, #update_cell, #with_semaphore

Constructor Details

This class inherits a constructor from Formotion::RowType::Base

Instance Method Details

#keyboardTypeObject



7
8
9
10
11
12
# File 'lib/formotion/row_type/number_row.rb', line 7

def keyboardType
  if BW::Device.ipad?
    return UIKeyboardTypeNumberPad
  end
  UIKeyboardTypeDecimalPad
end