File tree Expand file tree Collapse file tree 10 files changed +32
-24
lines changed
src/main/java/gwt/material/design Expand file tree Collapse file tree 10 files changed +32
-24
lines changed Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2121
2222import gwt .material .design .amcore .client .events .EventDispatcher ;
2323import gwt .material .design .jquery .client .api .Functions ;
24- import jsinterop .annotations .JsMethod ;
25- import jsinterop .annotations .JsPackage ;
26- import jsinterop .annotations .JsProperty ;
27- import jsinterop .annotations .JsType ;
24+ import jsinterop .annotations .*;
2825
29- @ JsType (isNative = true , namespace = JsPackage .GLOBAL )
26+ @ JsType (isNative = true , name = "Object" , namespace = JsPackage .GLOBAL )
3027public class Adapter <T , V > {
3128
3229 @ JsProperty
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2727@ JsType (isNative = true , namespace = "am4core" , name = "color" )
2828public class Color {
2929
30- public Color () {}
31-
3230 @ JsConstructor
33- public Color (String color ) {}
31+ public Color (String color ) {
32+ }
3433
3534 @ JsProperty
3635 public double alpha ;
Original file line number Diff line number Diff line change 1+ package gwt .material .design .amcore .client .color ;
2+
3+ import jsinterop .annotations .JsPackage ;
4+ import jsinterop .annotations .JsType ;
5+
6+ @ JsType (isNative = true , namespace = JsPackage .GLOBAL , name = "Object" )
7+ public class Fill extends Color {
8+
9+ public Fill (String color ) {
10+ super (color );
11+ }
12+ }
Original file line number Diff line number Diff line change 2323import jsinterop .annotations .JsProperty ;
2424import jsinterop .annotations .JsType ;
2525
26- @ JsType (isNative = true , namespace = JsPackage .GLOBAL )
26+ @ JsType (isNative = true , name = "Object" , namespace = JsPackage .GLOBAL )
2727public class EventTarget <T > {
2828
2929 @ JsProperty
Original file line number Diff line number Diff line change 2222import jsinterop .annotations .JsPackage ;
2323import jsinterop .annotations .JsProperty ;
2424import jsinterop .annotations .JsType ;
25- @ JsType (isNative = true , namespace = JsPackage .GLOBAL )
25+ @ JsType (isNative = true , name = "Object" , namespace = JsPackage .GLOBAL )
2626public class SortedListEvents <T > {
2727
2828 @ JsProperty
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
You can’t perform that action at this time.
0 commit comments