use of org.jwildfire.create.tina.animate.XFormScriptType in project JWildfire by thargor6.
the class TinaSWFAnimatorController method getXFormScriptFromUI.
private XFormScript getXFormScriptFromUI(JComboBox pCmb, JWFNumberField pField) {
XFormScriptType scriptType = (XFormScriptType) pCmb.getSelectedItem();
XFormScript res = new XFormScript(scriptType != null ? scriptType : XFormScriptType.NONE, pField.getDoubleValue());
res.getAmplitudeCurve().assign(curves.get(pField.getMotionPropertyName()).getCurve());
return res;
}
Aggregations