@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.259Z") @Stability(value=Stable) 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()
The amount of vertical grid units the widget will take up.
|
default List<String> |
getWarnings()
Any warnings that are produced as a result of putting together this widget.
|
Number |
getWidth()
The amount of horizontal grid units the widget will take up.
|
void |
position(Number x,
Number y)
Place the widget at a given position.
|
List<Object> |
toJson()
Return the widget JSON for use in the dashboard.
|
@Stability(value=Stable) @NotNull Number getHeight()
@Stability(value=Stable) @NotNull Number getWidth()
@Stability(value=Stable) @Nullable default List<String> getWarnings()
@Stability(value=Stable)
void position(@NotNull
Number x,
@NotNull
Number y)
x - This parameter is required.y - This parameter is required.Copyright © 2022. All rights reserved.