Package org.ametys.core.ui
Class SimpleMenu.GalleryGroup
- java.lang.Object
-
- org.ametys.core.ui.SimpleMenu.GalleryGroup
-
- Enclosing class:
- SimpleMenu
public class SimpleMenu.GalleryGroup extends Object
Class representing a gallery group
-
-
Field Summary
Fields Modifier and Type Field Description private List<ClientSideElement>
_items
private I18nizableText
_label
private List<SimpleMenu.UnresolvedItem>
_unresolvedGalleryItems
-
Constructor Summary
Constructors Constructor Description GalleryGroup(I18nizableText label)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_resolveGalleryItems()
void
addItem(SimpleMenu.UnresolvedItem item)
Add a new item to groupList<ClientSideElement>
getItems()
Get the gallery itemI18nizableText
getLabel()
Get the group's label
-
-
-
Field Detail
-
_label
private final I18nizableText _label
-
_unresolvedGalleryItems
private List<SimpleMenu.UnresolvedItem> _unresolvedGalleryItems
-
_items
private final List<ClientSideElement> _items
-
-
Constructor Detail
-
GalleryGroup
public GalleryGroup(I18nizableText label)
Constructor- Parameters:
label
- The group's label
-
-
Method Detail
-
addItem
public void addItem(SimpleMenu.UnresolvedItem item)
Add a new item to group- Parameters:
item
- The item to add
-
getLabel
public I18nizableText getLabel()
Get the group's label- Returns:
- The group's label
-
getItems
public List<ClientSideElement> getItems()
Get the gallery item- Returns:
- The gallery item
-
_resolveGalleryItems
private void _resolveGalleryItems() throws Exception
- Throws:
Exception
-
-