@Retention(value=RUNTIME) public @interface Demo
Demos
GUI will look for types that are annotated with
this annotation for presenting to the user as a self-contained demo.
It is quite important that any classes that are annotated with this type are fully self-contained and do not have hard-coded, local filenames. They should use resources and the resources should be included.
Modifier and Type | Required Element and Description |
---|---|
String |
author
Name of the author of the demo
|
String |
description
A description of the demo.
|
String[] |
keywords
Keywords associated with the demo.
|
String |
title
The title of the demo.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
arguments
Any arguments that need to be passed to the demo
|
String |
icon
The resource URI of an icon to represent the demo [optional]
|
String |
screenshot
The resource URI of a screenshot of the demo [optional]
|
String[] |
vmArguments
Any JVM arguments that need to be passed to the demo
|
public abstract String description
public abstract String screenshot
public abstract String[] vmArguments