List of usage examples for com.vaadin.ui AbstractComponent setEnabled
@Override public void setEnabled(boolean enabled)
From source file:org.generationcp.breeding.manager.crossingmanager.AdditionalDetailsCrossNameComponent.java
License:Open Source License
private void enableSpecifyCrossNameComponents(boolean enabled) { for (AbstractComponent component : otherToggableComponents) { component.setEnabled(enabled); }// w w w . j av a2s.co m enableSpecifyLeadingZerosComponents(enabled && sequenceNumCheckBox.booleanValue()); }
From source file:org.generationcp.breeding.manager.crossingmanager.AdditionalDetailsCrossNameComponent.java
License:Open Source License
private void enableSpecifyLeadingZerosComponents(boolean enabled) { for (AbstractComponent component : digitsToggableComponents) { component.setEnabled(enabled); }//w w w . j a v a 2 s .com }