|
|
@ -150,6 +150,16 @@ BI.ListPane = BI.inherit(BI.Pane, { |
|
|
|
this.button_group.setValue.apply(this.button_group, arguments); |
|
|
|
this.button_group.setValue.apply(this.button_group, arguments); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setAllSelected: function (v) { |
|
|
|
|
|
|
|
if (this.button_group.setAllSelected) { |
|
|
|
|
|
|
|
this.button_group.setAllSelected(v); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
BI.each(this.getAllButtons(), function (i, btn) { |
|
|
|
|
|
|
|
(btn.setSelected || btn.setAllSelected).apply(btn, [v]); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
return this.button_group.getValue.apply(this.button_group, arguments); |
|
|
|
return this.button_group.getValue.apply(this.button_group, arguments); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -183,4 +193,4 @@ BI.ListPane = BI.inherit(BI.Pane, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.list_pane", BI.ListPane); |
|
|
|
BI.shortcut("bi.list_pane", BI.ListPane); |
|
|
|