Example usage for com.vaadin.ui AbstractOrderedLayout addListener

List of usage examples for com.vaadin.ui AbstractOrderedLayout addListener

Introduction

In this page you can find the example usage for com.vaadin.ui AbstractOrderedLayout addListener.

Prototype

@Override
    public Registration addListener(Component.Listener listener) 

Source Link

Usage

From source file:com.expressui.core.view.menu.LayoutContextMenu.java

License:Open Source License

/**
 * Constructs this context menu on given layout.
 *
 * @param layout layout for adding the context menu to
 *//* w w  w. ja  v  a 2s . c  o  m*/
public LayoutContextMenu(AbstractOrderedLayout layout) {
    super();
    layout.addListener(this);
    layout.addComponent(this);
    addListener(this);
}

From source file:com.purebred.core.view.menu.LayoutContextMenu.java

License:Open Source License

public LayoutContextMenu(AbstractOrderedLayout layout) {
    super();/*from ww  w.  java 2s. co  m*/
    layout.addListener(this);
    layout.addComponent(this);
    addListener(this);
}