List of usage examples for com.vaadin.v7.ui AbstractSelect isVisible
public boolean isVisible();
From source file:de.symeda.sormas.ui.person.PersonEditForm.java
License:Open Source License
private void fillDeathAndBurialFields(AbstractSelect deathPlaceType, TextField deathPlaceDesc, TextField burialPlaceDesc) { if (deathPlaceType.isVisible() && deathPlaceType.getValue() == null) { deathPlaceType.setValue(DeathPlaceType.OTHER); if (deathPlaceDesc.isVisible() && (deathPlaceDesc.getValue() == null || deathPlaceDesc.getValue().isEmpty())) { deathPlaceDesc.setValue(getValue().getAddress().toString()); }/*from w w w . java 2 s . c om*/ } if (burialPlaceDesc.isVisible() && (burialPlaceDesc.getValue() == null || deathPlaceDesc.getValue().isEmpty())) { burialPlaceDesc.setValue(getValue().getAddress().toString()); } }