org.das2.components.TimeRangeEditor

code copied from DasTimeRangeSelector for use with Autoplot. DasTimeRangeSelector wasn't very beany...

TimeRangeEditor( )

creates an instance of the editor, with an arbitrary range (today) loaded.

TimeRangeEditor( Datum startTime, Datum endTime )

create an editor with the initial range.

TimeRangeEditor( DatumRange range )

create an editor with the initial range.


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]

addPropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

addTimeRangeSelectionListener

addTimeRangeSelectionListener( org.das2.event.TimeRangeSelectionListener listener ) → void

Registers TimeRangeSelectionListener to receive events.

Parameters

listener - The listener to register.

Returns:

void (returns nothing)

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


enableFavorites

enableFavorites( String group ) → void

adds a droplist of recently entered times. This should be a spacecraft string, or null.

Parameters

group - an arbitrary identifier for the group.

Returns:

void (returns nothing)

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


getEndTime

getEndTime( ) → Datum

Returns:

org.das2.datum.Datum

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


getMaximumSize

getMaximumSize( ) → Dimension

Returns:

java.awt.Dimension

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


getMinimumSize

getMinimumSize( ) → Dimension

Returns:

java.awt.Dimension

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


getPanel

getPanel( ) → JPanel

get the GUI panel. All this was because it was firing off events on construction, and I was copying DatumEditor.

Returns:

the GUI panel.

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


getRange

getRange( ) → DatumRange

Returns:

org.das2.datum.DatumRange

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


getStartTime

getStartTime( ) → Datum

Returns:

org.das2.datum.Datum

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


isWithin

isWithin( Datum s1, Datum s2 ) → boolean

Parameters

s1 - a Datum
s2 - a Datum

Returns:

boolean

[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]

removePropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

removeTimeRangeSelectionListener

removeTimeRangeSelectionListener( org.das2.event.TimeRangeSelectionListener listener ) → void

Removes TimeRangeSelectionListener from the list of listeners.

Parameters

listener - The listener to remove.

Returns:

void (returns nothing)

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


setEndTime

setEndTime( Datum s2 ) → void

Parameters

s2 - a Datum

Returns:

void (returns nothing)

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


setRange

setRange( DatumRange value ) → void

Parameters

value - a DatumRange

Returns:

void (returns nothing)

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


setStartTime

setStartTime( Datum s1 ) → void

Parameters

s1 - a Datum

Returns:

void (returns nothing)

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


timeRangeSelected

timeRangeSelected( org.das2.event.TimeRangeSelectionEvent e ) → void

Parameters

e - a TimeRangeSelectionEvent

Returns:

void (returns nothing)

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