readonly | |
|---|---|
extends |
AbstractControl |
implements |
Tile |
Typed DTO for sap.m.GenericTile — Core's default {@see Tile} widget.
Its tileContent aggregation holds one or more {@see TileContent}
wrappers (each wrapping a {@see \LaravelUi5\Core\Ui5\Dashboard\Contracts\Payload}
such as NumericContent). Built (content included) by the tile's
{@see \LaravelUi5\Core\Ui5\Capabilities\TileProviderInterface}.
The header is typically a UI5 binding expression ("{i18n>key}").
header, frameType, and tileContent are always carried. Every other
property is an emit-when-set seat — leave it null to fall through to
UI5's own default ({@see https://sdk.openui5.org/api/sap.m.GenericTile}),
or set it to enrich the tile (icon-mode, navigation button, load state,
deviation colour, …). Enum-typed seats serialise to their backing string
via {@see AbstractControl::jsonSerialize()}.
layoutData is the grid-placement seat for tiles sitting inside a
sap.f.GridContainer. See {@see GridContainerItemLayoutData}.
parameters is the press-intent seat: a tile is actionable only
via a press handler (sap.m.GenericTile never self-navigates), so a
tile that should do something on press carries its intent here (e.g.
['method' => 'open-tokens']). It is not a real GenericTile
property — the Dashboard control extracts it (like class) and
replays it as the parameters of the dashboard action event on
press. Omitted from the wire when null. See
{@see https://laravelui5.com/core/backend/dashboard}.
| Methods | ||
|---|---|---|
public
|
__construct(
string $header = '',
TileContent[] $tileContent = [],
FrameType $frameType = FrameType::OneByOne,
?string $subheader = null,
?GenericTileMode $mode = null,
?GenericTileScope $scope = null,
?TileSizeBehavior $sizeBehavior = null,
?WrappingType $wrappingType = null,
?LoadState $state = null,
?string $failedText = null,
?string $systemInfo = null,
?string $additionalTooltip = null,
?string $imageDescription = null,
?ValueColor $valueColor = null,
?string $backgroundColor = null,
?string $backgroundImage = null,
?string $headerImage = null,
?string $tileIcon = null,
?string $tileBadge = null,
?string $width = null,
?string $url = null,
?bool $enableNavigationButton = null,
?string $navigationButtonText = null,
?bool $pressEnabled = null,
?GridContainerItemLayoutData $layoutData = null,
array<string, mixed>|null $parameters = null,
Margin|ContentPadding|string|null $class = null,
)
|
# |
public
|
ui5Class(): string
|
# |
| Methods inherited from LaravelUi5\Core\Ui5\Controls\AbstractControl |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
string
|
$header
|
# |
public
|
TileContent[]
|
$tileContent
|
# |
public
|
FrameType
|
$frameType
|
# |
public
|
?string
|
$subheader
|
# |
public
|
?GenericTileMode
|
$mode
|
# |
public
|
?GenericTileScope
|
$scope
|
# |
public
|
?TileSizeBehavior
|
$sizeBehavior
|
# |
public
|
?WrappingType
|
$wrappingType
|
# |
public
|
?LoadState
|
$state
|
# |
public
|
?string
|
$failedText
|
# |
public
|
?string
|
$systemInfo
|
# |
public
|
?string
|
$additionalTooltip
|
# |
public
|
?string
|
$imageDescription
|
# |
public
|
?ValueColor
|
$valueColor
|
# |
public
|
?string
|
$backgroundColor
|
# |
public
|
?string
|
$backgroundImage
|
# |
public
|
?string
|
$headerImage
|
# |
public
|
?string
|
$tileIcon
|
# |
public
|
?string
|
$tileBadge
|
# |
public
|
?string
|
$width
|
# |
public
|
?string
|
$url
|
# |
public
|
?bool
|
$enableNavigationButton
|
# |
public
|
?string
|
$navigationButtonText
|
# |
public
|
?bool
|
$pressEnabled
|
# |
public
|
?GridContainerItemLayoutData
|
$layoutData
|
# |
public
|
array<string, mixed>|null
|
$parameters
|
# |
public
|
Margin|ContentPadding|string|null
|
$class
|
# |