Class 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 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 interface CountModelProvider
      • getCount

        public abstract String getCount()