@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.310Z") @Stability(value=Stable) public class Spacer extends software.amazon.jsii.JsiiObject implements IWidget
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.*;
Spacer spacer = Spacer.Builder.create()
.height(123)
.width(123)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Spacer.Builder
A fluent builder for
Spacer. |
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default, IWidget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Spacer() |
protected |
Spacer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Spacer(software.amazon.jsii.JsiiObjectRef objRef) |
|
Spacer(SpacerProps props) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getHeight()
The amount of vertical grid units the widget will take up.
|
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 Spacer(software.amazon.jsii.JsiiObjectRef objRef)
protected Spacer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Spacer(@Nullable
SpacerProps props)
props - @Stability(value=Stable) public Spacer()
@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()
Copyright © 2023. All rights reserved.