|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.panel.LutecePanelService<T>
T
- Abstract type of panels to display. Every class extending the class T will create a panel.public final class LutecePanelService<T extends LutecePanel>
PanelService
Method Summary | ||
---|---|---|
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
|
instance(Class<T> clazz)
Get the instance of a PanelService for a given type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
public List<T> getPanels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |