Commit 9ffdf4c0 authored by iSergio's avatar iSergio
Browse files

Interface of widgets

parent 1fd31fd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ import org.cesiumjs.cs.widgets.options.CesiumWidgetOptions;
 * @author Serge Silaev aka iSergio
 */
@JsType(isNative = true, namespace = "Cesium", name = "CesiumWidget")
public class CesiumWidget {
public class CesiumWidget implements Widget {
    /**
     * Gets the canvas.
     */
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ import org.cesiumjs.cs.widgets.options.ViewerOptions;
 * @author Serge Silaev aka iSergio
 */
@JsType(isNative = true, namespace = "Cesium", name = "Viewer")
public class Viewer {
public class Viewer implements Widget {
    /**
     * Gets or sets whether or not data sources can temporarily pause animation in
     * order to avoid showing an incomplete picture to the user. For example, if
+23 −0
Original line number Diff line number Diff line
/*
 * Copyright 2022 iSergio, Gis4Fun.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.cesiumjs.cs.widgets;

import jsinterop.annotations.JsType;

@JsType(isNative = true)
public interface Widget {
}