@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.281Z") @Stability(value=Experimental) public interface IWidget extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IWidget.Jsii$Default
Internal default implementation for
IWidget. |
static class |
IWidget.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
Number |
getHeight()
(experimental) The amount of vertical grid units the widget will take up.
|
Number |
getWidth()
(experimental) The amount of horizontal grid units the widget will take up.
|
void |
position(Number x,
Number y)
(experimental) Place the widget at a given position.
|
List<Object> |
toJson()
(experimental) Return the widget JSON for use in the dashboard.
|
@Stability(value=Experimental) @NotNull Number getHeight()
@Stability(value=Experimental) @NotNull Number getWidth()
@Stability(value=Experimental)
void position(@NotNull
Number x,
@NotNull
Number y)
x - This parameter is required.y - This parameter is required.Copyright © 2021. All rights reserved.