class Lebowski::Foundation::Views::SegmentedView

Represents a proxy to a SproutCore segemented view (SC.SegmentedView)

Public Instance Methods

allowed_empty_selection?() click to toggle source
# File lib/lebowski/foundation/views/segmented.rb, line 17
def allowed_empty_selection?()
  return self['allowsEmptySelection']
end
allowed_multiple_selection?() click to toggle source
# File lib/lebowski/foundation/views/segmented.rb, line 21
def allowed_multiple_selection?()
  return self['allowsMultipleSelection']
end
buttons() click to toggle source
# File lib/lebowski/foundation/views/segmented.rb, line 25
def buttons()
  @items = create_simple_item_array if @items.nil?
  return @items
end

Protected Instance Methods

create_simple_item_array() click to toggle source
# File lib/lebowski/foundation/views/segmented.rb, line 32
def create_simple_item_array()
  return Support::SegmentItemArray.new self
end