File tree Expand file tree Collapse file tree 3 files changed +27
-14
lines changed
agGrid/src/main/java/us/ascendtech/client/aggrid Expand file tree Collapse file tree 3 files changed +27
-14
lines changed Original file line number Diff line number Diff line change 8
8
@ JsType (isNative = true , namespace = JsPackage .GLOBAL , name = "Object" )
9
9
public class AGGridParams <T > {
10
10
11
- private GridApi api ;
12
- private ColumnDefinition colDef ;
13
- private ColumnApi columnApi ;
11
+ private GridApi < T > api ;
12
+ private ColumnDefinition < T > colDef ;
13
+ private ColumnApi < T > columnApi ;
14
14
private Object context ;
15
15
private T data ;
16
16
private Object value ;
17
17
private Element eGridCell ;
18
18
19
19
@ JsOverlay
20
- public final GridApi getApi () {
20
+ public final GridApi < T > getApi () {
21
21
return api ;
22
22
}
23
23
24
24
@ JsOverlay
25
- public final void setApi (GridApi api ) {
25
+ public final void setApi (GridApi < T > api ) {
26
26
this .api = api ;
27
27
}
28
28
29
29
@ JsOverlay
30
- public final ColumnDefinition getColDef () {
30
+ public final ColumnDefinition < T > getColDef () {
31
31
return colDef ;
32
32
}
33
33
34
34
@ JsOverlay
35
- public final void setColDef (ColumnDefinition colDef ) {
35
+ public final void setColDef (ColumnDefinition < T > colDef ) {
36
36
this .colDef = colDef ;
37
37
}
38
38
39
39
@ JsOverlay
40
- public final ColumnApi getColumnApi () {
40
+ public final ColumnApi < T > getColumnApi () {
41
41
return columnApi ;
42
42
}
43
43
44
44
@ JsOverlay
45
- public final void setColumnApi (ColumnApi columnApi ) {
45
+ public final void setColumnApi (ColumnApi < T > columnApi ) {
46
46
this .columnApi = columnApi ;
47
47
}
48
48
Original file line number Diff line number Diff line change 1
1
package us .ascendtech .client .aggrid ;
2
2
3
- import elemental2 .core .JsObject ;
4
3
import jsinterop .annotations .JsPackage ;
5
4
import jsinterop .annotations .JsProperty ;
6
5
import jsinterop .annotations .JsType ;
7
6
8
7
@ JsType (isNative = true , namespace = JsPackage .GLOBAL , name = "window" )
9
8
public interface AGTheme {
10
9
@ JsProperty (name = "themeBalham" )
11
- JsObject getThemeBalham ();
10
+ Theme getThemeBalham ();
12
11
13
12
@ JsProperty (name = "themeQuartz" )
14
- JsObject getThemeQuartz ();
13
+ Theme getThemeQuartz ();
15
14
16
15
@ JsProperty (name = "themeMaterial" )
17
- JsObject getThemeMaterial ();
16
+ Theme getThemeMaterial ();
18
17
19
18
@ JsProperty (name = "themeAlpine" )
20
- JsObject getThemeAlpine ();
19
+ Theme getThemeAlpine ();
21
20
}
Original file line number Diff line number Diff line change
1
+ package us .ascendtech .client .aggrid ;
2
+
3
+ import jsinterop .annotations .JsMethod ;
4
+ import jsinterop .annotations .JsPackage ;
5
+ import jsinterop .annotations .JsType ;
6
+ import jsinterop .base .JsPropertyMap ;
7
+
8
+ @ JsType (isNative = true , namespace = JsPackage .GLOBAL , name = "Object" )
9
+ public class Theme {
10
+
11
+ @ JsMethod
12
+ public native Theme withParams (JsPropertyMap <Object > params );
13
+
14
+ }
You can’t perform that action at this time.
0 commit comments