org.autoplot.datasource.TimeRangeEditor

Standard control for controlling a DatumRange containing times, with next and previous buttons, and a launcher into the TimeRangeTool.

TimeRangeEditor( )


PROP_USE_DOY


PROP_RESCALE


PROP_RANGE


PROP_CONTROL_RANGE


PROP_CARDSELECTED


getNoOneListeningRange

getNoOneListeningRange( ) → DatumRange

special marker object indicates that the "no one listening" message should be shown.

Returns:

special marker object

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


getRange

getRange( ) → DatumRange

get the timerange.

Returns:

the timerange.

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


getRescale

getRescale( ) → String

Returns:

java.lang.String

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


getUriFocusListener

getUriFocusListener( ) → PropertyChangeListener

Returns:

java.beans.PropertyChangeListener

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


isCardSelected

isCardSelected( ) → boolean

Returns:

boolean

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


isUseDoy

isUseDoy( ) → boolean

true if day of year should be used instead of year, month, day.

Returns:

true if day of year should be used

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


main

main( java.lang.String[] args ) → void

Parameters

args - a java.lang.String[]

Returns:

void (returns nothing)

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


makeThinner

makeThinner( ) → void

re-layout the GUI to make it thinner.

Returns:

void (returns nothing)

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


revalidate

revalidate( ) → void

Returns:

void (returns nothing)

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


setAlternatePeer

setAlternatePeer( String label, String card ) → void

Parameters

label - a String
card - a String

Returns:

void (returns nothing)

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


setCardSelected

setCardSelected( boolean cardSelected ) → void

Parameters

cardSelected - a boolean

Returns:

void (returns nothing)

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


setCardSelectedNoEventKludge

setCardSelectedNoEventKludge( boolean cardSelected ) → void

Parameters

cardSelected - a boolean

Returns:

void (returns nothing)

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


setControlRange

setControlRange( DatumRange value ) → void

set the range displayed, regardless of the rescaling.

Parameters

value - a DatumRange

Returns:

void (returns nothing)

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


setDataSetSelectorPeer

setDataSetSelectorPeer( org.autoplot.datasource.DataSetSelector peer ) → void

provide a shortcut to a DataSetSelector editor.

Parameters

peer - a DataSetSelector

Returns:

void (returns nothing)

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


setEnabled

setEnabled( boolean enabled ) → void

Parameters

enabled - a boolean

Returns:

void (returns nothing)

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


setNoOneListeningRange

setNoOneListeningRange( DatumRange dr ) → void

special marker object indicates that the "no one listening" message should be shown.

Parameters

dr - a DatumRange

Returns:

void (returns nothing)

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


setRange

setRange( DatumRange value ) → void

set the range for the controller. Note that if the rescale range is not "" or "0%,100%" then the controlRange will be different.

Parameters

value - a DatumRange

Returns:

void (returns nothing)

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


setRescale

setRescale( String rescale ) → void

Add extra time to the range, and account for this extra time with the next and previous buttons. Example values are:

  • "" the default behavior
  • 0%,100% also the default behavior
  • -10%,110% add ten percent before and after the interval
  • 0%-1hr,100%+1hr add an hour before and after the interval Note the GUI will always report the 0%,100% time, without the context.

    Parameters

    rescale - a String

    Returns:

    void (returns nothing)

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


    setUseDoy

    setUseDoy( boolean useDoy ) → void

    prefer use of day of year rather than year, month, day.

    Parameters

    useDoy - a boolean

    Returns:

    void (returns nothing)

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