Package com.vaadin.ui

Examples of com.vaadin.ui.Panel.addStyleName()


      mainLayout.addComponent(processInfoLayout, 2, 1, 2, 1);
      mainLayout.setComponentAlignment(processInfoLayout, Alignment.MIDDLE_LEFT);
    }

    Panel p = new Panel();
    p.addStyleName("tti-panel");
    p.setWidth("100%");
    p.addComponent(mainLayout);
    return p;
  }
View Full Code Here


    return receiver;
  }
 
  protected void initInformationPanel() {
    Panel infoPanel = new Panel();
    infoPanel.addStyleName(Reindeer.PANEL_LIGHT);
    infoPanel.setSizeFull();
   
    profilePanelLayout.addComponent(infoPanel);
    profilePanelLayout.setExpandRatio(infoPanel, 1.0f); // info panel should take all the remaining width available
   
View Full Code Here

      Embedded embedded = new Embedded(null, diagram);
      embedded.setType(Embedded.TYPE_IMAGE);
      embedded.setSizeUndefined();
     
      Panel imagePanel = new Panel(); // using panel for scrollbars
      imagePanel.addStyleName(Reindeer.PANEL_LIGHT);
      imagePanel.setWidth(100, UNITS_PERCENTAGE);
      imagePanel.setHeight(400, UNITS_PIXELS);
      HorizontalLayout panelLayout = new HorizontalLayout();
      panelLayout.setSizeUndefined();
      imagePanel.setContent(panelLayout);
View Full Code Here

        embedded.setType(Embedded.TYPE_IMAGE);
        embedded.setSizeUndefined();
 
        Panel imagePanel = new Panel(); // using panel for scrollbars
        imagePanel.setScrollable(true);
        imagePanel.addStyleName(Reindeer.PANEL_LIGHT);
        imagePanel.setWidth(100, UNITS_PERCENTAGE);
        imagePanel.setHeight(400, UNITS_PIXELS);
       
        HorizontalLayout panelLayoutT = new HorizontalLayout();
        panelLayoutT.setSizeUndefined();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.