@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.351Z") @Stability(value=Experimental) public class TextWidget extends ConcreteWidget
Modifier and Type | Class and Description |
---|---|
static class |
TextWidget.Builder
(experimental) A fluent builder for
TextWidget . |
software.amazon.jsii.JsiiObject.InitializationMode
IWidget.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)
(experimental) Place the widget at a given position.
|
List<Object> |
toJson()
(experimental) Return the widget JSON for use in the dashboard.
|
getHeight, getWidth, getX, getY, setX, setY
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected TextWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected TextWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public TextWidget(@NotNull TextWidgetProps props)
props
- This parameter is required.@Stability(value=Experimental) public void position(@NotNull Number x, @NotNull Number y)
position
in interface IWidget
position
in class ConcreteWidget
x
- This parameter is required.y
- This parameter is required.Copyright © 2021. All rights reserved.