Class Index

caplin

The root package for all Caplin Trader libraries that also provides a set JavaScript language extensions including namespace definition, class loading, and object-orientated programming constructs.

caplin.chart

The chart library provides classes that can be used to obtain chart series data from a backend system (such as Caplin Liberator).

caplin.chart.Chart

The interface that chart components must implement to work correctly in workbenches.

caplin.chart.highchart.RangeUtility

A static utility class for dealing with HighChart's range selector.

caplin.chart.highchart.SeriesUtility

A utility class to manage some common operations on a HighChart series object.

caplin.chart.Series

The Series manages data fetching from a backend system using the service aliased by caplin.chart-service.

caplin.chart.series.Adapter

This interface must be implemented by an adapter that is to transform chart series data from Caplin Platform format to chart format.

caplin.chart.series.SeriesListener

An interface that caplin.chart.Chart must implement if it wishes to use the caplin.chart.Series.

caplin.chart.series.SeriesManager

A class to help you manage caplin.chart.Series objects.

caplin.chart.series.SeriesRequest

Represents a request to be made for an OHLC(V) (open-high-low-close-volume) chart series.

caplin.chart.service.ChartService

This interface must be implemented by classes that are to provide communication to a backend system for charting data.

caplin.chart.service.StreamLinkChartService

This is the default implementation for the caplin.chart-service service.

caplin.chart.Study

Abstract class that all studies must extend.

caplin.chart.study.Adapter

This interface must be implemented by an adapter that is to transform study data from Caplin Platform format to chart format.

caplin.chart.study.BollingerBand

A study that calculates the Bollinger Bands over the given period with upper and lower bands at n standard deviations.

caplin.chart.study.ExponentialMovingAverage

A study that calculates the exponential moving average over the given period.

caplin.chart.study.Factory

A static class that is used to construct new study objects.

caplin.chart.study.MACD

A study that calculates the MACD technical analysis indicator.

caplin.chart.study.SimpleMovingAverage

A study that calculates the simple moving average over the given period.

caplin.chart.study.StudyListener

This interface must be implemented by any classes which listen to updates originating from a caplin.chart.Study.

caplin.chart.study.Volume

A study that extracts the volume data from inbound series data.

caplin.component

Provides the caplin.component.Component interface that must be implemented by any classes that want to be loaded into a Panel or dialog.

caplin.component.comms

Classes to allow communication between components.

caplin.component.comms.CommsChannelListener

Interface implemented by classes wishing to listen communication channel events such as a component being assigned a communication channel.

caplin.component.comms.InterComponentComms

A singleton that allows a caplin.component.Component to obtain a unique communication channel identifier.

caplin.component.Component

This interface must be implemented by a presentation-level class.

caplin.component.ComponentFactory

A singleton that registers each defined caplin.component.Component in a registry by calling the #registerComponent method.

caplin.component.ComponentLifecycleEvents

The ComponentLifecycleEvents interface is implemented by classes that need to observe a particular component's life-cycle events.

caplin.component.composite.CompositeComponent

The CompositeComponent class represents the view, in MVC terms, of the composite component.

caplin.component.composite.CompositeComponentController

This interface should be implemented by classes wishing to define the way in which individual components should react to events raised by other components that form the caplin.component.composite.CompositeComponent.

caplin.component.composite.CompositeComponentFactory

The CompositeComponentFactory class is a blueprint for a factory that parses the serialized representation of a CompositeComponent and instantiates and returns a corresponding instance.

caplin.component.composite.CompositeComponentFactoryProxy

The CompositeComponentFactoryProxy class is a blueprint for proxy objects that parse the XML DOM representation of a CompositeComponent and instantiates and returns a corresponding instance on behalf of the CompositeComponentFactory.

caplin.component.contextmessage.PanelMessage

Defines the caplin.component.contextmessage.panelMessage class.

caplin.component.ErrorComponent

The caplin.component.ComponentFactory creates a caplin.component.ErrorComponent when it fails to create a normal caplin.component.Component.

caplin.component.factory.ComponentFactory

ComponentFactory is the interface component factories that are to be accessed via the caplin.component.ComponentFactory should implement.

caplin.component.frame

Defines various interfaces related to window managers.

caplin.component.frame.ComponentFrame

Instances of ComponentFrame are used to wrap components before they are displayed on the screen.

caplin.component.frame.DialogFrame

Instances of DialogFrame are used to wrap components displayed within floating windows.

caplin.component.frame.FrameManager

The FrameManager interface allows caplin.component.Component instances to be viewed within the application.

caplin.component.frame.PanelFrame

Instances of PanelFrame are used to wrap components displayed as part of the main application or page.

caplin.component.InstrumentReceiver

The InstrumentReceiver interface is primarily implemented by components that wish to participate in drag&drop operations.

caplin.component.menu.AbstractMenu

AbstractMenu contains all the functionality for the following classes:

The concrete Menu classes themselves merely provide helpful constructor methods to making using AbstractMenu easier.

caplin.control

The control library provides various screen controls for use in the Renderer Framework.

caplin.control.basic

The basic control package contains implementations of native HTML controls to enable them to work with the Renderer Framework.

caplin.control.basic.BasicControl

An implementation of caplin.control.Control and caplin.control.factory.ControlFramework that acts as a base class for implementations of real controls.

caplin.control.basic.ButtonControl

A button control based on the abstract BasicControl

caplin.control.basic.DropdownControl

A dropdown control where the user can select from a list of options.

caplin.control.basic.ExpandableGridRowControl

This is a control that is used to display two elements, an expandable row icon and some text.

caplin.control.basic.ImageControl

This is a basic control that is used to display an image and capture user gestures (when an appropriate handler is configured).

caplin.control.basic.InputControl

This is a basic control that is used to display text and react to user gestures.

caplin.control.basic.LatencyControl

Display latency data that was injected by the RttpDataProvider, StreamRenderer and SingleStreamRenderer.

caplin.control.basic.ProgressBarControl

This is a basic control that is used to display a progress bar.

caplin.control.basic.ProgressGridCellControl

This is a control that is used to display a progress indicator within a cell inside a grid.

caplin.control.basic.TextControl

This is a basic control that is used to display text and react to user gestures.

caplin.control.complex.FilterInputControl

The custom FilterInputControl is a composite control for displaying a low and high values together using one Renderer.

caplin.control.complex.PipsControl

This is a complex control that is used to display a price separated into three pip parts and react to user gestures.

caplin.control.complex.PriceControl

This simple PriceControl is the most basic implementation of a piece of text on the screen that is controlled through the Renderer framework.

caplin.control.complex.RangeInputControl

The custom RangeInputControl is used to display low/high ranges.

caplin.control.complex.SpreadControl

The custom SpreadControl is used to display bid/ask price.

caplin.control.composite.CompositeControl

The CompositeControl is a special type of composite control that accepts a Map control value and applies formatters, stylers (and parsers) on elements in the map according to the downstream (and upstream) definitions in the RendererType XML.

caplin.control.Control

A Control is a screen control with which a user interacts, such as an input box, a drop-down box, or a straightforward text label.

caplin.control.factory.ControlFramework

The ControlFramework interface specifies those lifecycle functions that are necessary for a control implementation to be managed by the Control Framework.

caplin.core

The core library is responsible for providing low level language extensions to JavaScript.

caplin.core.AliasRegistry

The AliasRegistry is used to provide access to the aliases used within the application.

caplin.core.Error

caplin.core.Error extends the built in Error and allows the error type to be specified in the constructor.

caplin.core.event.EventHub

Like OpenAjax Hub, the caplin EventHub class facilitates inter-component communication between components that have no prior knowledge of each other.

caplin.core.Formatter

Represents an object with the capability to format values.

caplin.core.JsonUtility

Utility class that provides methods for manipulating and interacting with JSON.

caplin.core.ListenerFactory

Utility class for creating listener objects that re-route incoming events to a method of your choice.

caplin.core.LocaleUtility

Utility class that provides methods for overriding the locale

caplin.core.log.AbstractLogger

An abstract class to make it easy to build loggers.

caplin.core.log.ConsoleLogger

A caplin.core.log.Logger that outputs to the developer console found in most modern browsers.

