8 protected string m_sListParent;
11 protected ref array<ref SCR_WidgetListEntry> m_aInitialEntryList;
13 protected Widget m_Root;
14 protected ScrollLayoutWidget m_wScrollWidget;
15 protected VerticalLayoutWidget m_wList;
22 override void HandlerAttached(Widget w)
26 m_wList = VerticalLayoutWidget.Cast(w.FindAnyWidget(m_sListParent));
28 m_wList = VerticalLayoutWidget.Cast(w);
30 for (
int i = 0, count = m_aInitialEntryList.Count(); i < count; i++)
32 m_aInitialEntryList[i].CreateWidget(
m_wList);
41 array<ref SCR_WidgetListEntry> GetInitialEntryList()
43 return m_aInitialEntryList;
50 for (
int i = 0, count = m_aInitialEntryList.Count(); i < count; i++)
55 if (m_aInitialEntryList[i].GetPropertyName() == propertyName)
56 return m_aInitialEntryList[i];
61 if (m_aInitialEntryList[i].GetPropertyName() == propertyName && m_aInitialEntryList[i].GetGroupTag() == groupTag)
62 return m_aInitialEntryList[i];
73 Widget GetInvalidEntry()
76 for (
int i = 0, count = m_aInitialEntryList.Count(); i < count; i++)
81 return m_aInitialEntryList[i].GetEntryRoot();