Module omix.api

Annotation Type Suffix


@Documented
@Target(FIELD)
@OVLTarget({FIELD,ACCESSORY,TYPE_USE})
@Retention(RUNTIME)
public @interface Suffix
The value of the annotated member is displayed with the given unit.
Examples:
@Unit("m") double distance = 25.0;

Unit


@Unit("s") SpinBox time : method(int);

Unit

Author:
Dr. Peter Droste, Omix Visualization
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String value
    unit for the value of the annotated member
  • Element Details

    • value

      String value
      unit for the value of the annotated member
      Returns:
      the unit symbol