@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.312Z") @Stability(value=Stable) public class TextWidget extends ConcreteWidget
Example:
Dashboard dashboard;
dashboard.addWidgets(TextWidget.Builder.create()
.markdown("# Key Performance Indicators")
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
TextWidget.Builder
A fluent builder for
TextWidget. |
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
TextWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TextWidget(software.amazon.jsii.JsiiObjectRef objRef) |
|
TextWidget(TextWidgetProps props) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyMetricWarnings, getHeight, getWarnings, getWidth, getX, getY, setX, setYjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TextWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected TextWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public TextWidget(@NotNull
TextWidgetProps props)
props - This parameter is required.@Stability(value=Stable)
public void position(@NotNull
Number x,
@NotNull
Number y)
position in interface IWidgetposition in class ConcreteWidgetx - This parameter is required.y - This parameter is required.Copyright © 2023. All rights reserved.