Class: Lebowski::Foundation::Views::Support::ListItemViewArray

Inherits:
CollectionItemViewArray show all
Defined in:
lib/lebowski/foundation/views/list.rb

Constant Summary

Constants inherited from CollectionItemViewArray

CollectionItemViewArray::SELECT_ALL_KEY

Constants included from Lebowski::Foundation

SC_BRANCH_CLOSED, SC_BRANCH_OPEN, SC_BUTTON1_STATUS, SC_BUTTON2_STATUS, SC_BUTTON3_STATUS, SC_LEAF_NODE, SC_MIXED_STATE, SC_PICKER_FIXED, SC_PICKER_MENU, SC_PICKER_POINTER, SC_T_ARRAY, SC_T_BOOL, SC_T_CLASS, SC_T_ERROR, SC_T_FUNCTION, SC_T_HASH, SC_T_NULL, SC_T_NUMBER, SC_T_OBJECT, SC_T_STRING, SC_T_UNDEFINED

Instance Method Summary collapse

Methods inherited from CollectionItemViewArray

#deselect, #deselect_all, #find_with_content, #index_of, #select, #select_add, #select_all, #select_range

Methods inherited from CollectionItemArray

#initialize, #selected

Methods inherited from ObjectArray

#[], #all?, #any?, #count, #each, #empty?, #filter, #find_all, #find_first, #find_indexes, #find_last, #first, #index_of, #initialize, #last, #member?, #none?, #one?, #prefilter

Constructor Details

This class inherits a constructor from Lebowski::Foundation::Views::Support::CollectionItemArray

Instance Method Details

#mix_in_support_for_object(obj) ⇒ Object



55
56
57
58
59
# File 'lib/lebowski/foundation/views/list.rb', line 55

def mix_in_support_for_object(obj)
  if not obj.class.ancestors.member? Mixins::ListItemViewSupport            
    obj.extend Mixins::ListItemViewSupport
  end
end