org.objectweb.fractal.api.control
Interface AttributeController


public interface AttributeController

A component interface to control the attributes of the component to which it belongs. More precisely this interface denotes the component interfaces that can control component attributes: a component interface whose Java type is a Java interface that extends this Java interface is indeed considered as an interface to control the attributes of the component to which it belongs. Such interfaces must only contain getter and setter methods, such as int getX (); void setX (int x), double getSize (); void setSize (double x), and so on. These methods should only be used to configure "primitive" values such as integers or strings: they must not be used to configure bindings (this is the role of the BindingController interface). For example, they can be used to configure the size of a cache component, the load factor of a hashtable component, the label or color of a button component...




Copyright © 2007-2011. All Rights Reserved.