List of usage examples for com.vaadin.ui AbstractField getParent
@Override
public HasComponents getParent()
From source file:nz.co.senanque.vaadinsupport.FieldFactory.java
License:Apache License
private MaduraForm getParentForm(AbstractField field) { Component parent = field.getParent(); while (parent != null) { parent = parent.getParent();/*from w w w . j av a 2s.c om*/ if (parent instanceof MaduraForm) { break; } } return (MaduraForm) parent; }