Initial commit
This commit is contained in:
17
third-party/mexui/Core/Entry/TreeRow.js
vendored
Normal file
17
third-party/mexui/Core/Entry/TreeRow.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
mexui.Entry.TreeRow = function(tree, text)
|
||||
{
|
||||
mexui.Component.Entry.call(this, tree, 1);
|
||||
|
||||
this.open = true;
|
||||
this.text = text;
|
||||
this.rows = [];
|
||||
};
|
||||
mexui.util.extend(mexui.Entry.TreeRow, mexui.Component.Entry);
|
||||
|
||||
// model
|
||||
mexui.Entry.TreeRow.prototype.row = function(text)
|
||||
{
|
||||
var entry = new mexui.Entry.TreeRow(this.control, text);
|
||||
this.rows.push(entry);
|
||||
return entry;
|
||||
};
|
||||
Reference in New Issue
Block a user