Annotation Interface Icon


@Retention(CLASS) @Target({}) public @interface Icon
Icon information for an ObjectClassDefinition.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The resource name for this Icon.
    int
    The pixel size of this Icon.
  • Element Details

    • resource

      String resource
      The resource name for this Icon.

      The resource is a URL. The resource URL can be relative to the root of the bundle containing the Meta Type Resource.

      If the resource begins with the percent sign ('%' \u0025), the resource can be localized.

      See Also:
      • "The resource attribute of the Icon element of a Meta Type Resource."
    • size

      int size
      The pixel size of this Icon.

      For example, 32 represents a 32x32 icon.

      See Also:
      • "The size attribute of the Icon element of a Meta Type Resource."