org.autoplot.hapi.HapiDataSourceEditorPanel

Swing editor for HAPI URIs

HapiDataSourceEditorPanel( )

Creates new form HapiDataSourceEditorPanel


getDurationForHumans

getDurationForHumans( long milliseconds ) → String

return the duration in a easily-human-consumable form.

Parameters

milliseconds - the duration in milliseconds.

Returns:

a duration like "2.6 hours"

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


getPanel

getPanel( ) → JPanel

Returns:

javax.swing.JPanel

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


getURI

getURI( ) → String

Returns:

java.lang.String

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


loadKnownServersImmediately

loadKnownServersImmediately( ) → void

load the known servers and set the GUI. This should not be called from the event thread, and a runnable for the event thread will be submitted.

Returns:

void (returns nothing)

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


loadKnownServersSoon

loadKnownServersSoon( ) → void

request that the known servers be displayed. This will spawn an asynchronous thread to get the server names, and then will load the GUI on the event thread. This can be called from the event thread.

Returns:

void (returns nothing)

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


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]


markProblems

markProblems( java.util.List problems ) → void

Parameters

problems - a java.util.List

Returns:

void (returns nothing)

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


prepare

prepare( String uri, java.awt.Window parent, ProgressMonitor mon ) → boolean

Parameters

uri - a String
parent - a Window
mon - a ProgressMonitor

Returns:

boolean

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


reject

reject( String uri ) → boolean

Parameters

uri - a String

Returns:

boolean

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


setURI

setURI( String uri ) → void

Parameters

uri - a String

Returns:

void (returns nothing)

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