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
19
20
21
|
# File 'lib/droiuby/wrappers/edit_text.rb', line 19
def color
@view.getTextColors.getDefaultColor
end
|
#color=(value) ⇒ Object
15
16
17
|
# File 'lib/droiuby/wrappers/edit_text.rb', line 15
def color=(value)
@view.setTextColor(value)
end
|
11
12
13
|
# File 'lib/droiuby/wrappers/edit_text.rb', line 11
def text
@view.getText.toString
end
|
#text=(text) ⇒ Object
7
8
9
|
# File 'lib/droiuby/wrappers/edit_text.rb', line 7
def text=(text)
@view.setText(text)
end
|