class Lebowski::Foundation::Views::CollectionView
Represents a proxy to a generic SproutCore collection view (SC.CollectionView)
Public Instance Methods
allowed_content_deletion?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 23 def allowed_content_deletion?() return self['canDeleteContent'] end
allowed_content_editing?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 27 def allowed_content_editing?() return self['canEditContent'] end
allowed_content_reordering?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 19 def allowed_content_reordering?() return self['canReorderContent'] end
allowed_deselect_all?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 31 def allowed_deselect_all?() return self['allowDeselectAll'] end
apply_drag_to_end_of(source)
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 57 def apply_drag_to_end_of(source) # no-op end
apply_drag_to_start_of(source)
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 53 def apply_drag_to_start_of(source) # no-op end
can_drag_to_end_of?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 49 def can_drag_to_end_of?() return false end
can_drag_to_start_of?()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 45 def can_drag_to_start_of?() return false end
content()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 35 def content() @content = create_content_object_array if @content.nil? return @content end
item_views()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 40 def item_views() @item_views = create_item_views_object_array if @item_views.nil? return @item_views end
Protected Instance Methods
create_content_object_array()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 63 def create_content_object_array() return Support::CollectionItemArray.new self end
create_item_views_object_array()
click to toggle source
# File lib/lebowski/foundation/views/collection.rb, line 67 def create_item_views_object_array() return Support::CollectionItemViewArray.new self end