@Retention(RUNTIME)
@Target(TYPE)
public @interface GUI
This annotation indicates whether the system should start generating a GUI
from the annotated class. There are two fields that can be set:
name
and description
. Both are defined but not implemented for any usage.
They can be retrieved via the ComponentFactory
.
Just annotate the class that contains the GUI related components with this annotation, and you are good to go.
- Since:
- 1.0
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
description
java.lang.String
name
-
Element Details
-
name
java.lang.String name- Returns:
- the name of this GUI
- Default:
- ""
-
description
java.lang.String description- Returns:
- the description for this GUI
- Default:
- ""
-