@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.308Z") @Stability(value=Stable) public class Row extends software.amazon.jsii.JsiiObject implements IWidget
Widgets will be laid out next to each other
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudwatch.*; IWidget widget; Row row = new Row(widget);
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default, IWidget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Row(IWidget... widgets) |
protected |
Row(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Row(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getHeight()
The amount of vertical grid units the widget will take up.
|
List<IWidget> |
getWidgets()
List of contained widgets.
|
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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWarningsprotected Row(software.amazon.jsii.JsiiObjectRef objRef)
protected Row(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Row(@NotNull
IWidget... widgets)
widgets - This parameter is required.@Stability(value=Stable)
public void position(@NotNull
Number x,
@NotNull
Number y)
@Stability(value=Stable) @NotNull public List<Object> toJson()
@Stability(value=Stable) @NotNull public Number getHeight()
@Stability(value=Stable) @NotNull public List<IWidget> getWidgets()
Copyright © 2023. All rights reserved.