org.das2.graph.DataRange

A DataRange is a mutable object representing a range, used to bind to axes together. This creates something of a "hard link" between two axes, unlike the "soft link" which is created when BeansBinding is used. Note the DatumRange object, found in org.das2.datum is immutable.

DataRange( org.das2.graph.DasAxis parent, Datum min, Datum max, boolean log )


PROPERTY_DATUMRANGE


addPropertyChangeListener

addPropertyChangeListener( String propertyName, java.beans.PropertyChangeListener listener ) → void

Parameters

propertyName - a String
listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


addToFavorites

addToFavorites( DatumRange range ) → void

Parameters

range - a DatumRange

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


addUpdateListener

addUpdateListener( org.das2.graph.event.DasUpdateListener l ) → void

Parameters

l - a DasUpdateListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


clone

clone( ) → Object

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


findex

findex( double value ) → double

Parameters

value - a double

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getAnimationDataRange

getAnimationDataRange( DatumRange range, boolean log ) → DataRange

Parameters

range - a DatumRange
log - a boolean

Returns:

org.das2.graph.DataRange

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getCreator

getCreator( ) → DasAxis

Returns:

org.das2.graph.DasAxis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDatumRange

getDatumRange( ) → DatumRange

Returns:

org.das2.datum.DatumRange

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getFavorites

getFavorites( ) → List

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getHistory

getHistory( ) → List

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMaximum

getMaximum( ) → double

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMinimum

getMinimum( ) → double

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getUnits

getUnits( ) → Units

Returns:

org.das2.datum.Units

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isLog

isLog( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removeFromFavorites

removeFromFavorites( DatumRange range ) → void

Parameters

range - a DatumRange

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removePropertyChangeListener

removePropertyChangeListener( String propertyName, java.beans.PropertyChangeListener listener ) → void

Parameters

propertyName - a String
listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removeUpdateListener

removeUpdateListener( org.das2.graph.event.DasUpdateListener l ) → void

Parameters

l - a DasUpdateListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


resetRange

resetRange( DatumRange range ) → void

Parameters

range - a DatumRange

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setLog

setLog( boolean log ) → void

set the log property. If log is true and max or min is zero or negative, then the values are reset to make them valid.

Parameters

log - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setMaximum

setMaximum( Datum max ) → void

Parameters

max - a Datum

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setMinimum

setMinimum( Datum min ) → void

Parameters

min - a Datum

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setRange

setRange( DatumRange range ) → void

Parameters

range - a DatumRange

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

setRange( double min, double max ) → void

setRangeForward

setRangeForward( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setRangePrev

setRangePrev( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setUnits

setUnits( Units newUnits ) → void

Parameters

newUnits - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


valueIsAdjusting

valueIsAdjusting( ) → boolean

true if a lock is out and an object is rapidly mutating the object. clients listening for property changes can safely ignore property changes while valueIsAdjusting is true, as they should receive a final propertyChangeEvent after the lock is released. (note it's not clear who is responsible for this. See http://www.das2.org/wiki/index.php/Das2.valueIsAdjusting)

Returns:

true if a lock is out and an object is rapidly mutating the object.

[search for examples] [view on GitHub] [view on old javadoc] [view source]