Package 

Annotation Dimension

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    @Documented()@Retention(value = )@Target(value = {}) 
    public @interface Dimension
    
                        

    Denotes that an integer parameter, field or method return value is expected to represent a dimension.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int DP
      public final static int PX
      public final static int SP
    • Method Summary

      Modifier and Type Method Description
      abstract int unit()
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • unit

         abstract int unit()