Class: Shoes::Mock::InputBox

Inherits:
Object
  • Object
show all
Includes:
CommonMethods
Defined in:
shoes-core/lib/shoes/mock/input_box.rb

Direct Known Subclasses

EditBox, EditLine

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from CommonMethods

#initialize, #update_fill, #update_position, #update_stroke, #update_visibility

Instance Attribute Details

#leftObject

Returns the value of attribute left.



7
8
9
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 7

def left
  @left
end

#topObject

Returns the value of attribute top.



7
8
9
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 7

def top
  @top
end

Instance Method Details

#caret_to(_index) ⇒ Object



18
19
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 18

def caret_to(_index)
end

#enabled(_value) ⇒ Object



9
10
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 9

def enabled(_value)
end

#highlight_text(_start_index, _finish_index) ⇒ Object



15
16
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 15

def highlight_text(_start_index, _finish_index)
end

#readonly=(_value) ⇒ Object



12
13
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 12

def readonly=(_value)
end

#textObject



21
22
23
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 21

def text
  @dsl.style[:text]
end

#text=(_value) ⇒ Object



25
26
# File 'shoes-core/lib/shoes/mock/input_box.rb', line 25

def text=(_value)
end