Class: EditTextWrapper
Instance Method Summary
collapse
#text_color, #text_color=, #text_size=
Methods inherited from ViewWrapper
#animate, #background=, #background_color=, #blink, #builder, #click, #data, #enabled=, #enabled?, #find, #gone=, #gone?, #height=, #hidden?, #hide!, #initialize, #invalidate, #native, #p_tree, #parent, #show!, #tag, #to_front!, #to_native, #visible=, #visible?, #width=
#on
included
included
Constructor Details
This class inherits a constructor from ViewWrapper
Instance Method Details
17
18
19
|
# File 'lib/droiuby/wrappers/edit_text_wrapper.rb', line 17
def color
@view.getTextColors.getDefaultColor
end
|
#color=(value) ⇒ Object
13
14
15
|
# File 'lib/droiuby/wrappers/edit_text_wrapper.rb', line 13
def color=(value)
@view.setTextColor(value)
end
|
9
10
11
|
# File 'lib/droiuby/wrappers/edit_text_wrapper.rb', line 9
def text
@view.getText.toString
end
|
#text=(text) ⇒ Object
5
6
7
|
# File 'lib/droiuby/wrappers/edit_text_wrapper.rb', line 5
def text=(text)
@view.setText(text)
end
|