From d37a062596b1a183e7f945cb6e185c785ece6c55 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 9 May 2017 17:31:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/widget.js | 20 ++++++++++++++++++++ docs/widget.js | 20 ++++++++++++++++++++ src/widget/pagetable/pagetable.js | 12 ++++++++++++ src/widget/sequencetable/sequencetable.js | 8 ++++++++ 4 files changed, 60 insertions(+) diff --git a/bi/widget.js b/bi/widget.js index 2c97d202d..ee394d893 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -13053,6 +13053,18 @@ BI.PageTable = BI.inherit(BI.Widget, { return this.table.getVerticalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + + setVerticalScroll: function (scrollTop) { + this.table.setVerticalScroll(scrollTop); + }, + restore: function () { this.table.restore(); }, @@ -16176,6 +16188,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, { return this.table.hasRightHorizontalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + setVerticalScroll: function (scrollTop) { this.table.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop); diff --git a/docs/widget.js b/docs/widget.js index 2c97d202d..ee394d893 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -13053,6 +13053,18 @@ BI.PageTable = BI.inherit(BI.Widget, { return this.table.getVerticalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + + setVerticalScroll: function (scrollTop) { + this.table.setVerticalScroll(scrollTop); + }, + restore: function () { this.table.restore(); }, @@ -16176,6 +16188,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, { return this.table.hasRightHorizontalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + setVerticalScroll: function (scrollTop) { this.table.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop); diff --git a/src/widget/pagetable/pagetable.js b/src/widget/pagetable/pagetable.js index 87ea99a45..a609728f5 100644 --- a/src/widget/pagetable/pagetable.js +++ b/src/widget/pagetable/pagetable.js @@ -243,6 +243,18 @@ BI.PageTable = BI.inherit(BI.Widget, { return this.table.getVerticalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + + setVerticalScroll: function (scrollTop) { + this.table.setVerticalScroll(scrollTop); + }, + restore: function () { this.table.restore(); }, diff --git a/src/widget/sequencetable/sequencetable.js b/src/widget/sequencetable/sequencetable.js index bfb4bc463..52adfdd93 100644 --- a/src/widget/sequencetable/sequencetable.js +++ b/src/widget/sequencetable/sequencetable.js @@ -195,6 +195,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, { return this.table.hasRightHorizontalScroll(); }, + setLeftHorizontalScroll: function (scrollLeft) { + this.table.setLeftHorizontalScroll(scrollLeft); + }, + + setRightHorizontalScroll: function (scrollLeft) { + this.table.setRightHorizontalScroll(scrollLeft); + }, + setVerticalScroll: function (scrollTop) { this.table.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop);