Search in sources :

Example 6 with CurveRenderer

use of cbit.vcell.geometry.CurveRenderer in project vcell by virtualcell.

the class ImagePlaneManagerPanel method setCurveRenderer.

/**
 * Set the CurveRenderer to a new value.
 * @param newValue cbit.vcell.geometry.gui.CurveRenderer
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
public void setCurveRenderer(cbit.vcell.geometry.CurveRenderer newValue) {
    if (ivjCurveRenderer != newValue) {
        try {
            cbit.vcell.geometry.CurveRenderer oldValue = getCurveRenderer();
            /* Stop listening for events from the current object */
            if (ivjCurveRenderer != null) {
                ivjCurveRenderer.removePropertyChangeListener(ivjEventHandler);
            }
            ivjCurveRenderer = newValue;
            /* Listen for events from the new object */
            if (ivjCurveRenderer != null) {
                ivjCurveRenderer.addPropertyChangeListener(ivjEventHandler);
            }
            connPtoP3SetTarget();
            connEtoC1(ivjCurveRenderer);
            firePropertyChange("curveRenderer", oldValue, newValue);
        // user code begin {1}
        // user code end
        } catch (java.lang.Throwable ivjExc) {
            // user code begin {2}
            // user code end
            handleException(ivjExc);
        }
    }
    ;
// user code begin {3}
// user code end
}
Also used : CurveRenderer(cbit.vcell.geometry.CurveRenderer)

Aggregations

CurveRenderer (cbit.vcell.geometry.CurveRenderer)6 ControlPointCurve (cbit.vcell.geometry.ControlPointCurve)4 Curve (cbit.vcell.geometry.Curve)4 CurveSelectionCurve (cbit.vcell.geometry.CurveSelectionCurve)4 SampledCurve (cbit.vcell.geometry.SampledCurve)4 SinglePoint (cbit.vcell.geometry.SinglePoint)3 VariableType (cbit.vcell.math.VariableType)3 CurveSelectionInfo (cbit.vcell.geometry.CurveSelectionInfo)2