Merge branch 'release/5.19.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / IEnableableFormElement.java
1 /**
2 * Copyright (C) 2007 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.taxeditor.ui.element;
10
11 /**
12 * IEnableableFormElement interface.
13 *
14 * @author n.hoffmann
15 * @created Mar 10, 2010
16 */
17 public interface IEnableableFormElement {
18
19 /**
20 * Sets composites of this element to the given enablement state.
21 *
22 * @param enabled a boolean.
23 */
24 public abstract void setEnabled(boolean enabled);
25
26 /**
27 * Return <code>true</code> if the element is enabled and <code>false</code> otherwise
28 * @return a boolean stating the current enablement value
29 */
30 public boolean isEnabled();
31 }