Example usage for com.vaadin.ui Layout removeStyleName

List of usage examples for com.vaadin.ui Layout removeStyleName

Introduction

In this page you can find the example usage for com.vaadin.ui Layout removeStyleName.

Prototype

public void removeStyleName(String style);

Source Link

Document

Removes one or more style names from component.

Usage

From source file:org.jpos.qi.QIEntityView.java

License:Open Source License

protected void editClick(Button.ClickEvent event, Layout formLayout) {
    binder.setReadOnly(false);/*from   w  w  w.j a v a  2  s  .  co  m*/
    event.getButton().setVisible(false);
    removeBtn.setVisible(false);
    saveBtn.setVisible(true);
    cancelBtn.setVisible(true);
    formLayout.removeStyleName(ValoTheme.FORMLAYOUT_LIGHT);
}