final | |
|---|---|
readonly | |
extends |
AbstractControl |
Typed DTO for sap.m.VBox — Core's default container at the Dashboard
root (one VBox of Group panels, set by {@see \LaravelUi5\Core\Ui5\Dashboard\Emitters\DashboardEmitter}),
and a consumer-customisable seat via the dashboard artifact's
getVBox().
VBox is a sap.m.FlexBox subclass whose only intrinsic difference is
that direction defaults to {@see FlexDirection::Column} instead of
Row. All the FlexBox layout properties are exposed here so a
consumer can shape the root (or any nested) box: alignment, gaps,
wrapping, sizing, background, render element. Defaults mirror the SAP
defaults (VBox's Column for direction).
Emission follows the {@see \LaravelUi5\Core\Ui5\Controls\Sap\Ui\Integration\Widgets\Card}
convention. The FlexBox layout properties are all real sap.m.FlexBox
metadata with genuine SAP defaults, so they're carried unconditionally
(like Card's design/width/…). class is the one optional seat —
emitted only when set, exactly as Card emits layoutData only when
non-null — because it is not a managed UI5 property: it's a CSS
class list the client renderer applies via addStyleClass(). It
therefore defaults to null (absent from the wire), not ''.
| Methods | ||
|---|---|---|
public
|
__construct(
WireElement[] $items = [],
FlexAlignContent $alignContent = FlexAlignContent::Stretch,
FlexAlignItems $alignItems = FlexAlignItems::Stretch,
BackgroundDesign $backgroundDesign = BackgroundDesign::Transparent,
string $columnGap = '',
FlexDirection $direction = FlexDirection::Column,
bool $displayInline = false,
bool $fitContainer = false,
string $gap = '',
string $height = '',
FlexJustifyContent $justifyContent = FlexJustifyContent::Start,
FlexRendertype $renderType = FlexRendertype::Div,
string $rowGap = '',
string $width = '',
FlexWrap $wrap = FlexWrap::NoWrap,
Margin|ContentPadding|string|null $class = null,
)
|
# |
public
|
ui5Class(): string
|
# |
public
|
withItems(WireElement[] $items): self
|
# |
| Methods inherited from LaravelUi5\Core\Ui5\Controls\AbstractControl |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
WireElement[]
|
$items
|
# |
public
|
FlexAlignContent
|
$alignContent
|
# |
public
|
FlexAlignItems
|
$alignItems
|
# |
public
|
BackgroundDesign
|
$backgroundDesign
|
# |
public
|
string
|
$columnGap
|
# |
public
|
FlexDirection
|
$direction
|
# |
public
|
bool
|
$displayInline
|
# |
public
|
bool
|
$fitContainer
|
# |
public
|
string
|
$gap
|
# |
public
|
string
|
$height
|
# |
public
|
FlexJustifyContent
|
$justifyContent
|
# |
public
|
FlexRendertype
|
$renderType
|
# |
public
|
string
|
$rowGap
|
# |
public
|
string
|
$width
|
# |
public
|
FlexWrap
|
$wrap
|
# |
public
|
Margin|ContentPadding|string|null
|
$class
|
# |