--- /dev/null
+/*\r
+ * immutable Affine transformation\r
+ *\r
+ * Copyright(c) 2009 olyutorskii\r
+ * $Id: ImtblAffineTx.java 963 2009-12-20 12:55:11Z olyutorskii $\r
+ */\r
+\r
+package jp.sourceforge.jindolf;\r
+\r
+import java.awt.geom.AffineTransform;\r
+\r
+/**\r
+ * 不変のアフィン変換。\r
+ * 恒等変換のみをサポート。\r
+ */\r
+@SuppressWarnings("serial")\r
+public final class ImtblAffineTx extends AffineTransform{\r
+\r
+ /** 恒等変換のシングルトン。 */\r
+ public static final AffineTransform IDENTITY = new ImtblAffineTx();\r
+\r
+ static{\r
+ assert IDENTITY.isIdentity();\r
+ }\r
+\r
+ /**\r
+ * 隠しコンストラクタ。\r
+ * 恒等変換のみをサポート。\r
+ */\r
+ private ImtblAffineTx(){\r
+ super();\r
+ return;\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param tx {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void concatenate(AffineTransform tx){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param tx {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void preConcatenate(AffineTransform tx){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param theta {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void rotate(double theta){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param theta {@inheritDoc}\r
+ * @param x {@inheritDoc}\r
+ * @param y {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void rotate(double theta, double x, double y){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param sx {@inheritDoc}\r
+ * @param sy {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void scale(double sx, double sy){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ */\r
+ @Override\r
+ public void setToIdentity(){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param theta {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setToRotation(double theta){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param theta {@inheritDoc}\r
+ * @param x {@inheritDoc}\r
+ * @param y {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setToRotation(double theta, double x, double y){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param sx {@inheritDoc}\r
+ * @param sy {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setToScale(double sx, double sy){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param shx {@inheritDoc}\r
+ * @param shy {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setToShear(double shx, double shy){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param tx {@inheritDoc}\r
+ * @param ty {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setToTranslation(double tx, double ty){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param tx {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setTransform(AffineTransform tx){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param m00 {@inheritDoc}\r
+ * @param m10 {@inheritDoc}\r
+ * @param m01 {@inheritDoc}\r
+ * @param m11 {@inheritDoc}\r
+ * @param m02 {@inheritDoc}\r
+ * @param m12 {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void setTransform(double m00, double m10, double m01,\r
+ double m11, double m02, double m12){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param shx {@inheritDoc}\r
+ * @param shy {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void shear(double shx, double shy){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ /**\r
+ * {@inheritDoc}\r
+ * ※未サポート。\r
+ * @param tx {@inheritDoc}\r
+ * @param ty {@inheritDoc}\r
+ */\r
+ @Override\r
+ public void translate(double tx, double ty){\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ // TODO JRE1.6での穴を埋めるのはどうしよう…\r
+}\r