// @formatter:off
/*
* Unlicensed, generated by javafx.ftl
*/
package javafx.scene.transform;
/**
* {@link Affine}建構器。
*
* @author JarReflectionDataLoader-1.0.0
* @version jfxrt.jar
* @param <Z> 要建構的物件型態(需繼承{@link Affine})
* @param <B> 建構器本身的型態(需繼承{@link AffineMaker})
*/
@javax.annotation.Generated("Generated by javafx.ftl")
@SuppressWarnings("all")
public class AffineMaker<Z extends Affine, B extends AffineMaker<Z, B>>
extends javafx.scene.transform.TransformMaker<Z, B>
implements AffineMakerExt<Z, B>
{
private boolean hasMxx;
private double valMxx;
private boolean hasMxy;
private double valMxy;
private boolean hasMxz;
private double valMxz;
private boolean hasMyx;
private double valMyx;
private boolean hasMyy;
private double valMyy;
private boolean hasMyz;
private double valMyz;
private boolean hasMzx;
private double valMzx;
private boolean hasMzy;
private double valMzy;
private boolean hasMzz;
private double valMzz;
private boolean hasToTransform;
private javafx.scene.transform.Transform valToTransform;
private boolean hasTx;
private double valTx;
private boolean hasTy;
private double valTy;
private boolean hasTz;
private double valTz;
private boolean bound1Mxx;
private boolean bound2Mxx;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mxx;
private javafx.beans.property.Property<Number> obsrv2Mxx;
private boolean bound1Mxy;
private boolean bound2Mxy;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mxy;
private javafx.beans.property.Property<Number> obsrv2Mxy;
private boolean bound1Mxz;
private boolean bound2Mxz;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mxz;
private javafx.beans.property.Property<Number> obsrv2Mxz;
private boolean bound1Myx;
private boolean bound2Myx;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Myx;
private javafx.beans.property.Property<Number> obsrv2Myx;
private boolean bound1Myy;
private boolean bound2Myy;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Myy;
private javafx.beans.property.Property<Number> obsrv2Myy;
private boolean bound1Myz;
private boolean bound2Myz;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Myz;
private javafx.beans.property.Property<Number> obsrv2Myz;
private boolean bound1Mzx;
private boolean bound2Mzx;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mzx;
private javafx.beans.property.Property<Number> obsrv2Mzx;
private boolean bound1Mzy;
private boolean bound2Mzy;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mzy;
private javafx.beans.property.Property<Number> obsrv2Mzy;
private boolean bound1Mzz;
private boolean bound2Mzz;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Mzz;
private javafx.beans.property.Property<Number> obsrv2Mzz;
private boolean bound1Tx;
private boolean bound2Tx;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Tx;
private javafx.beans.property.Property<Number> obsrv2Tx;
private boolean bound1Ty;
private boolean bound2Ty;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Ty;
private javafx.beans.property.Property<Number> obsrv2Ty;
private boolean bound1Tz;
private boolean bound2Tz;
private javafx.beans.value.ObservableValue<? extends Number> obsrv1Tz;
private javafx.beans.property.Property<Number> obsrv2Tz;
@Override
public void applyTo(Z instance)
{
super.applyTo(instance);
if (this.hasMxx)
instance.setMxx(this.valMxx);
if (this.hasMxy)
instance.setMxy(this.valMxy);
if (this.hasMxz)
instance.setMxz(this.valMxz);
if (this.hasMyx)
instance.setMyx(this.valMyx);
if (this.hasMyy)
instance.setMyy(this.valMyy);
if (this.hasMyz)
instance.setMyz(this.valMyz);
if (this.hasMzx)
instance.setMzx(this.valMzx);
if (this.hasMzy)
instance.setMzy(this.valMzy);
if (this.hasMzz)
instance.setMzz(this.valMzz);
if (this.hasToTransform)
instance.setToTransform(this.valToTransform);
if (this.hasTx)
instance.setTx(this.valTx);
if (this.hasTy)
instance.setTy(this.valTy);
if (this.hasTz)
instance.setTz(this.valTz);
if (this.bound1Mxx)
instance.mxxProperty().bind(this.obsrv1Mxx);
if (this.bound2Mxx)
instance.mxxProperty().bindBidirectional(this.obsrv2Mxx);
if (this.bound1Mxy)
instance.mxyProperty().bind(this.obsrv1Mxy);
if (this.bound2Mxy)
instance.mxyProperty().bindBidirectional(this.obsrv2Mxy);
if (this.bound1Mxz)
instance.mxzProperty().bind(this.obsrv1Mxz);
if (this.bound2Mxz)
instance.mxzProperty().bindBidirectional(this.obsrv2Mxz);
if (this.bound1Myx)
instance.myxProperty().bind(this.obsrv1Myx);
if (this.bound2Myx)
instance.myxProperty().bindBidirectional(this.obsrv2Myx);
if (this.bound1Myy)
instance.myyProperty().bind(this.obsrv1Myy);
if (this.bound2Myy)
instance.myyProperty().bindBidirectional(this.obsrv2Myy);
if (this.bound1Myz)
instance.myzProperty().bind(this.obsrv1Myz);
if (this.bound2Myz)
instance.myzProperty().bindBidirectional(this.obsrv2Myz);
if (this.bound1Mzx)
instance.mzxProperty().bind(this.obsrv1Mzx);
if (this.bound2Mzx)
instance.mzxProperty().bindBidirectional(this.obsrv2Mzx);
if (this.bound1Mzy)
instance.mzyProperty().bind(this.obsrv1Mzy);
if (this.bound2Mzy)
instance.mzyProperty().bindBidirectional(this.obsrv2Mzy);
if (this.bound1Mzz)
instance.mzzProperty().bind(this.obsrv1Mzz);
if (this.bound2Mzz)
instance.mzzProperty().bindBidirectional(this.obsrv2Mzz);
if (this.bound1Tx)
instance.txProperty().bind(this.obsrv1Tx);
if (this.bound2Tx)
instance.txProperty().bindBidirectional(this.obsrv2Tx);
if (this.bound1Ty)
instance.tyProperty().bind(this.obsrv1Ty);
if (this.bound2Ty)
instance.tyProperty().bindBidirectional(this.obsrv2Ty);
if (this.bound1Tz)
instance.tzProperty().bind(this.obsrv1Tz);
if (this.bound2Tz)
instance.tzProperty().bindBidirectional(this.obsrv2Tz);
}
/**
* 設定屬性{@link Affine#setMxx(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mxx(double value)
{
this.hasMxx = true;
this.valMxx = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMxy(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mxy(double value)
{
this.hasMxy = true;
this.valMxy = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMxz(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mxz(double value)
{
this.hasMxz = true;
this.valMxz = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMyx(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B myx(double value)
{
this.hasMyx = true;
this.valMyx = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMyy(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B myy(double value)
{
this.hasMyy = true;
this.valMyy = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMyz(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B myz(double value)
{
this.hasMyz = true;
this.valMyz = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMzx(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mzx(double value)
{
this.hasMzx = true;
this.valMzx = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMzy(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mzy(double value)
{
this.hasMzy = true;
this.valMzy = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setMzz(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B mzz(double value)
{
this.hasMzz = true;
this.valMzz = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setToTransform(javafx.scene.transform.Transform)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B toTransform(javafx.scene.transform.Transform value)
{
this.hasToTransform = true;
this.valToTransform = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setTx(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B tx(double value)
{
this.hasTx = true;
this.valTx = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setTy(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B ty(double value)
{
this.hasTy = true;
this.valTy = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#setTz(double)}。
*
* @param value 新的屬性值
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public B tz(double value)
{
this.hasTz = true;
this.valTz = value;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxxProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMxx(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxx = true;
this.obsrv1Mxx = source;
this.bound2Mxx = false;
this.obsrv2Mxx = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxxProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMxx(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxx = false;
this.obsrv1Mxx = null;
this.bound2Mxx = true;
this.obsrv2Mxx = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxyProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMxy(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxy = true;
this.obsrv1Mxy = source;
this.bound2Mxy = false;
this.obsrv2Mxy = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxyProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMxy(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxy = false;
this.obsrv1Mxy = null;
this.bound2Mxy = true;
this.obsrv2Mxy = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxzProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMxz(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxz = true;
this.obsrv1Mxz = source;
this.bound2Mxz = false;
this.obsrv2Mxz = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mxzProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMxz(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mxz = false;
this.obsrv1Mxz = null;
this.bound2Mxz = true;
this.obsrv2Mxz = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#myxProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMyx(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myx = true;
this.obsrv1Myx = source;
this.bound2Myx = false;
this.obsrv2Myx = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#myxProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMyx(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myx = false;
this.obsrv1Myx = null;
this.bound2Myx = true;
this.obsrv2Myx = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#myyProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMyy(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myy = true;
this.obsrv1Myy = source;
this.bound2Myy = false;
this.obsrv2Myy = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#myyProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMyy(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myy = false;
this.obsrv1Myy = null;
this.bound2Myy = true;
this.obsrv2Myy = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#myzProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMyz(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myz = true;
this.obsrv1Myz = source;
this.bound2Myz = false;
this.obsrv2Myz = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#myzProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMyz(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Myz = false;
this.obsrv1Myz = null;
this.bound2Myz = true;
this.obsrv2Myz = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzxProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMzx(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzx = true;
this.obsrv1Mzx = source;
this.bound2Mzx = false;
this.obsrv2Mzx = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzxProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMzx(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzx = false;
this.obsrv1Mzx = null;
this.bound2Mzx = true;
this.obsrv2Mzx = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzyProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMzy(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzy = true;
this.obsrv1Mzy = source;
this.bound2Mzy = false;
this.obsrv2Mzy = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzyProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMzy(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzy = false;
this.obsrv1Mzy = null;
this.bound2Mzy = true;
this.obsrv2Mzy = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzzProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindMzz(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzz = true;
this.obsrv1Mzz = source;
this.bound2Mzz = false;
this.obsrv2Mzz = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#mzzProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalMzz(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Mzz = false;
this.obsrv1Mzz = null;
this.bound2Mzz = true;
this.obsrv2Mzz = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#txProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindTx(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Tx = true;
this.obsrv1Tx = source;
this.bound2Tx = false;
this.obsrv2Tx = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#txProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalTx(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Tx = false;
this.obsrv1Tx = null;
this.bound2Tx = true;
this.obsrv2Tx = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#tyProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindTy(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Ty = true;
this.obsrv1Ty = source;
this.bound2Ty = false;
this.obsrv2Ty = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#tyProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalTy(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Ty = false;
this.obsrv1Ty = null;
this.bound2Ty = true;
this.obsrv2Ty = source;
return (B) this;
}
/**
* 設定屬性{@link Affine#tzProperty}的連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindTz(javafx.beans.value.ObservableValue<? extends Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Tz = true;
this.obsrv1Tz = source;
this.bound2Tz = false;
this.obsrv2Tz = null;
return (B) this;
}
/**
* 設定屬性{@link Affine#tzProperty}的雙向連結。
*
* @param value 新的屬性連結(單向)
* @return 目前的建構器(this)
*/
@SuppressWarnings("unchecked")
public final B bindBidirectionalTz(javafx.beans.property.Property<Number> source)
{
java.util.Objects.requireNonNull(source);
this.bound1Tz = false;
this.obsrv1Tz = null;
this.bound2Tz = true;
this.obsrv2Tz = source;
return (B) this;
}
/**
* 建構{@link Affine}物件。
*
* @return 新的{@link Affine}物件實體
*/
@Override
@SuppressWarnings("unchecked")
public Affine build()
{
Affine instance = new Affine();
this.applyTo((Z) instance);
this.doAfterBuild((Z) instance);
return instance;
}
/**
* 建構{@link Affine}物件。
*
* @return 新的{@link Affine}物件實體
*/
@SuppressWarnings("unchecked")
public Affine build(javafx.scene.transform.Transform arg0)
{
Affine instance = new Affine(arg0);
this.applyTo((Z) instance);
this.doAfterBuild((Z) instance);
return instance;
}
/**
* 建構{@link Affine}物件。
*
* @return 新的{@link Affine}物件實體
*/
@SuppressWarnings("unchecked")
public Affine build(double[] arg0, javafx.scene.transform.MatrixType arg1, int arg2)
{
Affine instance = new Affine(arg0, arg1, arg2);
this.applyTo((Z) instance);
this.doAfterBuild((Z) instance);
return instance;
}
/**
* 建構{@link Affine}物件。
*
* @return 新的{@link Affine}物件實體
*/
@SuppressWarnings("unchecked")
public Affine build(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
{
Affine instance = new Affine(arg0, arg1, arg2, arg3, arg4, arg5);
this.applyTo((Z) instance);
this.doAfterBuild((Z) instance);
return instance;
}
/**
* 建構{@link Affine}物件。
*
* @return 新的{@link Affine}物件實體
*/
@SuppressWarnings("unchecked")
public Affine build(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10, double arg11)
{
Affine instance = new Affine(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11);
this.applyTo((Z) instance);
this.doAfterBuild((Z) instance);
return instance;
}
}