de.unihalle.informatik.Alida.annotations
Annotation Type ALDClassParameter


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface ALDClassParameter

Member variables of classes annotated with ALDParametrizedClass may be annotated with this annotation to be automatically handled by Alida's data I/O.

Author:
Stefan Posch

Required Element Summary
 java.lang.String label
          Defines a label for the parameter.
 
Optional Element Summary
 java.lang.String changeValueHook
          Defines a function name to be called after changing the parameter's value.
 int dataIOOrder
          Suggest order if displaying all parameters of a parametrized class e.g. in a GUI.
 Parameter.ExpertMode mode
          Define the mode of this parameter to be shown in autamatically generated user interfaces.
 

Element Detail

label

public abstract java.lang.String label
Defines a label for the parameter. May be used, e.g. in a GUI, to identify the parameter.

dataIOOrder

public abstract int dataIOOrder
Suggest order if displaying all parameters of a parametrized class e.g. in a GUI. Smaller order indicates early appearance.

Default:
0

changeValueHook

public abstract java.lang.String changeValueHook
Defines a function name to be called after changing the parameter's value.

The function needs to be available in the parametrized class.

Default:
""

mode

public abstract Parameter.ExpertMode mode
Define the mode of this parameter to be shown in autamatically generated user interfaces.

Default:
de.unihalle.informatik.Alida.annotations.Parameter.ExpertMode.STANDARD


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.