Class: YuiRestClient::Widgets::Progressbar
- Defined in:
- lib/yui_rest_client/widgets/progressbar.rb
Overview
Class representing a Progressbar in UI. It can be YProgressBar.
Instance Method Summary collapse
-
#max_value ⇒ Integer
Returns the max value of progressbar.
-
#value ⇒ Integer
Returns the current value of progressbar.
Methods inherited from Base
#action, #collect_all, #debug_label, #enabled?, #exists?, #initialize, #property
Methods included from YuiRestClient::Waitable
Constructor Details
This class inherits a constructor from YuiRestClient::Widgets::Base
Instance Method Details
#max_value ⇒ Integer
Returns the max value of progressbar. Gets value from ‘max_value’ parameter in JSON representation of YProgressBar.
40 41 42 |
# File 'lib/yui_rest_client/widgets/progressbar.rb', line 40 def max_value property(:max_value) end |
#value ⇒ Integer
Returns the current value of progressbar. Gets value from ‘value’ parameter in JSON representation of YProgressBar.
21 22 23 |
# File 'lib/yui_rest_client/widgets/progressbar.rb', line 21 def value property(:value) end |