Project

General

Profile

Download (1 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.component;
10

    
11
/**
12
 * Can be implemented by Fields that are being used in {@link AbstractElementCollection} {@link CollectionRow rows}.
13
 * A Field implementing this interface is the the representative for the whole row and can
14
 * trigger the update of the enabled state of the other fields in the same row.
15
 * <p>
16
 * There is apparently no other way to set the enabled state after the field group has been bound:
17
 * The value  changed listeners are triggered before the setValue() method sets the enabled state to true
18
 * overriding any disabled states set by the listeners before.
19
 *
20
 * @author a.kohlbecker
21
 * @since Nov 16, 2017
22
 *
23
 */
24
public interface CollectionRowRepresentative {
25

    
26
    public void updateRowItemsEnabledStates();
27

    
28
}
(5-5/8)