Class CountablePanelTab
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.tabs.AbstractTab
-
- com.evolveum.midpoint.gui.api.component.tabs.PanelTab
-
- com.evolveum.midpoint.gui.api.component.tabs.CountablePanelTab
-
- All Implemented Interfaces:
CountModelProvider
,Serializable
,org.apache.wicket.extensions.markup.html.tabs.ITab
,org.apache.wicket.util.io.IClusterable
public abstract class CountablePanelTab extends PanelTab implements CountModelProvider
Tab that can display object count (small bubble with number) in the tab label.- Author:
- semancik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CountablePanelTab(org.apache.wicket.model.IModel<String> title)
CountablePanelTab(org.apache.wicket.model.IModel title, VisibleEnableBehaviour visible)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getCount()
org.apache.wicket.model.IModel<String>
getCountModel()
Return count model.-
Methods inherited from class com.evolveum.midpoint.gui.api.component.tabs.PanelTab
createPanel, getPanel, getPanel, isVisible, resetPanel
-
-
-
-
Constructor Detail
-
CountablePanelTab
public CountablePanelTab(org.apache.wicket.model.IModel<String> title)
-
CountablePanelTab
public CountablePanelTab(org.apache.wicket.model.IModel title, VisibleEnableBehaviour visible)
-
-
Method Detail
-
getCountModel
public org.apache.wicket.model.IModel<String> getCountModel()
Description copied from interface:CountModelProvider
Return count model. May return null. If null is returned then no count should be displayed.- Specified by:
getCountModel
in interfaceCountModelProvider
-
getCount
public abstract String getCount()
-
-