List of usage examples for com.vaadin.ui AbstractComponent getWidth
@Override public float getWidth()
From source file:eu.lod2.LOD2Demo.java
License:Apache License
private void printSize(AbstractComponentContainer comp) { System.err.println("PrintSizing"); System.err.println("Container Start"); Iterator<Component> it = comp.getComponentIterator(); while (it.hasNext()) { Component c = it.next();//from w ww . j a v a 2 s .c o m if (c instanceof AbstractComponent) { AbstractComponent ac = (AbstractComponent) c; System.err.println("Size: Height: " + ac.getHeight() + " Width: " + ac.getWidth()); } ; if (c instanceof AbstractComponentContainer) { AbstractComponentContainer acc = (AbstractComponentContainer) c; printSize(acc); } ; } ; System.err.println("Container end"); }