|
|
|
@ -5,14 +5,19 @@
|
|
|
|
|
* @class BI.ListPane |
|
|
|
|
* @extends BI.Pane |
|
|
|
|
*/ |
|
|
|
|
BI.ListPane = BI.inherit(BI.Pane, { |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.ListPane.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-list-pane", |
|
|
|
|
import { shortcut, extend, each, createWidget, emptyFn, nextTick, concat, get, Controller, Events, LogicFactory, Direction, isNull, removeAt, isFunction, isNotEmptyString, isEmptyArray } from "@/core"; |
|
|
|
|
import { Pane, ButtonGroup } from "@/base"; |
|
|
|
|
@shortcut() |
|
|
|
|
export class ListPane extends Pane { |
|
|
|
|
static xtype = "bi.list_pane"; |
|
|
|
|
static EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
_defaultConfig () { |
|
|
|
|
const conf = super._defaultConfig(...arguments); |
|
|
|
|
|
|
|
|
|
return extend(conf, { |
|
|
|
|
baseCls: `${conf.baseCls || ""} bi-list-pane`, |
|
|
|
|
logic: { |
|
|
|
|
dynamic: true |
|
|
|
|
dynamic: true, |
|
|
|
|
}, |
|
|
|
|
lgap: 0, |
|
|
|
|
rgap: 0, |
|
|
|
@ -21,181 +26,373 @@ BI.ListPane = BI.inherit(BI.Pane, {
|
|
|
|
|
vgap: 0, |
|
|
|
|
hgap: 0, |
|
|
|
|
items: [], |
|
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
hasNext: BI.emptyFn, |
|
|
|
|
onLoaded: BI.emptyFn, |
|
|
|
|
itemsCreator: emptyFn, |
|
|
|
|
hasNext: emptyFn, |
|
|
|
|
onLoaded: emptyFn, |
|
|
|
|
el: { |
|
|
|
|
type: "bi.button_group" |
|
|
|
|
} |
|
|
|
|
type: "bi.button_group", |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.ListPane.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
this.button_group = BI.createWidget(o.el, { |
|
|
|
|
} |
|
|
|
|
_init () { |
|
|
|
|
super._init(...arguments); |
|
|
|
|
const o = this.options; |
|
|
|
|
this.button_group = createWidget(o.el, { |
|
|
|
|
type: "bi.button_group", |
|
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
|
chooseType: ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
|
behaviors: {}, |
|
|
|
|
items: o.items, |
|
|
|
|
value: o.value, |
|
|
|
|
itemsCreator: function (op, calback) { |
|
|
|
|
itemsCreator: (op, callback) => { |
|
|
|
|
if (op.times === 1) { |
|
|
|
|
self.empty(); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self.loading(); |
|
|
|
|
this.empty(); |
|
|
|
|
nextTick(() => { |
|
|
|
|
this.loading(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
o.itemsCreator(op, function () { |
|
|
|
|
calback.apply(self, arguments); |
|
|
|
|
o.items = BI.concat(o.items, BI.get(arguments, [0], [])); |
|
|
|
|
o.itemsCreator(op, (...args) => { |
|
|
|
|
callback(...args); |
|
|
|
|
o.items = concat(o.items, get(...args, [0], [])); |
|
|
|
|
if (op.times === 1) { |
|
|
|
|
o.items = BI.get(arguments, [0], []); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self.loaded(); |
|
|
|
|
o.items = get(...args, [0], []); |
|
|
|
|
nextTick(() => { |
|
|
|
|
this.loaded(); |
|
|
|
|
// callback可能在loading之前执行, check保证显示正确
|
|
|
|
|
self.check(); |
|
|
|
|
this.check(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
hasNext: o.hasNext, |
|
|
|
|
layouts: [{ |
|
|
|
|
type: "bi.vertical" |
|
|
|
|
}] |
|
|
|
|
type: "bi.vertical", |
|
|
|
|
}], |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.button_group.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { |
|
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
|
|
|
|
if (type === BI.Events.CLICK) { |
|
|
|
|
self.fireEvent(BI.ListPane.EVENT_CHANGE, value, obj); |
|
|
|
|
this.button_group.on(Controller.EVENT_CHANGE, (type, value, obj, ...args) => { |
|
|
|
|
this.fireEvent(Controller.EVENT_CHANGE, ...args); |
|
|
|
|
if (type === Events.CLICK) { |
|
|
|
|
this.fireEvent(ListPane.EVENT_CHANGE, value, obj); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.check(); |
|
|
|
|
|
|
|
|
|
BI.createWidget(BI.extend({ |
|
|
|
|
element: this |
|
|
|
|
}, BI.LogicFactory.createLogic(BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Top), BI.extend({ |
|
|
|
|
createWidget(extend({ |
|
|
|
|
element: this, |
|
|
|
|
}, LogicFactory.createLogic(LogicFactory.createLogicTypeByDirection(Direction.Top), extend({ |
|
|
|
|
scrolly: true, |
|
|
|
|
lgap: o.lgap, |
|
|
|
|
rgap: o.rgap, |
|
|
|
|
tgap: o.tgap, |
|
|
|
|
bgap: o.bgap, |
|
|
|
|
vgap: o.vgap, |
|
|
|
|
hgap: o.hgap |
|
|
|
|
hgap: o.hgap, |
|
|
|
|
}, o.logic, { |
|
|
|
|
items: BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Top, this.button_group) |
|
|
|
|
items: LogicFactory.createLogicItemsByDirection(Direction.Top, this.button_group), |
|
|
|
|
})))); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hasPrev: function () { |
|
|
|
|
hasPrev () { |
|
|
|
|
return this.button_group.hasPrev && this.button_group.hasPrev(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hasNext: function () { |
|
|
|
|
hasNext () { |
|
|
|
|
return this.button_group.hasNext && this.button_group.hasNext(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
prependItems: function (items) { |
|
|
|
|
prependItems (items) { |
|
|
|
|
this.options.items = items.concat(this.options.items); |
|
|
|
|
this.button_group.prependItems.apply(this.button_group, arguments); |
|
|
|
|
this.button_group.prependItems(...arguments); |
|
|
|
|
this.check(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
addItems: function (items) { |
|
|
|
|
addItems (items) { |
|
|
|
|
this.options.items = this.options.items.concat(items); |
|
|
|
|
this.button_group.addItems.apply(this.button_group, arguments); |
|
|
|
|
this.button_group.addItems(...arguments); |
|
|
|
|
this.check(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
removeItemAt: function (indexes) { |
|
|
|
|
indexes = BI.isNull(indexes) ? [] : indexes; |
|
|
|
|
BI.removeAt(this.options.items, indexes); |
|
|
|
|
this.button_group.removeItemAt.apply(this.button_group, arguments); |
|
|
|
|
removeItemAt (indexes) { |
|
|
|
|
indexes = isNull(indexes) ? [] : indexes; |
|
|
|
|
removeAt(this.options.items, indexes); |
|
|
|
|
this.button_group.removeItemAt(...arguments); |
|
|
|
|
this.check(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
if (arguments.length === 0 && (BI.isFunction(this.button_group.attr("itemsCreator")))) {// 接管loader的populate方法
|
|
|
|
|
this.button_group.attr("itemsCreator").apply(this, [{ times: 1 }, function () { |
|
|
|
|
if (arguments.length === 0) { |
|
|
|
|
populate (items) { |
|
|
|
|
const o = this.options; |
|
|
|
|
if (arguments.length === 0 && (isFunction(this.button_group.attr("itemsCreator")))) {// 接管loader的populate方法
|
|
|
|
|
this.button_group.attr("itemsCreator").apply(this, [{ times: 1 }, (...args) => { |
|
|
|
|
if (args.length === 0) { |
|
|
|
|
throw new Error("参数不能为空"); |
|
|
|
|
} |
|
|
|
|
self.populate.apply(self, arguments); |
|
|
|
|
this.populate(...args); |
|
|
|
|
}]); |
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var context = BI.get(arguments, [2], {}); |
|
|
|
|
var tipText = context.tipText || ''; |
|
|
|
|
if (BI.isNotEmptyString(tipText)) { |
|
|
|
|
BI.ListPane.superclass.populate.apply(this, []); |
|
|
|
|
const context = get(arguments, [2], {}); |
|
|
|
|
const tipText = context.tipText || ""; |
|
|
|
|
if (isNotEmptyString(tipText)) { |
|
|
|
|
super.populate.apply(this, []); |
|
|
|
|
this.setTipText(tipText); |
|
|
|
|
} else { |
|
|
|
|
BI.ListPane.superclass.populate.apply(this, arguments); |
|
|
|
|
this.button_group.populate.apply(this.button_group, arguments); |
|
|
|
|
BI.isEmptyArray(BI.get(arguments, [0], [])) && this.setTipText(o.tipText); |
|
|
|
|
super.populate(...arguments); |
|
|
|
|
this.button_group.populate(...arguments); |
|
|
|
|
isEmptyArray(get(arguments, [0], [])) && this.setTipText(o.tipText); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
empty: function () { |
|
|
|
|
empty () { |
|
|
|
|
this.button_group.empty(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setNotSelectedValue: function () { |
|
|
|
|
this.button_group.setNotSelectedValue.apply(this.button_group, arguments); |
|
|
|
|
}, |
|
|
|
|
setNotSelectedValue () { |
|
|
|
|
this.button_group.setNotSelectedValue(...arguments); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getNotSelectedValue: function () { |
|
|
|
|
getNotSelectedValue () { |
|
|
|
|
return this.button_group.getNotSelectedValue(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setValue: function () { |
|
|
|
|
this.button_group.setValue.apply(this.button_group, arguments); |
|
|
|
|
}, |
|
|
|
|
setValue () { |
|
|
|
|
this.button_group.setValue(...arguments); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setAllSelected: function (v) { |
|
|
|
|
setAllSelected (v) { |
|
|
|
|
if (this.button_group.setAllSelected) { |
|
|
|
|
this.button_group.setAllSelected(v); |
|
|
|
|
} else { |
|
|
|
|
BI.each(this.getAllButtons(), function (i, btn) { |
|
|
|
|
each(this.getAllButtons(), (i, btn) => { |
|
|
|
|
(btn.setSelected || btn.setAllSelected).apply(btn, [v]); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
|
return this.button_group.getValue.apply(this.button_group, arguments); |
|
|
|
|
}, |
|
|
|
|
getValue () { |
|
|
|
|
return this.button_group.getValue(...arguments); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getAllButtons: function () { |
|
|
|
|
getAllButtons () { |
|
|
|
|
return this.button_group.getAllButtons(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getAllLeaves: function () { |
|
|
|
|
getAllLeaves () { |
|
|
|
|
return this.button_group.getAllLeaves(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getSelectedButtons: function () { |
|
|
|
|
getSelectedButtons () { |
|
|
|
|
return this.button_group.getSelectedButtons(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getNotSelectedButtons: function () { |
|
|
|
|
getNotSelectedButtons () { |
|
|
|
|
return this.button_group.getNotSelectedButtons(); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getIndexByValue: function (value) { |
|
|
|
|
getIndexByValue (value) { |
|
|
|
|
return this.button_group.getIndexByValue(value); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getNodeById: function (id) { |
|
|
|
|
getNodeById (id) { |
|
|
|
|
return this.button_group.getNodeById(id); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getNodeByValue: function (value) { |
|
|
|
|
getNodeByValue (value) { |
|
|
|
|
return this.button_group.getNodeByValue(value); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.list_pane", BI.ListPane); |
|
|
|
|
} |
|
|
|
|
// BI.ListPane = BI.inherit(BI.Pane, {
|
|
|
|
|
|
|
|
|
|
// _defaultConfig: function () {
|
|
|
|
|
// var conf = BI.ListPane.superclass._defaultConfig.apply(this, arguments);
|
|
|
|
|
// return BI.extend(conf, {
|
|
|
|
|
// baseCls: (conf.baseCls || "") + " bi-list-pane",
|
|
|
|
|
// logic: {
|
|
|
|
|
// dynamic: true
|
|
|
|
|
// },
|
|
|
|
|
// lgap: 0,
|
|
|
|
|
// rgap: 0,
|
|
|
|
|
// tgap: 0,
|
|
|
|
|
// bgap: 0,
|
|
|
|
|
// vgap: 0,
|
|
|
|
|
// hgap: 0,
|
|
|
|
|
// items: [],
|
|
|
|
|
// itemsCreator: BI.emptyFn,
|
|
|
|
|
// hasNext: BI.emptyFn,
|
|
|
|
|
// onLoaded: BI.emptyFn,
|
|
|
|
|
// el: {
|
|
|
|
|
// type: "bi.button_group"
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
// _init: function () {
|
|
|
|
|
// BI.ListPane.superclass._init.apply(this, arguments);
|
|
|
|
|
// var self = this, o = this.options;
|
|
|
|
|
|
|
|
|
|
// this.button_group = BI.createWidget(o.el, {
|
|
|
|
|
// type: "bi.button_group",
|
|
|
|
|
// chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
|
|
|
|
|
// behaviors: {},
|
|
|
|
|
// items: o.items,
|
|
|
|
|
// value: o.value,
|
|
|
|
|
// itemsCreator: function (op, calback) {
|
|
|
|
|
// if (op.times === 1) {
|
|
|
|
|
// self.empty();
|
|
|
|
|
// BI.nextTick(function () {
|
|
|
|
|
// self.loading();
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// o.itemsCreator(op, function () {
|
|
|
|
|
// calback.apply(self, arguments);
|
|
|
|
|
// o.items = BI.concat(o.items, BI.get(arguments, [0], []));
|
|
|
|
|
// if (op.times === 1) {
|
|
|
|
|
// o.items = BI.get(arguments, [0], []);
|
|
|
|
|
// BI.nextTick(function () {
|
|
|
|
|
// self.loaded();
|
|
|
|
|
// // callback可能在loading之前执行, check保证显示正确
|
|
|
|
|
// self.check();
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
// hasNext: o.hasNext,
|
|
|
|
|
// layouts: [{
|
|
|
|
|
// type: "bi.vertical"
|
|
|
|
|
// }]
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
// this.button_group.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) {
|
|
|
|
|
// self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
|
|
|
|
|
// if (type === BI.Events.CLICK) {
|
|
|
|
|
// self.fireEvent(BI.ListPane.EVENT_CHANGE, value, obj);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// this.check();
|
|
|
|
|
|
|
|
|
|
// BI.createWidget(BI.extend({
|
|
|
|
|
// element: this
|
|
|
|
|
// }, BI.LogicFactory.createLogic(BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Top), BI.extend({
|
|
|
|
|
// scrolly: true,
|
|
|
|
|
// lgap: o.lgap,
|
|
|
|
|
// rgap: o.rgap,
|
|
|
|
|
// tgap: o.tgap,
|
|
|
|
|
// bgap: o.bgap,
|
|
|
|
|
// vgap: o.vgap,
|
|
|
|
|
// hgap: o.hgap
|
|
|
|
|
// }, o.logic, {
|
|
|
|
|
// items: BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Top, this.button_group)
|
|
|
|
|
// }))));
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// hasPrev: function () {
|
|
|
|
|
// return this.button_group.hasPrev && this.button_group.hasPrev();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// hasNext: function () {
|
|
|
|
|
// return this.button_group.hasNext && this.button_group.hasNext();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// prependItems: function (items) {
|
|
|
|
|
// this.options.items = items.concat(this.options.items);
|
|
|
|
|
// this.button_group.prependItems.apply(this.button_group, arguments);
|
|
|
|
|
// this.check();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// addItems: function (items) {
|
|
|
|
|
// this.options.items = this.options.items.concat(items);
|
|
|
|
|
// this.button_group.addItems.apply(this.button_group, arguments);
|
|
|
|
|
// this.check();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// removeItemAt: function (indexes) {
|
|
|
|
|
// indexes = BI.isNull(indexes) ? [] : indexes;
|
|
|
|
|
// BI.removeAt(this.options.items, indexes);
|
|
|
|
|
// this.button_group.removeItemAt.apply(this.button_group, arguments);
|
|
|
|
|
// this.check();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// populate: function (items) {
|
|
|
|
|
// var self = this, o = this.options;
|
|
|
|
|
// if (arguments.length === 0 && (BI.isFunction(this.button_group.attr("itemsCreator")))) {// 接管loader的populate方法
|
|
|
|
|
// this.button_group.attr("itemsCreator").apply(this, [{ times: 1 }, function () {
|
|
|
|
|
// if (arguments.length === 0) {
|
|
|
|
|
// throw new Error("参数不能为空");
|
|
|
|
|
// }
|
|
|
|
|
// self.populate.apply(self, arguments);
|
|
|
|
|
// }]);
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// var context = BI.get(arguments, [2], {});
|
|
|
|
|
// var tipText = context.tipText || '';
|
|
|
|
|
// if (BI.isNotEmptyString(tipText)) {
|
|
|
|
|
// BI.ListPane.superclass.populate.apply(this, []);
|
|
|
|
|
// this.setTipText(tipText);
|
|
|
|
|
// } else {
|
|
|
|
|
// BI.ListPane.superclass.populate.apply(this, arguments);
|
|
|
|
|
// this.button_group.populate.apply(this.button_group, arguments);
|
|
|
|
|
// BI.isEmptyArray(BI.get(arguments, [0], [])) && this.setTipText(o.tipText);
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// empty: function () {
|
|
|
|
|
// this.button_group.empty();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// setNotSelectedValue: function () {
|
|
|
|
|
// this.button_group.setNotSelectedValue.apply(this.button_group, arguments);
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getNotSelectedValue: function () {
|
|
|
|
|
// return this.button_group.getNotSelectedValue();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// setValue: function () {
|
|
|
|
|
// 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 () {
|
|
|
|
|
// return this.button_group.getValue.apply(this.button_group, arguments);
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getAllButtons: function () {
|
|
|
|
|
// return this.button_group.getAllButtons();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getAllLeaves: function () {
|
|
|
|
|
// return this.button_group.getAllLeaves();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getSelectedButtons: function () {
|
|
|
|
|
// return this.button_group.getSelectedButtons();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getNotSelectedButtons: function () {
|
|
|
|
|
// return this.button_group.getNotSelectedButtons();
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getIndexByValue: function (value) {
|
|
|
|
|
// return this.button_group.getIndexByValue(value);
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getNodeById: function (id) {
|
|
|
|
|
// return this.button_group.getNodeById(id);
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// getNodeByValue: function (value) {
|
|
|
|
|
// return this.button_group.getNodeByValue(value);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
// BI.shortcut("bi.list_pane", BI.ListPane);
|
|
|
|
|