T
- Abstract type of panels to display. Every class extending the class T will create a panel.public final class LutecePanelService<T extends LutecePanel> extends Object
Modifier and Type | Method and Description |
---|---|
int |
getIndex(String strPanelKey)
Get the index of a panel from its key
|
List<T> |
getPanels()
Get the list of panels associated to this PanelService.
|
static <T extends LutecePanel> |
instance(Class<T> clazz)
Get the instance of a PanelService for a given type.
|
public static <T extends LutecePanel> LutecePanelService<T> instance(Class<T> clazz)
T
- Specialized type of the PanelServiceclazz
- Class associated to the type A.public int getIndex(String strPanelKey)
strPanelKey
- Key of the panel to get the index.Copyright © 2020 City of Paris. All rights reserved.