Example usage for org.apache.wicket.behavior Behavior isEnabled

List of usage examples for org.apache.wicket.behavior Behavior isEnabled

Introduction

In this page you can find the example usage for org.apache.wicket.behavior Behavior isEnabled.

Prototype

public boolean isEnabled(Component component) 

Source Link

Document

Called when a components is rendering and wants to render this behavior.

Usage

From source file:org.wicketstuff.minis.behavior.CompositeBehavior.java

License:Apache License

@Override
public boolean isEnabled(final Component arg0) {
    boolean back = true;
    for (final Behavior behavior : behaviors_)
        back = back && behavior.isEnabled(arg0);
    return back;// ww  w . j  a v  a 2s .co  m
}