@compass-framework/worksheet-layout 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,8 @@ import {
5
5
  Rect,
6
6
  Configuration,
7
7
  Canvas,
8
- ViewParent
8
+ ViewParent,
9
+ Paint
9
10
  } from "@compass-framework/core"
10
11
 
11
12
  import {
@@ -20,22 +21,22 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
20
21
 
21
22
  public abstract sumColumnWidth(start: number, end: number): number;
22
23
 
23
- public abstract getRowHeight(index: number): number;
24
-
25
- public abstract getColumnWidth(index: number): number;
24
+ public abstract getMaximumRowCount(): number;
26
25
 
27
- public abstract getRowCount(): number;
26
+ public abstract getMaximumColumnCount(): number;
28
27
 
29
28
  public abstract getColumnCount(): number;
30
29
 
31
- public abstract getMaximumColumnCount(): number;
30
+ public abstract getRowCount(): number;
32
31
 
33
- public abstract getMaximumRowCount(): number;
32
+ public abstract getColumnWidth(index: number): number;
34
33
 
35
- public abstract getCumulativeRowHeight(index: number): number;
34
+ public abstract getRowHeight(index: number): number;
36
35
 
37
36
  public abstract getCumulativeColumnWidth(index: number): number;
38
37
 
38
+ public abstract getCumulativeRowHeight(index: number): number;
39
+
39
40
  public onGenericMotion(v: View, event: MotionEvent): boolean;
40
41
 
41
42
  public onConfigurationChanged(newConfig: Configuration): void;
@@ -72,8 +73,14 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
72
73
 
73
74
  public getContentHeight(): number;
74
75
 
76
+ public getViewportWidth(): number;
77
+
78
+ public getViewportHeight(): number;
79
+
75
80
  public getViewType(): WorksheetLayout.ViewType;
76
81
 
82
+ public getFreezeDividerPaint(): Paint;
83
+
77
84
  public setViewType(type: WorksheetLayout.ViewType): void;
78
85
 
79
86
  public getVerticalSegment(): VerticalSegment[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/worksheet-layout",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "@compass-framework/worksheet-layout public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",