KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > fractal > api > control > AttributeController


1 /***
2  * Fractal API
3  * Copyright (C) 2001-2002 France Telecom, INRIA
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  *
19  * Contact: fractal@objectweb.org
20  *
21  * Authors: Eric Bruneton, Thierry Coupaye, Pascal Dechamboux, Romain Lenglet,
22  * Philippe Merle, Jean-Bernard Stefani.
23  */

24
25 package org.objectweb.fractal.api.control;
26
27 /**
28  * A component interface to control the attributes of the component to which it
29  * belongs. More precisely this interface denotes the component interfaces that
30  * can control component attributes: a component interface whose Java type
31  * is a Java interface that extends this Java interface is indeed considered as
32  * an interface to control the attributes of the component to which it belongs.
33  * Such interfaces <i>must</i> only contain getter and setter methods, such
34  * as <tt>int getX (); void setX (int x)</tt>, <tt>double getSize (); void
35  * setSize (double x)</tt>, and so on. These methods should only be used to
36  * configure "primitive" values such as integers or strings: they must not be
37  * used to configure bindings (this is the role of the {@link BindingController}
38  * interface). For example, they can be used to configure the size of a cache
39  * component, the load factor of a hashtable component, the label or color of a
40  * button component...
41  */

42
43 public interface AttributeController {
44 }
45
Popular Tags