Class
caplin.fx.presenter

FxCalendarDateField

The class is still in Beta and is subject to API changes.

Constructor Summary

Attributes Name and Description
caplin.fx.presenter.FxCalendarDateField(String sInstrument, String sNamespace, Function fReadyListener)

Field Summary

Attributes Name and Description
tenor

The current tenor property

tenors

List of tenor nodes

Fields borrowed from class caplin.presenter.node.CalendarDateField:
currentMonth, currentYear, validDatesForMonth

Method Summary

Attributes Name and Description
Boolean isValidTenor(String sLabel)

Test if the given string label is a valid tenor.

Methods inherited from class caplin.presenter.node.CalendarDateField:
getValidDatesForMonth, setAvailableDateStrategy

Constructor Detail

caplin.fx.presenter.FxCalendarDateField(String sInstrument, String sNamespace, Function fReadyListener)

Parameters
String sInstrument The associated instrument, e.g. '/FX/USDCAD'
String sNamespace e.g. 'FwdTenor'
Function fReadyListener (Optional) A callback function that is invoked after the field has obtained data from various services and is enabled

Field Detail

caplin.presenter.property.WritableProperty tenor

The current tenor property

caplin.presenter.node.NodeList tenors

List of tenor nodes

Method Detail

Boolean isValidTenor(String sLabel)

Test if the given string label is a valid tenor.

Parameters
String sLabel the label to check
Returns
True if the label is a valid tenor