Example usage for org.apache.wicket.extensions.markup.html.tabs AbstractTab isVisible

List of usage examples for org.apache.wicket.extensions.markup.html.tabs AbstractTab isVisible

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.markup.html.tabs AbstractTab isVisible.

Prototype

@Override
    public boolean isVisible() 

Source Link

Usage

From source file:org.apache.isis.viewer.wicket.ui.components.layout.bs3.tabs.TabGroupPanel.java

License:Apache License

@Override
public boolean isVisible() {
    return FluentIterable.<AbstractTab>from(getTabs()).anyMatch(new Predicate<AbstractTab>() {
        @Override/*from  w  w w  .j a va 2  s .com*/
        public boolean apply(final AbstractTab tab) {
            return tab.isVisible();
        }
    });
}