1: <?php
2:
3: namespace LaravelUi5\Core\Ui5\Enums;
4:
5: /**
6: * Defines the mode of GenericTile.
7: *
8: * @see https://sdk.openui5.org/api/sap.m.GenericTileMode
9: */
10: enum GenericTileMode: string
11: {
12:
13: /**
14: * Action Mode (Two lines for the header).
15: *
16: * Generic Tile renders buttons that are specified under 'actionButtons' aggregation
17: */
18: case ActionMode = 'ActionMode';
19:
20: /**
21: * Article Mode (Two lines for the header and one line for the subtitle).
22: *
23: * Enables Article Mode.
24: */
25: case ArticleMode = 'ArticleMode';
26:
27: /**
28: * Default mode (Two lines for the header and one line for the subtitle).
29: */
30: case ContentMode = 'ContentMode';
31:
32: /**
33: * Header mode (Four lines for the header and one line for the subtitle).
34: */
35: case HeaderMode = 'HeaderMode';
36:
37: /**
38: * Icon mode.
39: *
40: * GenericTile displays a combination of icon and header title.
41: *
42: * It is applicable only for the OneByOne FrameType and TwoByHalf FrameType.
43: */
44: case IconMode = 'IconMode';
45:
46: /**
47: * Line mode (Implemented for both, cozy and compact densities).
48: *
49: * Generic Tile is displayed as in-line element, header and subheader are
50: * displayed in one line. In case the texts need more than one line, the
51: * representation depends on the used density. Cozy: The text will be
52: * truncated and the full text is shown in a tooltip as soon as the tile
53: * is hovered (desktop only). Compact: Header and subheader are rendered
54: * continuously spanning multiple lines, no tooltip is provided).
55: */
56: case LineMode = 'LineMode';
57: }
58: