Class TransformType


  • public final class TransformType
    extends java.lang.Object
    Enumeration for transformation types.
    Version:
    $Id: TransformType.java 1732018 2016-02-24 04:51:06Z gadams $ Originally authored by Vincent Hardy.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        description
      • toInt

        public int toInt()
        Convenience for enumeration switching. That is,
           switch(transformType.toInt()){
               case TransformType.TRANSFORM_TRANSLATE:
                ....
               case TransformType.TRANSFORM_ROTATE:
         
      • readResolve

        public java.lang.Object readResolve()
        This is called by the serialization code before it returns an unserialized object. To provide for unicity of instances, the instance that was read is replaced by its static equivalent