class UnderOs::UI::Spinner

Public Class Methods

new(options={}) click to toggle source
Calls superclass method UnderOs::UI::View::new
# File lib/under_os/ui/spinner.rb, line 4
def initialize(options={})
  super
  show
end

Public Instance Methods

hidden() click to toggle source
# File lib/under_os/ui/spinner.rb, line 19
def hidden
  @_.isAnimating == 0
end
hide() click to toggle source
# File lib/under_os/ui/spinner.rb, line 14
def hide
  @_.stopAnimating
  self
end
show() click to toggle source
# File lib/under_os/ui/spinner.rb, line 9
def show
  @_.startAnimating
  self
end