Class: DOMAccessor

DOMAccessor()

This module centralizes somes statics to manipulate elements of the page

Constructor

new DOMAccessor()

Source:

Methods

(static) getAverageSpectrumTitle() → {Element}

Returns the title of the average spectrum
Source:
Returns:
Type
Element

(static) getConfiguration() → {object}

Returns the color selected in the color palette
Source:
Returns:
values for ittName, lutName, vmName
Type
object

(static) getDefaultLUTIndex() → {Element}

Returns the field containing the default value for LUT select
Source:
Returns:
Type
Element

(static) getFitsFilePath() → {Element}

Returns the field containing the path of the currently opened FITS file
Source:
Returns:
Type
Element

(static) getHeader() → {Element}

Returns the field containing the FITS file header
Source:
Returns:
Type
Element

(static) getLoading()

Returns the loading image
Source:
Returns:

(static) getProduct() → {Element}

Returns the field containing the name of the product whose data are displayed
Source:
Returns:
Type
Element

(static) getRedshiftField() → {Element}

Returns the redshift input field
Source:
Returns:
Type
Element

(static) getSampConnectionStatus() → {Element}

Returns the field containing the status of the SAMP connection The status is written in text and must be parsed before use.
Source:
Returns:
Type
Element

(static) getSingleSliceMousePosition() → {Element}

Returns element displaying the position of the mouse on the single slice
Source:
Returns:
Type
Element

(static) getSpectroServerUrl() → {Element}

Returns the field containing the url of the spectroscopy server
Source:
Returns:
Type
Element

(static) getSummedSliceMousePosition() → {Element}

Returns element displaying the position of the mouse on the summed slice
Source:
Returns:
Type
Element

(static) getTestModeStatus() → {Element}

Returns the field containing the status of the test mode The status is written in text and must be parsed before use.
Source:
Returns:
Type
Element

(static) getUrlRoot() → {Element}

Returns the field containing the root url of the service
Source:
Returns:
Type
Element

(static) getVelocityField() → {Element}

Returns the velocity input field
Source:
Returns:
Type
Element

(static) getYafitsTarget() → {Element}

Returns the field containing the organisation that installed this instance of Yafits The value is written in text and must be parsed before use.
Source:
Returns:
Type
Element

(static) getYafitsVersion() → {Element}

Returns the velocity input field
Source:
Returns:
Type
Element

(static) selectLut(value)

Select a LUT in the list
Parameters:
Name Type Description
value object name of selected LUT
Source:

(static) showLoaderAction(isVisible)

Toggles the loading image
Parameters:
Name Type Description
isVisible boolean
Source: