SequenceInterval Class
Signature
export declare class SequenceInterval implements ISerializableInterval
Implements: ISerializableInterval
Constructors
Constructor | Description |
---|---|
(constructor)(start, end, intervalType, props) | Constructs a new instance of the SequenceInterval class |
Properties
Property | Type | Description |
---|---|---|
end | LocalReference | |
intervalType | IntervalType | |
properties | PropertySet | |
propertyManager | PropertiesManager | |
start | LocalReference |
Methods
Method | Return Type | Description |
---|---|---|
addProperties(newProps, collab, seq, op) | PropertySet | undefined | |
clone() | SequenceInterval | |
compare(b) | number | |
compareEnd(b) | number | |
compareStart(b) | number | |
getIntervalId() | string | undefined | |
modify(label, start, end, op) | SequenceInterval | |
overlaps(b) | boolean | |
overlapsPos(bstart, bend) | boolean | |
serialize(client) | ISerializedInterval | |
union(b) | SequenceInterval |
Constructor Details
(constructor)
Constructs a new instance of the SequenceInterval
class
Signature
constructor(start: LocalReference, end: LocalReference, intervalType: IntervalType, props?: PropertySet);
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
start | LocalReference | ||
end | LocalReference | ||
intervalType | IntervalType | ||
props | optional | PropertySet |
Property Details
end
Signature
end: LocalReference;
Type: LocalReference
intervalType
Signature
intervalType: IntervalType;
Type: IntervalType
properties
Signature
properties: PropertySet;
Type: PropertySet
propertyManager
Signature
propertyManager: PropertiesManager;
Type: PropertiesManager
start
Signature
start: LocalReference;
Type: LocalReference
Method Details
addProperties
Signature
addProperties(newProps: PropertySet, collab?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
newProps | PropertySet | ||
collab | optional | boolean | |
seq | optional | number | |
op | optional | ICombiningOp |
Returns
Return type: PropertySet | undefined
clone
Signature
clone(): SequenceInterval;