Caplin Trader 4.8.0

Module: br/Core

Provides access to Object Oriented JavaScript utilities Uses Topiarist to provide most of the OO functionality.
See:

Methods

(static) classFulfills(instance, interface)

Returns true if instances of the class will be created supporting everything on the interface.
Parameters:
Name Type Description
instance Object
interface Class
See:

(static) classIsA(parent)

Returns true if the class has been declared to be descended from the parent, e.g. through extension, implementation, etc.
Parameters:
Name Type Description
Class
parent Class
See:

(static) extend(subclass, superclass)

Extend one class from another.
Parameters:
Name Type Description
subclass Class
superclass Class
See:

(static) fulfills(instance, interfac})

Returns true if the instance supports everything on the interface.
Parameters:
Name Type Description
instance Class
interfac} Class
See:

(static) inherit(class, parent)

Provides multiple inheritance by copying functionality from the parent to the class.
Parameters:
Name Type Description
class Class
parent Class
See:

(static) isA(instance, parent)

Returns true if the instance is of a type which has been declared to be descended from the parent, e.g. because it’s extended or implemented or mixed-in.
Parameters:
Name Type Description
instance Object
parent Class
See:

(static) mixin(class, mixin)

Provides mixin inheritance, sandboxing mixin methods that are copied onto the class.
Parameters:
Name Type Description
class Class
mixin Class
See: