Class TransformType


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

      • toInt

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

        public 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