The PropertySet annotation type is used to mark an interface that defines a set of
properties that are associated with a Java Control. By convention, property sets
are declared as an inner annotation types on the Java Control public interface.
Each member of the annotation type targeted by the PropertySet annotation
will define a new property for the control.
Here is a simple example:
public interface MyControl extends org.apache.beehive.controls.api.Control
{
@PropertySet
public @interface MyProperties
{
public String aStringProperty();
public int anIntProperty();
...
}
}
A Java Control can have multiple property sets associated with it.
|