Package org.gephi.appearance.api

Examples of org.gephi.appearance.api.Interpolator$BezierInterpolator


            public void actionPerformed(ActionEvent e) {
                RankingFunction function = (RankingFunction) model.getSelectedFunction();
                if (splineEditor == null) {
                    splineEditor = new SplineEditor(NbBundle.getMessage(AppearanceTopComponent.class, "AppearanceTopComponent.splineEditor.title"));
                }
                Interpolator interpolator = function.getRanking().getInterpolator();
                if (interpolator instanceof Interpolator.BezierInterpolator) {
                    Interpolator.BezierInterpolator bezierInterpolator = (Interpolator.BezierInterpolator) interpolator;
                    splineEditor.setControl1(bezierInterpolator.getControl1());
                    splineEditor.setControl2(bezierInterpolator.getControl2());
                } else {
View Full Code Here

TOP

Related Classes of org.gephi.appearance.api.Interpolator$BezierInterpolator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.