|
JFormDesigner 5.0.4 Annotations | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public static @interface BeanInfo.Category
This annotation supports grouping of properties into categories, which are displayed in the JFormDesigner Properties view. For example:
@BeanInfo(
categories={
@Category(name="Sizes", properties={"preferredSize", "minimumSize", "maximumSize"}),
@Category(name="Colors", properties={"background", "foreground"}),
}
)
public class MyButton extends JButton { ... }
Its also possible to specify a category for a property with PropertyDesc.category().
| Required Element Summary | |
|---|---|
String |
name
The name of the category. |
String[] |
properties
Array of property names that should be assigned to this category. |
| Element Detail |
|---|
public abstract String name
public abstract String[] properties
|
JFormDesigner 5.0.4 Annotations | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||