Example usage for org.apache.wicket.markup.html WebMarkupContainer getBehaviors

List of usage examples for org.apache.wicket.markup.html WebMarkupContainer getBehaviors

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html WebMarkupContainer getBehaviors.

Prototype

public final List<? extends Behavior> getBehaviors() 

Source Link

Document

Gets the currently coupled Behavior s as a unmodifiable list.

Usage

From source file:org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoAdvancedPanel.java

License:Open Source License

private void removeLayoutBorderBehaviors(WebMarkupContainer layoutBorder) {
    for (Behavior behavior : layoutBorder.getBehaviors()) {
        if (behavior instanceof TitledBorderBehavior) {
            layoutBorder.remove(behavior);
        }//  w  w w . j  a v  a  2  s.c  om
    }
}