org.autoplot.datasource.AbstractDataSourceFormatEditorPanel

base implements useful features. This was introduced initially to provide a boolean parameter to the HDF5DataSourceFormatEditorPanel.


getBooleanParam

getBooleanParam( String name, boolean deflt ) → boolean

return the boolean parameter. Note setUri must be called with the input URI.

Parameters

name - the parameter name.
deflt - the default value should the parameter be missing or misformed.

Returns:

the value

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


getParam

getParam( String name, String deflt ) → String

return the string parameter. Note setUri must be called with the input URI.

Parameters

name - the parameter name.
deflt - the default value should the parameter be missing.

Returns:

the value

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


setURI

setURI( String uri ) → void

Parameters

uri - a String

Returns:

void (returns nothing)

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