Interface InfoPanelItem
-
- All Superinterfaces:
java.lang.Comparable<InfoPanelItem>
- All Known Implementing Classes:
DefaultInfoPanelItem
public interface InfoPanelItem extends java.lang.Comparable<InfoPanelItem>
A general item to show up in the info panel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
compareTo(InfoPanelItem that)
com.vaadin.ui.Component
getComponent()
The vaadin component displayed to the user.default java.lang.String
getId()
The id of the component.int
getOrder()
The order of the item in which it should occur.java.lang.String
getTitle()
The title displayed to the user.
-
-
-
Method Detail
-
getComponent
com.vaadin.ui.Component getComponent()
The vaadin component displayed to the user.- Returns:
- a component
-
getTitle
java.lang.String getTitle()
The title displayed to the user.- Returns:
- a short title string
-
getOrder
int getOrder()
The order of the item in which it should occur.- Returns:
- a number used to sort the contribution
-
getId
default java.lang.String getId()
The id of the component.- Returns:
- the id of the component.
-
compareTo
default int compareTo(InfoPanelItem that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<InfoPanelItem>
-
-