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.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.849Z") @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:

 // 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;
 Column column = new Column(widget);
 
  • 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

    Constructors
    Modifier
    Constructor
    Description
     
    Column(@NotNull IWidget... widgets)
     
    protected
    Column(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Column(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The amount of vertical grid units the widget will take up.
    List of contained widgets.
    The amount of horizontal grid units the widget will take up.
    void
    Place the widget at a given position.
    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

    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

      @Stability(Stable) public Column(@NotNull @NotNull IWidget... widgets)
      Parameters:
      widgets - This parameter is required.
  • Method Details

    • position

      @Stability(Stable) public void position(@NotNull Number x, @NotNull Number y)
      Place the widget at a given position.

      Specified by:
      position in interface IWidget
      Parameters:
      x - This parameter is required.
      y - This parameter is required.
    • toJson

      @Stability(Stable) @NotNull public List<Object> toJson()
      Return the widget JSON for use in the dashboard.
      Specified by:
      toJson in interface IWidget
    • getHeight

      @Stability(Stable) @NotNull public Number getHeight()
      The amount of vertical grid units the widget will take up.
      Specified by:
      getHeight in interface IWidget
    • getWidgets

      @Stability(Stable) @NotNull public List<IWidget> getWidgets()
      List of contained widgets.
    • getWidth

      @Stability(Stable) @NotNull public Number getWidth()
      The amount of horizontal grid units the widget will take up.
      Specified by:
      getWidth in interface IWidget