ILIAS  release_8 Revision v8.24
Standard.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
28use ILIAS\UI\Component\Dropdown\Standard as DropdownStandard;
30
35interface Standard extends Item
36{
40 public function withColor(Color $color): Standard;
41
45 public function getColor(): ?Color ;
46
50 public function withLeadImage(Image $image): Standard;
51
55 public function withAudioPlayer(Audio $audio): Standard;
56
60 public function withLeadIcon(Icon $icon): Standard;
61
65 public function withLeadAvatar(Avatar $avatar): Standard;
66
70 public function withLeadText(string $text): Standard;
71
75 public function withNoLead(): Standard;
76
80 public function getLead();
81
82 public function getAudioPlayer(): ?Audio;
83
87 public function withProgress(ProgressMeter $chart): Standard;
88
89 public function getProgress(): ?ProgressMeter;
90
94 public function withActions(DropdownStandard $actions): Standard;
95
99 public function getActions(): ?DropdownStandard;
100}
Color expresses a certain color by giving the mixing ratio in the RGB color space.
Definition: Color.php:16
This describes a Standard Dropdown.
Definition: Standard.php:27
Common interface to all items.
Definition: Item.php:32
withProgress(ProgressMeter $chart)
Set progress meter chart.
getActions()
Get the actions of the item.
withColor(Color $color)
Set a color.
withLeadAvatar(Avatar $avatar)
Set avatar as lead.
withActions(DropdownStandard $actions)
Create a new appointment item with a set of actions to perform on it.
withLeadIcon(Icon $icon)
Set icon as lead.
withLeadText(string $text)
Set image as lead.
withAudioPlayer(Audio $audio)
Set audio player.
withLeadImage(Image $image)
Set image as lead.
withNoLead()
Reset lead to null.
getColor()
Return the given color.
This describes how a letter or a picture avatar could be modified during construction of UI.
Definition: Avatar.php:29
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21