@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.278Z") @Stability(value=Experimental) public abstract class ConcreteWidget extends software.amazon.jsii.JsiiObject implements IWidget
This is in contrast to other widgets which exist for layout purposes.
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
ConcreteWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ConcreteWidget(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
ConcreteWidget(Number width,
Number height) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getHeight()
(experimental) The amount of vertical grid units the widget will take up.
|
Number |
getWidth()
(experimental) The amount of horizontal grid units the widget will take up.
|
protected Number |
getX() |
protected Number |
getY() |
void |
position(Number x,
Number y)
(experimental) Place the widget at a given position.
|
protected void |
setX(Number value) |
protected void |
setY(Number value) |
abstract List<Object> |
toJson()
(experimental) Return the widget JSON for use in the dashboard.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ConcreteWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected ConcreteWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public void position(@NotNull
Number x,
@NotNull
Number y)
@Stability(value=Experimental) @NotNull public abstract List<Object> toJson()
@Stability(value=Experimental) @NotNull public Number getHeight()
@Stability(value=Experimental) @NotNull public Number getWidth()
@Stability(value=Experimental) @Nullable protected Number getX()
@Stability(value=Experimental)
protected void setX(@Nullable
Number value)
@Stability(value=Experimental) @Nullable protected Number getY()
@Stability(value=Experimental)
protected void setY(@Nullable
Number value)
Copyright © 2021. All rights reserved.