Interface InfoPanelItem
-
- All Superinterfaces:
Comparable<InfoPanelItem>
- All Known Implementing Classes:
DefaultInfoPanelItem
public interface InfoPanelItem extends 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 intcompareTo(InfoPanelItem that)com.vaadin.ui.ComponentgetComponent()The vaadin component displayed to the user.default StringgetId()The id of the component.intgetOrder()The order of the item in which it should occur.StringgetTitle()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
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 String getId()
The id of the component.- Returns:
- the id of the component.
-
compareTo
default int compareTo(InfoPanelItem that)
- Specified by:
compareToin interfaceComparable<InfoPanelItem>
-
-