caplin.core.log.Log

caplin.core.log.Log contains utility methods for logging.

caplin.core.log.LogRecord

A LogRecord is used for storing log messages when the expense of rendering them to a string should be postponed until later.

caplin.core.log.StoreLogger

A caplin.core.log.Logger that stores log messages into internal arrays.

caplin.core.LogLevel

Singleton that provides the log levels that are used for determining whether a log message is added to the log console or not.

caplin.core.MapFactory

Utility class that prevents memory leaks in IE when using long running maps that are added to and removed from over time.

caplin.core.MapUtility

Utility class providing common operations on maps.

caplin.core.Number

Utility methods for numbers

caplin.core.Observable

An Observable is a generic implementation of the Observer design pattern that allows an object that wants to notify other objects (the observers) of events that it raises to do so by using the Observable to handle the boiler plate code, such as the registration and management of the list of observers.

caplin.core.Observable.FailedNotification

Represents all the information about why a particular observer failed to process a particular event successfully.

caplin.core.OrderedSet

A set that is ordered based on time of insertion.

caplin.core.scheduler.ThreadQueueListener

Interface implemented by classes wishing to know the current number of pending and due threads awaiting processing.

caplin.core.scheduler.ThreadScheduler

Class used to improve the behaviour of applications on highly saturated machines.

caplin.core.scheduler.ThreadVisualizer

ThreadVisualizer allows the scheduling information generated by caplin.core.scheduler.ThreadScheduler to be visualised as a graphical time-line.

caplin.core.Serializable

The interface that must be implemented by any class that wishes to provide serialization.

caplin.core.ServiceRegistry

The ServiceRegistry is used to allow a given application access to application services.

caplin.core.StringUtility

Utility class that provides methods for string manipulation.

caplin.core.Utility

A utility class that provides miscellaneous functionality.

caplin.core.ValidationResult

ValidationResults are used to store the output from a caplin.core.Validator.

caplin.core.ValidationResultListener

A ValidationResultListener is notified when a validator completes.

caplin.core.XmlParser

Utility class that provides methods for parsing XML strings into Document Objects.

caplin.core.XmlSerializer

Provides a serialize method to work around older browsers lack of an XMLSerializer object.

caplin.core.XmlUtility

Utility class that provides methods for manipulating and interacting with XML.

caplin.dom

Provides low level utility classes that standardize the interaction with the Document Object Model (DOM), hiding away the intricacies and subtleties of the DOM interaction within different browsers.

caplin.dom.alert.StandardAlertDispatcher

The caplin.dom.alert.StandardAlertDispatcher is an implementation of the caplin.services.UserPromptService service.

caplin.dom.event.Event

The Event class provides a uniform interface over the W3C event object, which is implemented differently in IE than it is in standards compliant browsers.

caplin.dom.event.Event.MouseButtons

Enumeration that represents values mouse buttons that are represented by the #button event property.

caplin.dom.FileDownloader

The FileDownloader allows you to download files from a given URL.

caplin.dom.FileDownloaderTarget

A target for the FileDownloader to post its download request to.

caplin.dom.testing.ViewFixture

The ViewFixture enables interacting with the rendered view via ViewFixtureHandlers.

caplin.dom.testing.viewhandler.BackgroundImage

BackgroundImage ViewFixtureHandler can be used to test the background image value.

caplin.dom.testing.viewhandler.Blurred

Blurred ViewFixtureHandler can be used to trigger blur or focus events on the view element.

caplin.dom.testing.viewhandler.BorderColor

BorderColor ViewFixtureHandler can be used to test the border color of an element.

caplin.dom.testing.viewhandler.BorderWidth

BorderWidth ViewFixtureHandler can be used to test the border width of an element.

caplin.dom.testing.viewhandler.BottomMarginWidth

BottomMarginWidth ViewFixtureHandler can be used to test the bottom margin width of an element.

caplin.dom.testing.viewhandler.Checked

Checked ViewFixtureHandler can be used to trigger checked property of a checkbox or a radiobutton.

caplin.dom.testing.viewhandler.ChildrenCount

ChildrenCount ViewFixtureHandler can be used to get number of child elements for a view element.

caplin.dom.testing.viewhandler.ClassName

ClassName ViewFixtureHandler can be used to get a class of a view element.

caplin.dom.testing.viewhandler.Clicked

Clicked ViewFixtureHandler can be used to trigger a click on a view element.

caplin.dom.testing.viewhandler.Color

Color ViewFixtureHandler can be used to test the bottom margin width of an element.

caplin.dom.testing.viewhandler.DoesNotHaveClass

DoesNotHaveClass ViewFixtureHandler can be used to verify that a view element does not have a particular class.

caplin.dom.testing.viewhandler.Enabled

Enabled ViewFixtureHandler can be used to enable and disable a view element by setting the disabled attribute.

caplin.dom.testing.viewhandler.Focused

Focused ViewFixtureHandler can be used to trigger focus and blur on a view element.

caplin.dom.testing.viewhandler.FocusIn

FocusIn ViewFixtureHandler can be used to trigger focusin on a view element.

caplin.dom.testing.viewhandler.FocusOut

FocusOut ViewFixtureHandler can be used to trigger focusout on a view element.

caplin.dom.testing.viewhandler.HasClass

HasClass ViewFixtureHandler can be used to verify that a view element has a particular class.

caplin.dom.testing.viewhandler.Height

Height ViewFixtureHandler can be used to get height of a view element.

caplin.dom.testing.viewhandler.IsVisible

IsVisible ViewFixtureHandler can be used to check if a view element is visible.

caplin.dom.testing.viewhandler.LeftMarginWidth

LeftMarginWidth ViewFixtureHandler can be used to test the left margin width of an element.

caplin.dom.testing.viewhandler.MouseDown

MouseDown ViewFixtureHandler can be used to trigger mousedown event for a view element.

caplin.dom.testing.viewhandler.MouseMove

MouseMove ViewFixtureHandler can be used to trigger mousemove event for a view element.

caplin.dom.testing.viewhandler.MouseOut

MouseOut ViewFixtureHandler can be used to trigger mouseout event for a view element.

caplin.dom.testing.viewhandler.MouseOver

MouseOver ViewFixtureHandler can be used to trigger mouseover event for a view element.

caplin.dom.testing.viewhandler.MouseUp

MouseUp ViewFixtureHandler can be used to trigger mouseup event for a view element.

caplin.dom.testing.viewhandler.Options

Options ViewFixtureHandler can be used to set or get the value of options property for a SELECT view element.

caplin.dom.testing.viewhandler.Readonly

ReadOnly ViewFixtureHandler can be used to set or get the readonly attribute of an input view element Example usage:

