Search in sources :

Example 31 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class Plot2DSettings method setYManualRange.

/**
 * Sets the yManualRange property (cbit.image.Range) value.
 * @param yManualRange The new value for the property.
 * @see #getYManualRange
 */
public void setYManualRange(Range yManualRange) {
    Range oldValue = fieldYManualRange;
    fieldYManualRange = yManualRange;
    firePropertyChange("yManualRange", oldValue, yManualRange);
}
Also used : Range(org.vcell.util.Range)

Example 32 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapter method setDataRange.

/**
 * Sets the dataRange property (cbit.image.Range) value.
 * @param dataRange The new value for the property.
 * @see #getDataRange
 */
public final void setDataRange(Range dataRange) {
    Range oldValue = fieldDataRange;
    fieldDataRange = dataRange;
    firePropertyChange("dataRange", oldValue, dataRange);
}
Also used : Range(org.vcell.util.Range)

Example 33 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapterService method updateScaleRange.

/**
 * Comment
 */
private void updateScaleRange() {
    Range newASRange = null;
    if (getAutoScale()) {
        newASRange = getValueDomain();
    } else {
        if (getCustomScaleRange() != null) {
            newASRange = getCustomScaleRange();
        } else {
            newASRange = getValueDomain();
        }
    }
    setActiveScaleRange(newASRange);
}
Also used : Range(org.vcell.util.Range)

Example 34 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapterService method setActiveScaleRange.

/**
 * Sets the activeScaleRange property (cbit.image.Range) value.
 * @param activeScaleRange The new value for the property.
 * @see #getActiveScaleRange
 */
public void setActiveScaleRange(Range activeScaleRange) {
    Range oldValue = fieldActiveScaleRange;
    fieldActiveScaleRange = activeScaleRange;
    if (fieldActiveScaleRange != null) {
        scaleRangeLength = fieldActiveScaleRange.getMax() - fieldActiveScaleRange.getMin();
    } else {
        scaleRangeLength = 0;
    }
    firePropertyChange(ACTIVE_SCALE_RANGE, oldValue, activeScaleRange);
}
Also used : Range(org.vcell.util.Range)

Example 35 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapterService method setValueDomain.

public void setValueDomain(Range valueDomain) {
    Range oldValue = fieldValueDomain;
    fieldValueDomain = valueDomain;
    firePropertyChange(VALUE_DOMAIN_PROP, oldValue, valueDomain);
}
Also used : Range(org.vcell.util.Range)

Aggregations

Range (org.vcell.util.Range)54 Point (java.awt.Point)12 SourceDataInfo (cbit.image.SourceDataInfo)5 Paint (java.awt.Paint)4 DecimalFormat (java.text.DecimalFormat)4 DisplayAdapterService (cbit.image.DisplayAdapterService)3 SinglePoint (cbit.vcell.geometry.SinglePoint)3 SpatialAnalysisResults (cbit.vcell.microscopy.SpatialAnalysisResults)3 DisplayPreferences (cbit.image.DisplayPreferences)2 Plot2D (cbit.plot.Plot2D)2 PlotData (cbit.plot.PlotData)2 ExportEvent (cbit.rmi.event.ExportEvent)2 AsynchClientTask (cbit.vcell.client.task.AsynchClientTask)2 VariableType (cbit.vcell.math.VariableType)2 VolVariable (cbit.vcell.math.VolVariable)2 MergedDataInfo (cbit.vcell.simdata.MergedDataInfo)2 VCSimulationDataIdentifier (cbit.vcell.solver.VCSimulationDataIdentifier)2 CartesianMesh (cbit.vcell.solvers.CartesianMesh)2 ExternalDataIdentifier (org.vcell.util.document.ExternalDataIdentifier)2 VCDataIdentifier (org.vcell.util.document.VCDataIdentifier)2