@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:44.213Z") @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.
|
default List<String> |
getWarnings()
(experimental) Any warnings that are produced as a result of putting together this widget.
|
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) @Nullable default List<String> getWarnings()
@Stability(value=Experimental)
void position(@NotNull
Number x,
@NotNull
Number y)
x - This parameter is required.y - This parameter is required.Copyright © 2022. All rights reserved.