then("ticket.view.

caplin.dom.testing.viewhandler.RightClicked

RightClicked ViewFixtureHandler can be used to trigger contextmenu event for a view element.

caplin.dom.testing.viewhandler.RightMarginWidth

RightMarginWidth ViewFixtureHandler can be used to test the right margin width of an element.

caplin.dom.testing.viewhandler.ScrolledHorizontal

ScrolledHorizontal ViewFixtureHandler can be used to trigger a horizontal scroll on a view element.

caplin.dom.testing.viewhandler.ScrolledVertical

ScrolledVertical ViewFixtureHandler can be used to trigger a vertical scroll on a view element.

caplin.dom.testing.viewhandler.Selected

Selected ViewFixtureHandler can be used to get or set selected property of an OPTION view element.

caplin.dom.testing.viewhandler.Text

Text ViewFixtureHandler can be used to set or get text property of a view element.

caplin.dom.testing.viewhandler.Top

Top ViewFixtureHandler can be used to get style.top value of a view element.

caplin.dom.testing.viewhandler.TopMarginWidth

TopMarginWidth ViewFixtureHandler can be used to test the top margin width of an element.

caplin.dom.testing.viewhandler.TypedValue

TypedValue ViewFixtureHandler can be used to simulate typing a value into an input view element.

caplin.dom.testing.viewhandler.Value

Value ViewFixtureHandler can be used to set or get value property of a view element.

caplin.dom.testing.viewhandler.ViewFixtureHandler

Classes implementing ViewFixtureHandler interface are used by ViewFixture to interact with the elements in the rendered view.

caplin.dom.testing.viewhandler.Width

Width ViewFixtureHandler can be used to get width of a view element.

caplin.dom.Utility

This class provides static, browser agnostic, utility methods for DOM interactions such as adding / removing event listeners, adjusting CSS classes, finding element positions etc.

caplin.element

The element library provides a flexible means of incorporating screen controls.

caplin.element.buffer.DisplayBuffer

The DisplayBuffer class manages a 'throttle thread' that wakes up at regular intervals and refreshes buffered controls that have registered a request to refresh and/or flash.

caplin.element.factory.DefaultRendererType

Default cell renderer that is applied to grid cells if no renderer is specified.

caplin.element.factory.RendererFactory

The RendererFactory creates instances of a Renderer based on pre-loaded XML renderer definitions.

caplin.element.Formatter

A Formatter is used to convert values from one format to another.

caplin.element.formatter

The formatter package contains small classes that implement the caplin.element.Formatter interface.

caplin.element.formatter.AmountFormatter

Formats a number into an amount with a thousands, millions or billions token.

caplin.element.formatter.BondNotationFormatter

Formats a bond price into one of two standard market convention notations.

caplin.element.formatter.BracketsFormatter

Formats a negative number into a value with brackets.

caplin.element.formatter.CountdownFormatter

Appends an "s" to the passed in numeric parameter value.

caplin.element.formatter.DateFormatter

Formats a date value by converting it from a specified input format to a new output format.

caplin.element.formatter.DecimalFormatter

Formats the value to the specified number of decimal places.

caplin.element.formatter.Fractional8thsFormatter

Formats a decimal to a mixed fraction, rounded to the nearest eighth.

caplin.element.formatter.InvalidPriceFormatter

Substitutes a token for the value if it is not a valid price.

caplin.element.formatter.KeyValueFormatter

Substitues a value with a mapped value if the a mapped value exists othewise it returns the value itself.

caplin.element.formatter.LeadingZeroFormatter

Pads the integer part of a number with as many leading zeros needed to reach the specified length.

caplin.element.formatter.LocalisedAmountFormatter

Formats a number into a localised string representation.

caplin.element.formatter.LowerCaseFormatter

Converts a string to lower case.

caplin.element.formatter.NullValueFormatter

Substitutes text when the value is null, undefined, or the empty string.

caplin.element.formatter.PercentFormatter

Converts the number to a percentage.

caplin.element.formatter.RegExpFormatter

Transforms a string using a standard JavaScript regular expression.

caplin.element.formatter.RoundingFormatter

Formats the value to the specified rounding.

caplin.element.formatter.SignificantFiguresFormatter

Formats a number to the specified number of significant figures.

caplin.element.formatter.SnapshotMaturityDateFormatter

Formats a number into a string by adding date information.

caplin.element.formatter.TemplateFormatter

Formats a value using a template.

caplin.element.formatter.TimeFormatter

Given a number with an even digit count as an input value, this will insert time separator characters as defined by the locale property ct.i18n.time.format.separator to give two digit groups.

caplin.element.formatter.TrimFormatter

Trims whitespace from boths ends of the string.

caplin.element.formatter.TruncateDecimalFormatter

Truncates the value to the specified number of decimal places.

caplin.element.formatter.UpperCaseFormatter

Converts a string to upper case.

caplin.element.Handler

A Handler is used to trap specific user-gestures on a control and inform all registered listeners.

caplin.element.handler

The handler package contains small classes that implement the {@link caplin.element.Handler Handler} interface.

caplin.element.handler.ChangeHandler

Notifies all registered caplin.element.RendererEventListeners when the control value is changed by the user.

caplin.element.handler.ClickHandler

Notifies all registered caplin.element.RendererEventListeners when the control is clicked by the user.

caplin.element.handler.EditHandler

Applies the specified CSS class while the control is being edited by the user.

caplin.element.handler.grid.CombinedFilterHandler

A CombinedFilterHandler handles filter changes when used in conjunction with a caplin.control.basic.InputControl, usually specified in a rendereDefinitions.xml file.

caplin.element.Parser

A Parser is typically used to take a user-input string and convert it to a machine-readable format.

caplin.element.parser

The parser package contains small classes that implement the {@link caplin.element.Parser Parser} interface.

caplin.element.parser.AmountParser

Parses an amount containing a thousands, millions or billions token into a number.

caplin.element.parser.BracketsParser

Parses an amount with brackets and converts it to a negative number.

caplin.element.parser.DateParser

Matches a date string and converts it to a specified output format.

caplin.element.parser.KeyValueParser

Substitues a mapped value with a value if the a mapped value exists otherwise it returns the value itself.

caplin.element.parser.LocalisedAmountParser

Parses an amount containing a thousands, millions or billions token into a number.

caplin.element.parser.RegExpParser

Transforms a string against a standard JavaScript regular expression.

caplin.element.parser.ThousandsParser

Parses an amount and strips any thousands separators.

caplin.element.parser.UpperCaseParser

Parses a string by making all letters it contains upper case.

caplin.element.Renderer

A Renderer transforms machine readable data to a screen caplin.control.Control, and captures user gestures which are then communicated back to one or more caplin.element.RendererEventListeners.

caplin.element.renderer.BlankRenderer

A null renderer - it does not respond to method calls other then returning empty values i.e empty strings, empty arrays etc.

caplin.element.RendererEventListener

RendererEventListener should be implemented by an object that is interested in receiving Renderer events.

caplin.element.RendererFramework

The ControlFramework interface specifies those lifecycle functions that are necessary for a control implementation to be managed by the Control Framework.

caplin.element.Styler

A Styler is used to changes some visual aspect of a control.

caplin.element.styler

The styler package contains small classes that implement the {@link caplin.element.Styler Styler} interface.

caplin.element.styler.ArrowFlashStyler

Flashes the screen value according to whether the numeric value has gone up or down.

caplin.element.styler.ButtonStyler

Applies CSS styles to reflect status states.

caplin.element.styler.ClassFlashStyler

Flashes the screen value according to whether the numeric value has gone up or down.

caplin.element.styler.ClassStyler

Applies a CSS class to a control, conditionally on the value of some state variable.

caplin.element.styler.ClearableStyler

Applies CSS styles to reflect status states.

caplin.element.styler.EllipsisStyler

The ellipsis styler adds a class attribute of 'ellipsis' to elements it is applied to.

caplin.element.styler.FlashStyler

Flashes the screen value according to whether the numeric value has gone up or down.

caplin.element.styler.NumericSignStyler

The NumericSignStyler adds a 'positive' class to numbers greater than zero, a 'negative' class to numbers less than zero, and a 'zero' class to numbers that are exactly zero.

caplin.element.styler.ProgressCellStyler

Applies CSS styles to reflect an action's progress as a progress bar.

caplin.element.styler.RateHistoryTooltipStyler

Styles a rate control with a tooltip showing recent price movements.

caplin.element.styler.RegExpStyler

Applies a CSS class to a control, conditionally on the value matches the regular expression.

caplin.element.styler.RemoveButtonStyler

Applies CSS styles to reflect status states.

caplin.element.styler.TooltipStyler

Styles a rate control with a tooltip.

caplin.fx

The FX library provides classes specific to FX applications.

caplin.fx.presenter.CurrencyPairAutoCompleteProvider

Provides a set of currency pairs to be used in conjunction with a caplin.presenter.node.AutoCompleteSelectionField

caplin.fx.presenter.TenorProperty

A presenter property that tracks tenor values.

caplin.fx.providers.PermissionedCurrencyPairService

Defines an implementation of a caplin.fx.services.CurrencyPairService that uses the permission service for a source of currency pairs.

caplin.fx.providers.PermissionedTenorService

Defines an implementation of a caplin.fx.services.TenorService that uses the permission service for a source of tenors.

caplin.fx.providers.WebServiceBusinessDateService

Provides an implementation of a caplin.fx.services.BusinessDateService which retrieves business dates from a web service.

caplin.fx.services.BusinessDateService

The interface represents a service that retrieves FX business date information.

caplin.fx.services.CurrencyPairService

Provides a list of available Foreign Exchange currency pairs for the logged in user.

caplin.fx.services.TenorService

Provides Foreign Exchange Tenors.

caplin.fx.testing.BusinessDateGenerator

The BusinessDateGenerator serves to create settlement dates and calendars.

caplin.fx.testing.BusinessDateServiceFixture

The BusinessDateServiceFixture serves to interact with the mock business date provider by setting business dates on it.

caplin.fx.testing.BusinessDateServiceStub

Stub for BusinessDateProviderService.

caplin.fx.trademodel.FxTrade

The FX Trade adds functions specific for FX trades to the generic caplin.trading.trademodel.Trade class.

caplin.fx.trademodel.FxTradeLeg

FXTradeLeg is a concrete implementation of {@link caplin.trading.trademodel.TradeLeg TradeLeg} that aims to provide most of the fields typically used for FX Trades.

caplin.grid

Provides all the necessary classes needed to build real-time grids and integration with other systems.

caplin.grid.dataprovider

Provides standard data provider implementations that feed data into the grid — these work by implementing the caplin.grid.GridDataProvider interface.

caplin.grid.dataprovider.sljs.SLJSContainerDataProvider

The SLJSContainerDataProvider class allows grids to be populated using an RTTP container available on a Liberator that is connected to using StreamLinkJS.

caplin.grid.DataProviderRowModel

The DataProviderRowModel is the default implementation of caplin.grid.GridRowModel, and attempts to perform all the generic tasks that a caplin.grid.GridRowModel can provide, but delegates all the implementation specific jobs of caplin.grid.GridRowModel to the caplin.grid.GridDataProvider it is associated with.

caplin.grid.decorator

Provides standard decorator implementations that enhance the grid — these work by implementing the caplin.grid.decorator.GridDecorator interface.

caplin.grid.decorator.ColumnHeaderMenuDecorator

The ColumnMenuDecorator adds a menu to each column that allows the user to add or remove columns as necessary.

caplin.grid.decorator.ColumnMenuDecorator

The ColumnMenuDecorator adds a menu to each column that allows the user to add or remove columns as necessary.

caplin.grid.decorator.ColumnReorderingDecorator

The ColumnReorderingDecorator adds the ability to change the order of columns.

caplin.grid.decorator.ColumnResizingDecorator

The ColumnResizingDecorator allows the user to resize columns.

caplin.grid.decorator.ColumnSortDecorator

The ColumnSortDecorator adds sort behaviour to the column headers.

caplin.grid.decorator.ContainerExportDecorator

Decorator ContainerExportDecorator enable exporting of container contents to CSV file Via eventhub

caplin.grid.decorator.DragDecorator

The drag decorator is used to allow the dragging of instruments from within grids configured with the drag decorator, to other grids or trade panels configured with the drop decorator.

caplin.grid.decorator.DropDecorator

The drop decorator is used to allow receiving instruments that have been dragged onto a grid configured with this decorator from other grids or trade panels configured with the drag decorator.

caplin.grid.decorator.GridDecorator

The GridDecorator interface is implemented by classes that wish to augment the functionality provided by the core grid implementation.

caplin.grid.decorator.GroupHeaderDecorator

The GroupHeaderDecorator adjusts the styling of rows that are intended to act as subheadings for groups of data.

caplin.grid.decorator.HoverDecorator

The HoverDecorator is used to show which row the user is currently hovering over.

caplin.grid.decorator.LoadingDataDecorator

The LoadingDataDecorator renders a spinning wait icon whenever the grid is waiting for data to arrive, so that users can see what is happening.

caplin.grid.decorator.NoDataFoundBubbleMessageDecorator

The NoDataFoundBubbleMessageDecorator renders a bubble containing an explanatory message header and body over any grid when there is no data to be displayed.

caplin.grid.decorator.RemoveRowDecorator

The RemoveRowDecorator class provides immediate visual feedback of a rows pending removal until the server round-trip has completed, and the row is actually removed from the view.

caplin.grid.decorator.ResetColumnsDecorator

The ResetColumnsDecorator class provides a single button users can use to remove any column filters they may have applied, and/or reset the column sort order to original state.

caplin.grid.decorator.RowLoadingDecorator

The RowLoadingDecorator provides a loading image (e.g.

caplin.grid.decorator.ScrollTipDecorator

The ScrollTipDecorator is a grid decorator that is used to display a tooltip during scrolling.

caplin.grid.decorator.SelectionDecorator

The SelectionDecorator is used to allow the user to select rows, so that operations can be applied to those rows.

caplin.grid.decorator.StatusDecorator

The StatusDecorator is a grid decorator that is used to inject the fields CONTAINER_STATUS and/or RECORD_STATUS into the grid model when a record status change happens.

caplin.grid.DummyGridDataProvider

A DummyGridDataProvider defines provider for grids that wish to connect to RTTP containers.

caplin.grid.expandable

Provides a standard data provider implementation that enhances the grid by adding the ability to toggle grid rows open or closed.

caplin.grid.filter.FieldFilterExpression

Implementation of FilterExpression that represents a filter for a single field.

caplin.grid.filter.FieldFilterExpression.Operator

Singleton that provides all of the valid operator values that can be passed into the caplin.grid.filter.FieldFilterExpression's constructor.

caplin.grid.filter.FilterExpression

The interface that must be implemented by any class that wants to define a particular filtering rule that can be applied to a set of record data.

caplin.grid.filter.FilterExpressionAccessor

The interface for FilterExpressions that have various methods to allow the internal state of the object to be queried.

caplin.grid.filter.LogicalFilterExpression

Implementation of FilterExpression that represents how a collection of FilterExpressions should be evaluated together to determine whether a particular record matches their expectation.

caplin.grid.filter.LogicalFilterExpression.Operator

Represents a particular logical operation that can be performed by a caplin.grid.filter.LogicalFilterExpression.

caplin.grid.filter.QueryFilterExpression

Represents a query expression that only supports ANDing field filters and only allows a field, identified by name, to be added once.

caplin.grid.filter.QueryStringHelper

This class can be used to return query string representations of caplin.grid.filter.LogicalFilterExpressions.

caplin.grid.FilterConstraint

This class will construct a single filter criteria string based on the field, value and comparator in the given oColumnFilter object.

caplin.grid.GridColumn

A GridColumn represents a column within the grid, and allows the width of the column, and any sort order or display filters to be accessed and/or modified.

caplin.grid.GridColumnFilter

The GridColumnFilter is a used to restrict the rows present within a grid by omitting all records that do not match some given filter(s).

caplin.grid.GridColumnModel

The GridColumnModel is one of the two models that are used within a grid assembly — the other being the caplin.grid.GridRowModel.

caplin.grid.GridColumnModelListener

GridColumnModelListener defines an interface for classes that wish to listen to caplin.grid.GridColumnModel events.

caplin.grid.GridComponentFactory

The GridComponentFactory is a factory that is used to create grids based on an XML definition file.

caplin.grid.GridDataProvider

GridDataProvider classes allow data from different data sources to be displayed within a grid when used in conjunction with an instance of caplin.grid.DataProviderRowModel.

caplin.grid.GridDataProviderListener

This interface is implemented by the caplin.grid.DataProviderRowModel so that caplin.grid.GridDataProvider instances are able to communicate data changes as they occur.

caplin.grid.GridDataProviderSnapshotListener

Interface implemented by objects needing to invoke the caplin.grid.GridDataProvider#getSubjectIdentifiers method.

caplin.grid.GridRowModel

The GridRowModel is one of the two models that are used within a grid assembly — the other being the caplin.grid.GridColumnModel.

caplin.grid.GridRowModelListener

GridRowModelListener defines an interface for classes that wish to listen to {@link caplin.grid.GridRowModel GridRowModel} events.

caplin.grid.GridRowSelectionModel

The row selection model provides programmatic access to the row selections performed by the user.

caplin.grid.GridRowSelectionModelListener

Interface implemented by objects that wish to be notified when changes to the row selection model occur.

caplin.grid.GridScrollPane

All scrolling behaviour in GridView is handled by this class.

caplin.grid.GridView

The class within the caplin.grid package that is responsible for displaying the rows specified within the provided caplin.grid.GridRowModel, and the columns specified within the provided caplin.grid.GridColumnModel.

caplin.grid.GridViewListener

Interface implemented by classes wishing to listen to state events on the grid view.

caplin.grid.PersonalGridDataProvider

The PersonalGridDataProvider builds on the caplin.grid.RttpContainerGridDataProvider class, but allows users to define their own RTTP containers from the client-side.

caplin.grid.RowDataUnavailable

Enumeration representing the different reasons why caplin.grid.GridRowModelListener#onRowDataUnavailable is invoked.

caplin.grid.rowsource.LogRowSource

An implementation of caplin.grid.rowsource.RowSource that provides row data for log messages stored in the caplin.core.log.LogStoreService.

caplin.grid.sort

Provides the caplin.grid.sort.SortRule interface, and related classes.

caplin.grid.sort.FieldSortRule

The FieldSortRule class allows simple, non custom, sorting by a given field-name, using standard comparator operators.

caplin.grid.sort.SortRule

The interface that must be implemented by any class that wants to define a particular rule or set of rules that can be used to sort a set of record data.

caplin.grid.SyntheticGridDataProvider

A SyntheticGridDataProvider defines a provider for grids that generates a simple increments each cells content every second.

caplin.grid.WebServiceGridDataProvider

This class can be used to supply a caplin grid's caplin.grid.DataProviderRowModel with data retrieved from a web service.

caplin.i18n

Provides the caplin.i18n.Translator class which is responsible for converting localization tokens into translated text.

caplin.i18n.Translator

The class within the caplin.i18n package that is responsible for translating localization tokens in the form of @{key.name} into translated text.

caplin.layout

The layout package provides a service to manage layouts in a single page web application.

caplin.layout.Layout

A layout is an area of an application's GUI which a user can customise by adding, removing and/or moving caplin.component.Components.

caplin.layout.LayoutService

The LayoutService provides access to the user's caplin.layout.Layouts and caplin.layout.LayoutTemplates.

caplin.layout.LayoutTemplate

A layout template is a pre-defined prototype of a caplin.layout.Layout.

caplin.layout.testing.LayoutServiceStub

A stub implementation of the caplin.layout.LayoutService that can be used as a replacement for the real implementation in workbenches and tests.

caplin.layout.testing.LayoutStub

A stub implementation of caplin.layout.Layout that is used in testing and workbenches.

caplin.layout.testing.LayoutTemplateStub

A stub implementation of caplin.layout.LayoutTemplate that is used in testing and workbenches.

caplin.layout.workbench.LayoutManagerWorkbenchTool

LayoutManagerWorkbenchTool is a caplin.workbench.ui.WorkbenchComponent that can be added to the workbench tools.

caplin.menu

The menu library provides all the necessary classes to generate a menu along with a PresenterControl and a menu PresentationNode for presenter integration (see live examples).

caplin.menu.Control

The caplin.menu.Control will be in charge of rendering into the screen any caplin.menu.Model.

caplin.menu.Generator

The class caplin.menu.Generator represents the view control for any caplin.menu.Model inserted on a menu.

caplin.menu.generator.Item

The class caplin.menu.Generator represents the default view control for any caplin.menu.model.Item inserted in a menu.

caplin.menu.generator.Menu

The class caplin.menu.generator.Menu represents the default view control for caplin.menu.model.Menu objects.

caplin.menu.Model

* The abstract class caplin.menu.Model represents an item that can be inserted into a menu with some default enable/disable functionality.

caplin.menu.model.Item

The class caplin.menu.model.Item represents a default item that can be inserted into a menu.

caplin.menu.model.Menu

The caplin.menu.model.Menu is the model representation of a menu.

caplin.menu.model.MenuFactory

This class allows the user to create a model from a configuration map.

caplin.menu.presenter.Control

A control adaptor that allows to render menus within presenter.

caplin.menu.presenter.node.Menu

A PresentationNode which will serve as the control node for the caplin.menu.presenter.Control.

caplin.menu.testing.MenuModelFixture

The MenuModelFixture serves to create a context for testing the menu by interacting with a provided caplin.menu.model.Menu.

caplin.popout

The popout library provides a means for popping out content from the application into a new browser window, and also provides a mechanism for communication between the main application and the popped out content.

caplin.popout.Popout

Creates a popout window.

caplin.popout.PopoutService

Service to be used inside a popout window to enable communication with its associated caplin.popout.Popout from the application's main window.

caplin.popout.WindowService

Provides utility functions that assist in writing multi-window applications.

caplin.presenter

The Presenter library enables developers to create screen views using standard HTML templates, and then bind these to business logic that is defined within object-oriented JavaScript classes.

caplin.presenter.component.PresenterComponent

The PresenterComponent class allows Caplin components (widgets that can be embedded within a layout or opened within a dialog) to be constructed using a caplin.presenter.PresentationModel and an HTML template.

caplin.presenter.control.ControlAdaptor

Interface implemented by control adaptor classes, that allow external controls to be used within presenter.

caplin.presenter.control.ControlAdaptorFactory

Repository for presenter controls referenced in HTML templates.

caplin.presenter.control.datefield.JQueryDatePickerControl

A control adaptor that allows the JQuery Calendar control to be used to render instances of caplin.presenter.node.DateField within presenter.

caplin.presenter.control.datefield.JQueryDatePickerControlAdaptor

A control adaptor that allows the JQuery Calendar control to be used to render instances of caplin.presenter.node.DateField within presenter.

caplin.presenter.control.InvalidControlModelError

The exception thrown when caplin.presenter.control.ControlAdaptor#setPresentationNode is invoked with an incompatible presentation node for the control being used.

caplin.presenter.control.selectionfield.CaplinToggleSwitchControl

A Caplin provided toggle-switch control that can be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.selectionfield.ExtJsComboBoxControl

A control adaptor that allows the ExtJs ComboBox control to be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.selectionfield.ExtJsComboBoxControlAdaptor

A control adaptor that allows the ExtJs ComboBox control to be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.selectionfield.ExtJsSelectBoxControl

A control adaptor that allows the ExtJs SelectBox control to be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.selectionfield.ExtJsSelectBoxControlAdaptor

A control adaptor that allows the ExtJs SelectBox control to be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.selectionfield.JQueryAutoCompleteControl

Provides an input box that supports auto complete when used in conjunction with a caplin.presenter.node.AutoCompleteSelectionField.

caplin.presenter.control.selectionfield.JQueryAutoCompleteControlAdapter

Provides an input box that supports auto complete when used in conjunction with a caplin.presenter.node.AutoCompleteSelectionField.

caplin.presenter.control.selectionfield.ToggleSwitchControl

A Caplin provided toggle-switch control that can be used to render instances of caplin.presenter.node.SelectionField within presenter.

caplin.presenter.control.tooltip.TooltipControl

A Caplin presenter control that places a tooltip next to the field defined by the caplin.presenter.node.ToolTipNode.

caplin.presenter.domain.node.DealtCurrencySelectionField

A dealt currency specific caplin.presenter.node.SelectionField intended for use in toggle switch controls which depend on a currency pair property.

caplin.presenter.domain.node.PermissionOptionsNodeList

An OptionsNodeList that is populated with values retrieved from the caplin.services.security.PermissionService singleton.

caplin.presenter.domain.property.MessageServicePropertyFactory

The MessageServicePropertyFactory class allows caplin.presenter.property.Property instances to be created for the fields of records subscribed to from a caplin.services.messaging.MessageService.

caplin.presenter.domain.property.PermissionProperty

A presenter property that subscribes to the permissions for a given subject and namespace.

caplin.presenter.node.AutoCompleteProvider

Provides an interface for a provider that can provide auto complete suggestions, typically used with an caplin.presenter.node.AutoCompleteSelectionField.

caplin.presenter.node.AutoCompleteSelectionField

Provides a model for auto complete data, typically used with an Auto Complete Box.

caplin.presenter.node.Button

A PresentationNode containing all of the attributes necessary to model a button on screen.

caplin.presenter.node.CalendarDateField

Represents a DateField that can be updated with a calendar.

caplin.presenter.node.ComponentNode

Allows components to be embedded within a presentation model so that they can be displayed as part of the template.

caplin.presenter.node.DateField

A PresentationNode containing all of the attributes necessary to model a date input field on screen.

caplin.presenter.node.DisplayField

A PresentationNode containing all of the attributes necessary to model a non-input field on screen.

caplin.presenter.node.Field

A PresentationNode containing all of the attributes necessary to model an input field on screen.

caplin.presenter.node.MultiSelectionField

A PresentationNode containing all of the attributes necessary to model a multi-selection field on screen.

caplin.presenter.node.NodeList

NodeList is a caplin.presenter.node.PresentationNode, that is itself a list of presentation nodes.

caplin.presenter.node.NodeListListener

Interface implemented by classes that wish to listen to caplin.presenter.node.NodeList change events.

caplin.presenter.node.Nodes

A class used to hold collections of nodes, and providing utility methods for performing operations over those collections.

caplin.presenter.node.OptionsNodeList

The OptionsNodeList class is used to store the options available within caplin.presenter.node.SelectionField and caplin.presenter.node.MultiSelectionField instances.

caplin.presenter.node.PresentationNode

Base class of all complex objects (nodes) within a presentation model.

caplin.presenter.node.SelectionField

A PresentationNode containing all of the attributes necessary to model a selection field on screen.

caplin.presenter.node.TemplateAware

Interface implemented by presentation nodes that need to dynamically specify the template that should be used to render them.

caplin.presenter.node.TemplateNode

Utility used for displaying a template in a caplin.presenter.node.NodeList, where the template does not need to bind to a real caplin.presenter.node.PresentationNode.

caplin.presenter.node.ToolTipField

A PresentationNode containing all of the attributes necessary to model an input field on screen with a tool tip box that will be displayed when a validation error has been produced.

caplin.presenter.PresentationModel

The PresentationModel is used to transform a set of domain models into a form that is tightly aligned with the view that will be used to display and edit those domain models.

caplin.presenter.PresenterComponentFactory

Allows instances of caplin.presenter.component.PresenterComponent to be constructed via XML snippets.

caplin.presenter.property.Alias

Alias instances wrap instances of caplin.presenter.property.Property and keep the values synchronised, to allow access to the same property from multiple paths (e.g.

caplin.presenter.property.DelayedNotificationProperty

DelayedNotificationProperty is a subclass of caplin.presenter.property.Property that will allow you to decide when to notify observers about a value change instead of having this automatically done whenever the internal value changes.

caplin.presenter.property.EditableProperty

EditableProperty is identical to caplin.presenter.property.WritableProperty, except that it also has the ability to be edited by users.

caplin.presenter.property.Properties

A class used to hold collections of properties, and providing utility methods for performing operations over those collections.

caplin.presenter.property.Property

Instances of Property are used to store all the values held within a presentation model.

caplin.presenter.property.PropertyListener

Interface implemented by classes that wish to listen to property change events.

caplin.presenter.property.Snapshot

The snapshot class allows the state of a collection of properties to be preserved, so that it becomes possible to roll the properties back to a known state at a future point in time.

caplin.presenter.property.WritableProperty

WritableProperty is identical to caplin.presenter.property.Property, except that it adds the ability to update the value stored within the property.

caplin.presenter.SerializablePresentationModel

Interface implemented by presentation models in order to provide a serialized form of the data they contain.

caplin.presenter.testing.PresentationModelFixture

The PresentationModelFixture serves to manipulate and verify the state of the presentation model of a presenter component.

caplin.presenter.testing.PresenterComponentFixture

The PresenterComponentFixture serves to create presenter components in order to test the component behavior.

caplin.presenter.validator.CrossPropertyValidator

An interface for validators that need to consider the validity of multiple caplin.presenter.property.Property instances in relation to each other.

caplin.presenter.validator.CrossValidationPropertyBinder

The CrossValidationPropertyBinder is used to associate a single caplin.presenter.validator.CrossPropertyValidator instance with multiple caplin.presenter.property.Property instances.

caplin.security

Provides the necessary classes for extracting current permissions from the Caplin Permission DataSource.

caplin.security.permissioning

This package contains classes that provide access to data from the real time Permissioning System.

caplin.security.permissioning.AbstractPermissionService

This class allows you to query the product permissions of the currently logged in user, or the permissions they have when they are trading on behalf of another user.

caplin.services

Provides a service pattern utility class for defining and utilising Services within BladeRunner.

caplin.services.ConfigService

Provides information specific to this application instance.

caplin.services.ConnectionService

Provides information about the status of a connection to a streaming server.

caplin.services.ConnectionServiceListener

Listens to connection information provided by the ConnectionService.

caplin.services.messaging.MessageService

Provides access to publish/subscriber asynchronous messaging services.

caplin.services.messaging.PublishError

Enumeration that defines errors that can occur when publishing to a subject.

caplin.services.messaging.PublishListener

Interface implemented by classes that wish to listen to publish events.

caplin.services.messaging.Subscription

Represents a subscription made with an implementation of caplin.services.messaging.MessageService.

caplin.services.messaging.SubscriptionError

Enumeration that defines errors that can occur with a subscription.

caplin.services.messaging.SubscriptionListener

Interface implemented by classes that wish to listen to subscription events.

caplin.services.messaging.SubscriptionStatus

Enumeration that defines the status of a subscription.

caplin.services.PreferencesService

A service that manages saving and retrieving of a user's preferences.

caplin.services.providers.BrowserUserPromptService

Implements UserPromptService service by using standard browser prompts from the window object.

caplin.services.providers.CaplinAppService

A service that allows system-wide application configuration values to be stored in a central repository.

caplin.services.providers.CaplinConfigService

A service that allows system-wide application configuration values to be stored in a central repository.

caplin.services.providers.CaplinHtmlResourceService

This class provides access to HTML templates loaded via the HTML bundler.

caplin.services.providers.CaplinXmlResourceService

This class provides access to XML documents loaded via the XML bundler.

caplin.services.providers.OpenPermissionService

The caplin.services.providers.OpenPermissionService returns ALL to all permission requests.

caplin.services.RttpCodes

Provides information about the status of a connection to a streaming server.

caplin.services.security.PermissionKey

This class holds permissioning data that identifies an action on a product in a namespace.

caplin.services.security.PermissionService

This class allows you to query the product permissions of the currently logged in user, or the permissions they have when they are trading on behalf of another user.

caplin.services.security.PermissionServiceListener

This interface must be implemented by any listener class in your application that wishes to be informed of current and future product permissions for the currently logged in user.

caplin.services.ServiceRegistryLoader

The ServiceRegistryLoader class loads the core set of Services required by an Application.

caplin.services.testing

Contains fixtures and stubs enabling testing of components which use classes in services namespace

caplin.services.testing.AppServiceStub

A service that allows system-wide application configuration values to be stored in a central repository.

caplin.services.testing.ConfigServiceStub

A service that allows system-wide application configuration values to be stored in a central repository.

caplin.services.testing.ConnectionServiceFixture

The ConnectionServiceFixture serves to create a mocking interface for a ConnectionSevice to enable tests to simulate connection status changes as follows: given(PM shows connection-down message)
when("connection.statusChanged => ['OK', 'Liberator has connected']")
then(PM no longer shows connection-down message)

The ConnectionServiceFixture possible values are OK, ERROR or LIMITED

caplin.services.testing.ConnectionServiceStub

The ConnectionServiceStub serves to create a stub for a ConnectionService to enable tests to simulate connection status changes.

caplin.services.testing.MessageServiceStub

A stub implementation of caplin.services.messaging.MessageService for use in tests and workbenches.

caplin.services.testing.PermissionServiceFixture

The PermissionServiceFixture serves to provide a way for tests to interact with the PermissioningService providing trading and view allow or deny permissions on tiles and instruments

Use of the Fixture assumes that a caplin.trading.testing.PermissioningServiceStub is registered as a service on the caplin.core.ServiceRegistry under the namespace "caplin.services.security.PermissionService".

caplin.services.testing.PermissionServiceStub

The PermissionServiceStub serves to provide a way for tests to stub a caplin.services.security.PermissionService providing trading and view allow or deny permissions on tiles and instruments.

caplin.services.testing.PreferencesServiceStub

A service that manages saving and retrieving of a users preferences.

caplin.services.testing.StreamlinkFixture

The StreamlinkFixture server to provide a way for tests to interact with the StreamlinkStub.

caplin.services.testing.StreamlinkServiceStub

The SubscriptionServiceStub serves to create a stub for a SubscriptionService to enable tests to simulate a subscription.

caplin.services.testing.SubscriptionStub

A SubscriptionStub stubs out a caplin.services.messaging.Subscription instance for the purpose of components which rely on streamed data.

caplin.services.testing.TestCaplinHtmlResourceService

This class provides access to HTML templates loaded via the HTML bundler for testing purposes.

caplin.services.testing.TestCaplinXmlResourceService

This class provides access to XML documents loaded via the XML bundler for testing purposes.

caplin.services.testing.TestServiceRegistryLoader

The ServiceRegistryLoader class loads the core set of Testing Services and stubs required for testing a blade or application.

caplin.services.testing.UserPromptServiceStub

The UserPromptServiceStub serves to create a stub for a UserPromptService to enable tests to simulate a user prompt service.

caplin.services.testing.UserServiceStub

The UserServiceStub serves to create a stub for a UserService to enable tests to simulate a user service.

caplin.services.UserPromptService

By implementing the UserPromptService interface, clients can implement their own strategy for how they deal with messages that need to be displayed to the user.

caplin.services.UserService

Manages information about the currently logged in user.

caplin.sl4badapter

Provides classes and services for loading applications that utilise an SL4B connection.

caplin.sl4badapter.SL4BServiceRegistryLoader

The SL4BServiceRegistryLoader class compliments the caplin.services.ServiceRegitryLoader by loading services specific to SL4B.

caplin.sljsadapter

Provides classes and services for loading applications that utilise a StreamLink JS connection.

caplin.sljsadapter.providers.StreamLinkConnectionService

Provides information about the status of a connection to a SLJS streaming server.

caplin.sljsadapter.providers.StreamLinkMessageService

An implementation of caplin.services.messaging.MessageService to be used with StreamLink JS.

caplin.sljsadapter.providers.StreamLinkPermissionService

This class allows you to query the product permissions of the currently logged in user, or the permissions they have when they are trading on behalf of another user.

caplin.sljsadapter.providers.StreamLinkSubscription

The StreamLinkSubscription class provides a StreamLinkJS transport implementation of the caplin.services.messaging.Subscription interface.

caplin.sljsadapter.providers.StreamLinkUserService

The StreamLinkUserService is an implementation of a caplin.services.UserService which retrieves the username from the StreamLink system.

caplin.sljsadapter.StreamLinkServiceRegistryLoader

The StreamLinkServiceRegistryLoader class compliments the caplin.services.ServiceRegitryLoader by loading services specific to StreamLink.

caplin.testing

The Testing library provides the JavaScript infrastructure for executing acceptance tests using the verifier test framework.

caplin.testing.AlertFixture

The AlertFixture allows for testing of browser alerts.

caplin.testing.DataSubscriptionFixture

The DataSubscriptionFixture serves to create a context for providing mock price message updates, through the use of 'caplin.message-service'.

caplin.testing.Fixture

Fixture is the interface for individual fixtures added to the GWTTestRunner.

caplin.testing.fixture.TimeFixture

TimeFixture allows you to control when callbacks passed to window.setTimeout() and window.setInterval() are executed.

caplin.testing.FixtureFactory

An implementing FixtureFactory can have an optional setUp method which will be called before each test is executed and can be used to reset the state of a test and its stubs.

caplin.testing.FixtureRegistry

The FixtureRegistry allows for registration of fixtures for a specified scope.

caplin.testing.Utils

Utility class containing static methods that can be useful for tests.

caplin.trading

A simple, event based messaging API for communicating domain specific trade events.

caplin.trading.derivation

Provides classes related to client-side field derivation within the Caplin Trader library.

caplin.trading.derivation.Derivation

A Derivation specifies how derived field values can be calculated using fields from the trade model as their input.

caplin.trading.derivation.DerivationManager

A Derivation manager manages multiple individual caplin.trading.derivation.Derivations.

caplin.trading.derivation.SimpleDerivation

Adds a value into a single output field.

caplin.trading.derivation.TierDerivation

The TierDerivation class is used to generate the derived fields for an ESP trade.

caplin.trading.grid.TradeModelRowSource

A RowSource for displaying trades within a grid.

caplin.trading.presenter.TradeModelPropertyFactory

Class that can be used to provide instances of caplin.presenter.property.Property or caplin.presenter.property.EditableProperty, but where the value of the property is bound to an underlying trade model object.

caplin.trading.restoration

Trade Restoration

This package contains classes to facilitate in the restoration of Trades.

caplin.trading.restoration.TradeRestoredListener

A trade restoration is a server-side initiated operation that allows the client to restore previously opened trades.

caplin.trading.restoration.TradeRestoreEvent

An event which is fired before and after a trade is restored.

caplin.trading.service

Provides classes related to services required for trading within the Caplin Trader library.

caplin.trading.service.OnBehalfOfChangeListener

Interface for listening to on behalf of user changes, instances should be registered with the global EventHub

caplin.trading.service.TOBOUserService

The TOBOUserService is the interface designed for managing the activities of a client user who is permissioned to trade on behalf of other (TOBO) users.

caplin.trading.service.TOBOUserServiceListener

The TOBOUserServiceListener is the interface designed to be implemented by listeners of the caplin.trading.service.TOBOUserService.

caplin.trading.service.TOBOUserServiceProvider

The TOBOUserServiceProvider class provides a implementation of the caplin.trading.service.TOBOUserService which uses the caplin.trading.service.TOBOUserPermissionServiceListener and the provided caplin.trading.service.TradePermissionService to get the permissions of the currently logged-in user, which users he can trade on behalf of, and which of there TOBO users' accounts can be used to this end.

caplin.trading.service.TradeService

The TradeService behaves as both a factory and repository for trades.

caplin.trading.service.WorkbenchTradeService

This service is meant to be used to configure the desired server events which will be used to feed the caplin.trading.workbench.TradeStateVisualiser.

caplin.trading.statemachine

Provides the classes related to state machine that defines all the states available for a particular trade flow and the events that stimulate a transition from one state to another.

caplin.trading.statemachine.State

A State represents one of the conditions that a caplin.trading.statemachine.StateMachine StateMachine can be in.

caplin.trading.statemachine.StateChangedListener

The StateChangedListeners stateChanged method will be called when the state of the trade changes.

caplin.trading.statemachine.StateMachine

A StateMachine tracks state and manages transitions between them.

caplin.trading.statemachine.StateMachineFactory

The StateMachineFactory is responsible providing caplin.trading.statemachine.StateMachines, which are constructed from an XML configuration file (provided with #loadModels.

caplin.trading.statemachine.Transition

A Transition represents a path that a StateMachine can take from one State to another (the target state).

caplin.trading.statemachine.TransitionSource

Enumeration that provides the transition sources that are used for determining the cause of a transition.

caplin.trading.statemachine.TriggerActiveChangedListener

TriggerActiveChangedListeners wish to be notified whenever a specific trigger changes from active to inactive or inactive to active.

caplin.trading.testing.InstrumentDataSubscriberStub

A InstrumentDataSubscriberStub replaces the caplin.trading.trademodel.SL4BInstrumentDataSubscriber for the purpose of testing ESP trades and trading components in acceptance tests and workbenches by propagating instrument data sent from a mock server component to the subscribed trade leg.

caplin.trading.testing.TOBOFixture

The TOBOFixture serves to provide a way for tests to interact with the TOBOUserService by setting the ability for the test to act as a user who can trade on behalf of other users, setting the list of TOBO users and accounts that the test can user to trade on behalf of, and setting and querying the selected TOBO user and account to trade with.

caplin.trading.testing.TradeMessageFixture

The TradeMessageFixture serves to create a context for testing trade interactions, through the use of a trade subscriber mock object.

caplin.trading.testing.TradeMessageServiceStub

A TradeSubscribeStub stubs out a caplin.trading.trademodel.TradeMessageService instance for the purpose of testing trades and trading components in acceptance tests and workbenches.

caplin.trading.ticket.TicketLauncher

Interface for loading a new ticket instance, instances should be registered with the global EventHub

caplin.trading.trademodel

Provides the classes representing a trade and the data associated with it.

caplin.trading.trademodel.DataFieldChangedListener

DataFieldChangedListeners are notified whenever a data field value is changed in the data source.

caplin.trading.trademodel.DataHolder

Holds data as name/value pairs, providing utility methods for accessing and manipulating the data.

caplin.trading.trademodel.InstrumentDataSubscriber

InstrumentDataSubscriber instances are responsible for receiving asynchronous instrument data streams from some publisher (the server) and forwarding them to a trade leg that is connected with that instrument.

caplin.trading.trademodel.InvalidServerEventListener

The InvalidServerEventListener interface allows interested parties to be informed when an invalid server event is encountered during the processing of server messages within the caplin.trading.trademodel.Trade object.

caplin.trading.trademodel.LegManager

The LegManager class keeps track of the TradeLegs for a Trade It remembers changes to the Legs as StructureChangedEvents, which can be retrieved with getPendingStructureChanges and clear when processed with clearPendingStructureChanges.

caplin.trading.trademodel.StreamingInstrumentDataSubscriber

The StreamingInstrumentDataSubscriber class provides a streaming transport implementation of the caplin.trading.trademodel.InstrumentDataSubscriber

caplin.trading.trademodel.StructureChangedEvent

A StructureChangedEvent is created dispatched to indicate that the structure of a trade has changed.

caplin.trading.trademodel.StructureChangedListener

StructureChangedListeners wish to be notified whenever the current structure of the caplin.trading.trademodel.Trade they're listening to changes Structure (i.e.

caplin.trading.trademodel.StructureChangedType

Enumeration that provides the structure changed types that are used for determining the type of a structure change event.

caplin.trading.trademodel.SubjectMapper

A Subject is the name for identifying a particular dataSource that is published by a server.

caplin.trading.trademodel.Trade

A Trade represents the exchange of a number of financial instruments between counter-parties.

caplin.trading.trademodel.TradeChannelMapper

Provides the trading channel name that Liberator uses to send messages on.

caplin.trading.trademodel.TradeFactory

The trade factory is used to create fresh caplin.trading.trademodel.Trade objects, or to restore trade objects based on the contents of a Map.

caplin.trading.trademodel.TradeFactoryListener

classes implementing TradeFactoryListener are informed whenever a trade factory creates a trade.

caplin.trading.trademodel.TradeFactoryRepository

The caplin.trading.trademodel.TradeFactoryRepository class is used to manage the association between data maps and trade factories.

caplin.trading.trademodel.TradeLeg

The TradeLeg class represents the exchange of a financial instrument and the resultant cash flow.

caplin.trading.trademodel.TradeLegFactory

The TradeLegFactory class is responsible for creating the correct instance of caplin.trading.trademodel.TradeLeg, based on a given asset class.

caplin.trading.trademodel.TradeMessageService

The TradeMessageService is the interface between a caplin.trading.trademodel.Trade and the connector that will perform the actual communication with the back-end trading system.

caplin.trading.trademodel.TradeOnBehalfOf

Is responsible for communicating with Liberator that the current user (generally a salesman or head trader) executes trades on behalf of another user (generally a client trader).

caplin.trading.trademodel.TradeOnBehalfOfListener

The TradeOnBehalfOfListener interface allows interested parties to be informed when a "trade on behalf of" change is initiated by the caplin.trading.trademodel.TradeOnBehalfOf object, and when the "trade on behalf of" change is completed.

caplin.trading.trademodel.TradingStatus

Enumeration representing whether the connection to the trading system for a particular caplin.trading.trademodel.Trade is active or not.

caplin.trading.trademodel.TradingStatusChangedListener

The TradingStatusChangedListener is the interface that interested listeners should implement to be alerted when trading becomes available or unavailable.

caplin.trading.validation

Provides the classes related to validating whether it is possible to transfer from one state to another.

caplin.trading.validation.AbstractFieldValidator

The AbstractFieldValidator is a caplin.trading.validation.Validator that makes it easy to write Validators that record information about errors in data that is structured as fields.

caplin.trading.validation.DateValidator

The DateValidator is a caplin.trading.validation.Validator that provides functions to ensure supplied data contains valid dates.

caplin.trading.validation.IntegerValidator

The IntegerValidator is a caplin.trading.validation.AbstractFieldValidator that validates an integer value according the to specified domain constraints.

caplin.trading.validation.MaxTierLimitExceededValidator

The MaxTierLimitExceededValidator is a caplin.trading.validation.Validator that is used during a trade to determine whether the max tier limit has been exceeded or not.

caplin.trading.validation.NotEmptyValidator

The NotEmptyValidator is a caplin.trading.validation.Validator that verifies that the validated data contains all the fields specified in the constructor, and that these fields are not null.

caplin.trading.validation.OneOfValidator

The OneOfValidator is a caplin.trading.validation.Validator that verifies that the specified field values are one of the allowed field values.

caplin.trading.validation.PermissionValidator

The PermissionValidator is a caplin.trading.validation.Validator that is used during a trade to determine whether the user is permissioned to do a trade or not.

caplin.trading.validation.TradingSystemAvailableValidator

Determines whether the trading system that will be used by a particular trade is down or not, and if so fails the validation for the transition.

caplin.trading.validation.ValidationResult

Contains the result of validation by caplin.trading.validation.Validators including any errors.

caplin.trading.validation.Validator

A Validator is used to check data.

caplin.trading.workbench.model.StateMachineMonitor

A Stub class for testing the trade model.

caplin.trading.workbench.TradeStateVisualiser

The caplin.trading.workbench.TradeStateVisualiser will create a state model ui representation that can be manually controlled by the user.

caplin.trading.workbench.ui.StateModelVisualiser

Creates a WorkbenchComponent that visualises trade state and allows for a states within a trade model to be stepped through.

caplin.webcentric

The webcentric library provides a rich UI framework for building enterprise applications.

caplin.webcentric.alert.WebcentricAlertDispatcher

WebcentricAlertDispatcher is an implementation of the caplin.webcentric.alert.AlertDispatcher AlertDispatcher interface that uses webcentric to display alerts.

caplin.webcentric.frame.ComponentWrapper

Wraps implementors caplin.component.Component class, to make them behave like normal caplin components.

caplin.webcentric.layout.WebcentricLayout

A Webcentric implementation of the caplin.layout.Layout interface.

caplin.webcentric.providers.WebcentricPreferencesService

A service that manages saving and retrieving of a user's preferences.

caplin.workbench

The workbench library provides a set of components for building workbench within a bladerunner application.

caplin.workbench.connectionstatuseditor.WorkbenchConnectionStatusEditor

The caplin.workbench.connectionstatuseditor.WorkbenchConnectionStatusEditor will create a connection state UI representation that can be manually controlled by the user.

caplin.workbench.model.DataGenerator

A DataGenerator generates a list of updates for a given set of seed values.

caplin.workbench.model.MiniStateMachine

The MiniStateMachine provides a simple configurable state Machine.

caplin.workbench.model.PriceGenerator

Generates a random price update set for the the specified field names.

caplin.workbench.ui.QuickForm

A QuickForm provides a way to create forms using presenter by defining a list of field names, values and buttons that will be used in the form.

caplin.workbench.ui.Workbench

Represents a UI component for displaying workbenches.

caplin.workbench.ui.WorkbenchDataEditor

A WorkbenchDataEditor allows for manipulation of the subscriber data (for example, pricing) via a caplin.services.messaging.Subscription.

caplin.workbench.ui.WorkbenchEventLogger

Represents a component that can be used to display log events from various systems, by subscribing to the caplin.core.event.EventHub.

caplin.workbench.ui.WorkbenchPanel

A WorkbenchPanel is the main container for displaying components within a workbench.

caplin.workbench.ui.WorkbenchPermissionEditor

A WorkbenchPermissionEditor allows manipulation of permissions in the fake permission service.