Class Column
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.Column
- All Implemented Interfaces:
IWidget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.497Z")
@Stability(Stable)
public class Column
extends software.amazon.jsii.JsiiObject
implements IWidget
A widget that contains other widgets in a vertical column.
Widgets will be laid out next to each other
Example:
IWidget widgetA; IWidget widgetB; new Column(widgetA, widgetB);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
IWidget.Jsii$Default, IWidget.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the widget to this container.The amount of vertical grid units the widget will take up.List of contained widgets.getWidth()
The amount of horizontal grid units the widget will take up.void
Place the widget at a given position.toJson()
Return the widget JSON for use in the dashboard.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
getWarnings, getWarningsV2
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Column
protected Column(software.amazon.jsii.JsiiObjectRef objRef) -
Column
protected Column(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Column
- Parameters:
widgets
- This parameter is required.
-
-
Method Details
-
addWidget
Add the widget to this container.- Parameters:
w
- This parameter is required.
-
position
Place the widget at a given position. -
toJson
Return the widget JSON for use in the dashboard. -
getHeight
The amount of vertical grid units the widget will take up. -
getWidgets
List of contained widgets. -
getWidth
The amount of horizontal grid units the widget will take up.
-