;
/**
* Converts a untyped enumerable into an enumerable with the given type.
*
@@ -1423,7 +1492,7 @@ declare namespace yfiles{
* concatenated in the result.
* @template TResult
*/
- selectMany?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>yfiles.collections.IEnumerable,thisArg?:Object):yfiles.collections.IEnumerable;
+ selectMany?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>yfiles.collections.IEnumerable,thisArg?:any):yfiles.collections.IEnumerable;
/**
* Whether the enumerable contains any elements matching the given predicate.
* @param [predicate=null] A function with the signature function(element):boolean which returns true if the element matches a condition.
@@ -1431,7 +1500,7 @@ declare namespace yfiles{
* @returns Whether the enumerable contains any elements matching the given predicate.
* @throws {Stubs.Exceptions.ArgumentError} e is null.
*/
- some?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):boolean;
+ some?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):boolean;
/**
* Whether the enumerable contains any elements matching the given predicate.
* @param {Object} options The parameters to pass.
@@ -1447,7 +1516,7 @@ declare namespace yfiles{
* @param [thisArg=null]
* @returns The sum of the elements of the enumerable.
*/
- sum?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>number,thisArg?:Object):number;
+ sum?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>number,thisArg?:any):number;
/**
* Returns elements from an enumerable as long as the given predicate is true.
* @param predicate A function with the signature function(element):boolean which returns true as long as the elements should be added to
@@ -1455,7 +1524,7 @@ declare namespace yfiles{
* @param [thisArg=null]
* @returns A subset of the original enumerable.
*/
- takeWhile?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):yfiles.collections.IEnumerable;
+ takeWhile?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):yfiles.collections.IEnumerable;
/**
* Creates an array with the values of the enumerable.
* @returns An array with the enumerable's elements.
@@ -1479,7 +1548,7 @@ declare namespace yfiles{
}
var IEnumerable:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IEnumerable;
};
/**
* Provides methods to iterate over a collection or list of elements of the same type.
@@ -1496,7 +1565,7 @@ declare namespace yfiles{
* @interface
* @template T
*/
- export interface IEnumerator extends Object{
+ export interface IEnumerator extends yfiles.lang.Object{
/**
* Moves this enumerator to the next element.
*
@@ -1528,7 +1597,7 @@ declare namespace yfiles{
}
var IEnumerator:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IEnumerator;
};
/**
* A read-write collection of objects of the same type.
@@ -1537,7 +1606,7 @@ declare namespace yfiles{
* @implements {yfiles.collections.ICollection.}
* @template T
*/
- export interface IList extends Object,yfiles.collections.ICollection{
+ export interface IList extends yfiles.lang.Object,yfiles.collections.ICollection{
/**
* Gets the item at the given index.
* @param index The index of the item to access.
@@ -1577,7 +1646,7 @@ declare namespace yfiles{
}
var IList:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IList;
};
/**
* The key/value pair of a {@link yfiles.collections.IMap.}.
@@ -1587,7 +1656,7 @@ declare namespace yfiles{
* @template TKey,TValue
* @final
*/
- export interface MapEntry extends Object{}
+ export interface MapEntry extends yfiles.lang.Object{}
export class MapEntry {
/**
* Creates a new instance with the given key and value.
@@ -1606,6 +1675,7 @@ declare namespace yfiles{
*/
value:TValue;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.MapEntry;
}
/**
* Default implementation of {@link yfiles.collections.IList.}.
@@ -1618,7 +1688,7 @@ declare namespace yfiles{
* @implements {yfiles.collections.IList.}
* @template T
*/
- export interface List extends Object,yfiles.collections.IList{}
+ export interface List extends yfiles.lang.Object,yfiles.collections.IList{}
export class List {
/**
* Creates a new instance and fills it with the elements of the given enumerable.
@@ -1753,7 +1823,7 @@ declare namespace yfiles{
* Sorts all elements in the list using the given comparison function.
* @param comparison The comparison function to use.
*/
- sort(comparison:(arg1:Object,arg2:Object)=>number):void;
+ sort(comparison:(arg1:any,arg2:any)=>number):void;
/**
* Sorts all elements in the list using the given comparer.
* @param comparer The comparer to use.
@@ -1780,6 +1850,7 @@ declare namespace yfiles{
isReadOnly:boolean;
capacity:number;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.List;
}
/**
* Provides a method to compare two objects of the same type.
@@ -1787,7 +1858,7 @@ declare namespace yfiles{
* @interface
* @template T
*/
- export interface IComparer extends Object{
+ export interface IComparer extends yfiles.lang.Object{
/**
* Compares two objects of type T.
* @param x The first object.
@@ -1804,7 +1875,7 @@ declare namespace yfiles{
}
var IComparer:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IComparer;
};
/**
* A simple default implementation of an {@link yfiles.collections.IObservableCollection.} that is backed by an ordinary {@link yfiles.collections.ICollection.}
@@ -1813,7 +1884,7 @@ declare namespace yfiles{
* @implements {yfiles.collections.IObservableCollection.}
* @template T
*/
- export interface ObservableCollection extends Object,yfiles.collections.IObservableCollection{}
+ export interface ObservableCollection extends yfiles.lang.Object,yfiles.collections.IObservableCollection{}
export class ObservableCollection {
/**
* Creates a new instance using a provided collection as the backing store.
@@ -1882,12 +1953,12 @@ declare namespace yfiles{
*/
remove(item:T):boolean;
/**
- * Returns the number of elements in this collection.
+ * Gets the number of elements in this collection.
* @type {number}
*/
size:number;
/**
- * Checks whether this collection is read only.
+ * Gets whether this collection is read only.
* @type {boolean}
*/
isReadOnly:boolean;
@@ -1905,38 +1976,39 @@ declare namespace yfiles{
* @param listener The listener to add.
* @see yfiles.collections.ObservableCollection.#removeItemAddedListener
*/
- addItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemAdded event that occurs when an item has been added to this collection.
* @param listener The listener to remove.
* @see yfiles.collections.ObservableCollection.#addItemAddedListener
*/
- removeItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Adds the given listener for the ItemRemoved event that occurs when an item has been removed from this collection.
* @param listener The listener to add.
* @see yfiles.collections.ObservableCollection.#removeItemRemovedListener
*/
- addItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemRemoved event that occurs when an item has been removed from this collection.
* @param listener The listener to remove.
* @see yfiles.collections.ObservableCollection.#addItemRemovedListener
*/
- removeItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Adds the given listener for the ItemChanged event that occurs when an item has been changed inside this collection.
* @param listener The listener to add.
* @see yfiles.collections.ObservableCollection.#removeItemChangedListener
*/
- addItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemChanged event that occurs when an item has been changed inside this collection.
* @param listener The listener to remove.
* @see yfiles.collections.ObservableCollection.#addItemChangedListener
*/
- removeItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.ObservableCollection;
}
/**
* An {@link yfiles.collections.IMapper.} implementation backed by a {@link yfiles.collections.IMap.}.
@@ -1953,7 +2025,7 @@ declare namespace yfiles{
* @template K,V
* @final
*/
- export interface Mapper extends Object,yfiles.collections.IMapper{}
+ export interface Mapper extends yfiles.lang.Object,yfiles.collections.IMapper{}
export class Mapper {
/**
* Creates an instance using the provided {@link yfiles.collections.Map.} as the backing store.
@@ -2020,6 +2092,7 @@ declare namespace yfiles{
*/
defaultValue:V;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.Mapper;
}
/**
* The interface for a collection that will notify registered event handlers of changes to its contents.
@@ -2029,35 +2102,35 @@ declare namespace yfiles{
* @implements {yfiles.collections.ICollection.}
* @template T
*/
- export interface IObservableCollection extends Object,yfiles.collections.ICollection{
+ export interface IObservableCollection extends yfiles.lang.Object,yfiles.collections.ICollection{
/**
* Adds the given listener for the ItemAdded event that occurs when an item has been added to this collection.
* @param listener The listener to add.
* @see yfiles.collections.IObservableCollection.#removeItemAddedListener
* @abstract
*/
- addItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemAdded event that occurs when an item has been added to this collection.
* @param listener The listener to remove.
* @see yfiles.collections.IObservableCollection.#addItemAddedListener
* @abstract
*/
- removeItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Adds the given listener for the ItemRemoved event that occurs when an item has been removed from this collection.
* @param listener The listener to add.
* @see yfiles.collections.IObservableCollection.#removeItemRemovedListener
* @abstract
*/
- addItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemRemoved event that occurs when an item has been removed from this collection.
* @param listener The listener to remove.
* @see yfiles.collections.IObservableCollection.#addItemRemovedListener
* @abstract
*/
- removeItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Adds the given listener for the ItemChanged event that occurs when an item in this collection has changed
* significantly.
@@ -2068,7 +2141,7 @@ declare namespace yfiles{
* @see yfiles.collections.IObservableCollection.#removeItemChangedListener
* @abstract
*/
- addItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ addItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
* Removes the given listener for the ItemChanged event that occurs when an item in this collection has changed
* significantly.
@@ -2079,11 +2152,11 @@ declare namespace yfiles{
* @see yfiles.collections.IObservableCollection.#addItemChangedListener
* @abstract
*/
- removeItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void;
+ removeItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
}
var IObservableCollection:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IObservableCollection;
};
/**
* An extension to the {@link yfiles.collections.IEnumerable.} interface that allows for indexed access and retrieval of the element count.
@@ -2095,7 +2168,7 @@ declare namespace yfiles{
* @implements {yfiles.collections.IEnumerable.}
* @template T
*/
- export interface IListEnumerable extends Object,yfiles.collections.IEnumerable{
+ export interface IListEnumerable extends yfiles.lang.Object,yfiles.collections.IEnumerable{
/**
* Gets the i-th element in the collection.
* @param i the zero-based index of the item in this collection
@@ -2120,7 +2193,7 @@ declare namespace yfiles{
*/
EMPTY?:yfiles.collections.IListEnumerable;
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IListEnumerable;
};
/**
* Wraps a simple {@link yfiles.collections.IEnumerable.} into a {@link yfiles.collections.IListEnumerable.}.
@@ -2133,7 +2206,7 @@ declare namespace yfiles{
* @template T
* @final
*/
- export interface ListEnumerable extends Object,yfiles.collections.IListEnumerable{}
+ export interface ListEnumerable extends yfiles.lang.Object,yfiles.collections.IListEnumerable{}
export class ListEnumerable {
/**
* Creates a new instance using the given backing enumerable.
@@ -2166,6 +2239,7 @@ declare namespace yfiles{
*/
size:number;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.ListEnumerable;
}
/**
* Event argument class used by {@link yfiles.collections.IObservableCollection.} and similar that holds a specific item that is related to the event.
@@ -2187,6 +2261,7 @@ declare namespace yfiles{
*/
item:T;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.collections.ItemEventArgs;
}
/**
* An interface for simple typed dictionary-like implementations.
@@ -2207,7 +2282,7 @@ declare namespace yfiles{
* @interface
* @template K,V
*/
- export interface IMapper extends Object{
+ export interface IMapper extends yfiles.lang.Object{
/**
* Gets the value for a given key in the mapping.
*
@@ -2266,10 +2341,10 @@ declare namespace yfiles{
*/
fromDelegate?(getter:(key:K)=>V):yfiles.collections.IMapper;
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.collections.IMapper;
};
}export namespace graphml{
- export interface XmlName extends Object{}
+ export interface XmlName extends yfiles.lang.Object{}
export class XmlName {
/**
* Initializes a new instance of the {@link yfiles.graphml.XmlName} class.
@@ -2300,6 +2375,7 @@ declare namespace yfiles{
*/
namespace:string;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.XmlName;
}
export enum XamlAttributeWritePolicy{
/**
@@ -2391,7 +2467,7 @@ declare namespace yfiles{
export class GraphMLAttribute {
constructor();
/**
- * Gets or sets the name of the type or member where this attribute is used.
+ * Gets or sets the name of the attributed member.
*
* This will be used as the XML element or XML attribute name.
*
@@ -2522,10 +2598,11 @@ declare namespace yfiles{
*
* This property is ignored if the attribute targets a type declaration.
*
- * @type {Object}
+ * @type {any}
*/
- defaultValue:Object;
+ defaultValue:any;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.GraphMLAttribute;
}
export enum KeyType{
/**
@@ -2593,7 +2670,7 @@ declare namespace yfiles{
* @interface
* @implements {yfiles.graph.ILookup}
*/
- export interface IParseContext extends Object,yfiles.graph.ILookup{
+ export interface IParseContext extends yfiles.lang.Object,yfiles.graph.ILookup{
/**
* Deserialize the object representation in targetNode.
*
@@ -2641,26 +2718,25 @@ declare namespace yfiles{
* @returns The property value, or null if no such property exists.
* @abstract
*/
- getDeserializationProperty(key:string):Object;
+ getDeserializationProperty(key:string):any;
/**
- * Returns the current nesting of created graphs and graph elements.
+ * Gets the current nesting of created graphs and graph elements.
*
* The list contains the user objects which correspond to the GraphML elements which are ancestors of the current node in
* the DOM tree.
*
* @abstract
- * @type {yfiles.collections.IListEnumerable.}
+ * @type {yfiles.collections.IListEnumerable.}
*/
- objectStack:yfiles.collections.IListEnumerable;
+ objectStack:yfiles.collections.IListEnumerable;
/**
- * Returns an implementation of {@link yfiles.graphml.IParseEvents} that allows to subscribe to various events in the parse
- * process.
+ * Gets an implementation of {@link yfiles.graphml.IParseEvents} that allows to subscribe to various events in the parse process.
* @abstract
* @type {yfiles.graphml.IParseEvents}
*/
parseEvents:yfiles.graphml.IParseEvents;
/**
- * Returns the currently active graph object
+ * Gets the currently active graph object
* @abstract
* @type {yfiles.graph.IGraph}
*/
@@ -2668,7 +2744,7 @@ declare namespace yfiles{
}
var IParseContext:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IParseContext;
};
/**
* The interface of the event trigger class that is used by the {@link yfiles.graphml.IParseContext#parseEvents} property.
@@ -2679,7 +2755,7 @@ declare namespace yfiles{
* @see yfiles.graphml.GraphMLParser
* @interface
*/
- export interface IParseEvents extends Object{
+ export interface IParseEvents extends yfiles.lang.Object{
/**
* Adds the given listener for the DocumentParsing event that occurs when the document is about to be parsed.
*
@@ -2689,7 +2765,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeDocumentParsingListener
* @abstract
*/
- addDocumentParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addDocumentParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the DocumentParsing event that occurs when the document is about to be parsed.
*
@@ -2699,7 +2775,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addDocumentParsingListener
* @abstract
*/
- removeDocumentParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeDocumentParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the DocumentParsed event that occurs when the document has been parsed.
*
@@ -2709,7 +2785,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeDocumentParsedListener
* @abstract
*/
- addDocumentParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addDocumentParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the DocumentParsed event that occurs when the document has been parsed.
*
@@ -2719,7 +2795,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addDocumentParsedListener
* @abstract
*/
- removeDocumentParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeDocumentParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the NodeParsing event that occurs when a node element is about to be parsed.
*
@@ -2729,7 +2805,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeNodeParsingListener
* @abstract
*/
- addNodeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addNodeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the NodeParsing event that occurs when a node element is about to be parsed.
*
@@ -2739,7 +2815,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addNodeParsingListener
* @abstract
*/
- removeNodeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeNodeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the NodeParsed event that occurs after a node element has been fully parsed.
*
@@ -2749,7 +2825,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeNodeParsedListener
* @abstract
*/
- addNodeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addNodeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the NodeParsed event that occurs after a node element has been fully parsed.
*
@@ -2759,7 +2835,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addNodeParsedListener
* @abstract
*/
- removeNodeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeNodeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the EdgeParsing event that occurs when an edge element is about to be parsed.
*
@@ -2769,7 +2845,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeEdgeParsingListener
* @abstract
*/
- addEdgeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addEdgeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the EdgeParsing event that occurs when an edge element is about to be parsed.
*
@@ -2779,7 +2855,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addEdgeParsingListener
* @abstract
*/
- removeEdgeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeEdgeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the EdgeParsed event that occurs after a edge element has been fully parsed.
*
@@ -2789,7 +2865,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeEdgeParsedListener
* @abstract
*/
- addEdgeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addEdgeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the EdgeParsed event that occurs after a edge element has been fully parsed.
*
@@ -2799,7 +2875,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addEdgeParsedListener
* @abstract
*/
- removeEdgeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeEdgeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the PortParsing event that occurs when a port element is about to be parsed.
*
@@ -2809,7 +2885,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removePortParsingListener
* @abstract
*/
- addPortParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addPortParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the PortParsing event that occurs when a port element is about to be parsed.
*
@@ -2819,7 +2895,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addPortParsingListener
* @abstract
*/
- removePortParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removePortParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the PortParsed event that occurs after a port element has been fully parsed.
*
@@ -2829,7 +2905,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removePortParsedListener
* @abstract
*/
- addPortParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addPortParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the PortParsed event that occurs after a port element has been fully parsed.
*
@@ -2839,7 +2915,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addPortParsedListener
* @abstract
*/
- removePortParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removePortParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the GraphParsing event that occurs when a graph element is about to be parsed.
*
@@ -2849,7 +2925,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeGraphParsingListener
* @abstract
*/
- addGraphParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addGraphParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the GraphParsing event that occurs when a graph element is about to be parsed.
*
@@ -2859,7 +2935,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addGraphParsingListener
* @abstract
*/
- removeGraphParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeGraphParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the GraphParsed event that occurs after a graph element has been fully parsed.
*
@@ -2869,7 +2945,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeGraphParsedListener
* @abstract
*/
- addGraphParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addGraphParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the GraphParsed event that occurs after a graph element has been fully parsed.
*
@@ -2879,7 +2955,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addGraphParsedListener
* @abstract
*/
- removeGraphParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeGraphParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the GraphMLParsing event that occurs when the graphml element is about to be parsed.
*
@@ -2889,7 +2965,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeGraphMLParsingListener
* @abstract
*/
- addGraphMLParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addGraphMLParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the GraphMLParsing event that occurs when the graphml element is about to be parsed.
*
@@ -2899,7 +2975,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addGraphMLParsingListener
* @abstract
*/
- removeGraphMLParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeGraphMLParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the GraphMLParsed event that occurs after the graphml element has been fully parsed.
*
@@ -2909,7 +2985,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeGraphMLParsedListener
* @abstract
*/
- addGraphMLParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addGraphMLParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the GraphMLParsed event that occurs after the graphml element has been fully parsed.
*
@@ -2919,7 +2995,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addGraphMLParsedListener
* @abstract
*/
- removeGraphMLParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeGraphMLParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the DataParsing event that occurs when a data element is about to be parsed.
*
@@ -2929,7 +3005,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeDataParsingListener
* @abstract
*/
- addDataParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addDataParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the DataParsing event that occurs when a data element is about to be parsed.
*
@@ -2939,7 +3015,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addDataParsingListener
* @abstract
*/
- removeDataParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeDataParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the DataParsed event that occurs after a data element has been fully parsed.
*
@@ -2949,7 +3025,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeDataParsedListener
* @abstract
*/
- addDataParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addDataParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the DataParsed event that occurs after a data element has been fully parsed.
*
@@ -2959,7 +3035,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addDataParsedListener
* @abstract
*/
- removeDataParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeDataParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the KeyParsing event that occurs when a key element is about to be parsed.
*
@@ -2969,7 +3045,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeKeyParsingListener
* @abstract
*/
- addKeyParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addKeyParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the KeyParsing event that occurs when a key element is about to be parsed.
*
@@ -2979,7 +3055,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addKeyParsingListener
* @abstract
*/
- removeKeyParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeKeyParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Adds the given listener for the KeyParsed event that occurs after a key element has been fully parsed.
*
@@ -2989,7 +3065,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#removeKeyParsedListener
* @abstract
*/
- addKeyParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ addKeyParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
/**
* Removes the given listener for the KeyParsed event that occurs after a key element has been fully parsed.
*
@@ -2999,11 +3075,11 @@ declare namespace yfiles{
* @see yfiles.graphml.IParseEvents#addKeyParsedListener
* @abstract
*/
- removeKeyParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void;
+ removeKeyParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void;
}
var IParseEvents:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IParseEvents;
};
/**
* This is the event argument that is used by the {@link yfiles.graphml.IParseEvents} interface that can be queried from the {@link yfiles.graphml.IParseContext#parseEvents}
@@ -3033,12 +3109,13 @@ declare namespace yfiles{
*/
element:Element;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.ParseEventArgs;
}
/**
* A data holder for use in the {@link yfiles.graphml.IOutputHandler} interface that encapsulates an XML attribute.
* @class
*/
- export interface GraphMLXmlAttribute extends Object{}
+ export interface GraphMLXmlAttribute extends yfiles.lang.Object{}
export class GraphMLXmlAttribute {
/**
* Initializes a new instance of the {@link yfiles.graphml.GraphMLXmlAttribute} class.
@@ -3057,12 +3134,13 @@ declare namespace yfiles{
*/
value:string;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.GraphMLXmlAttribute;
}
/**
* The interface used by the {@link yfiles.graphml.GraphMLIOHandler} for writing data to the GraphML.
* @interface
*/
- export interface IOutputHandler extends Object{
+ export interface IOutputHandler extends yfiles.lang.Object{
/**
* Determines whether in the current context, the value is the default value and therefore no data element needs to be
* written.
@@ -3116,7 +3194,7 @@ declare namespace yfiles{
}
var IOutputHandler:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IOutputHandler;
};
export enum WritePrecedence{
/**
@@ -3141,7 +3219,7 @@ declare namespace yfiles{
* @interface
* @implements {yfiles.graph.ILookup}
*/
- export interface IWriteContext extends Object,yfiles.graph.ILookup{
+ export interface IWriteContext extends yfiles.lang.Object,yfiles.graph.ILookup{
/**
* Returns the most current (the last element) within the container hierarchy as it is returned by {@link yfiles.graphml.IWriteContext#objectStack} or default(T) if the
* most current element is not of the desired target type.
@@ -3158,7 +3236,7 @@ declare namespace yfiles{
* @returns The property value, or null if no such property exists
* @abstract
*/
- getSerializationProperty(key:string):Object;
+ getSerializationProperty(key:string):any;
/**
* Serializes the specified item using the provided type information.
*
@@ -3168,7 +3246,7 @@ declare namespace yfiles{
* @param item The item to serialize.
* @param t The type the item is known to be of at deserialization time.
*/
- serialize?(item:Object,t:yfiles.lang.Class):void;
+ serialize?(item:any,t:yfiles.lang.Class):void;
/**
* Serialize the item.
*
@@ -3212,31 +3290,30 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteContext#serializeCore
* @template T
*/
- serializeReplacement?(targetType:yfiles.lang.Class,originalItem:Object,replacement:T):void;
+ serializeReplacement?(targetType:yfiles.lang.Class,originalItem:any,replacement:T):void;
/**
- * Returns the current nesting of graphs and graph elements.
+ * Gets the current nesting of graphs and graph elements.
*
* The list contains the user objects which correspond to the GraphML elements.
*
* @abstract
- * @type {yfiles.collections.IListEnumerable.}
+ * @type {yfiles.collections.IListEnumerable.}
*/
- objectStack:yfiles.collections.IListEnumerable;
+ objectStack:yfiles.collections.IListEnumerable;
/**
- * Returns an implementation of {@link yfiles.graphml.IWriteEvents} that allows to subscribe to various events in the write
- * process.
+ * Gets an implementation of {@link yfiles.graphml.IWriteEvents} that allows to subscribe to various events in the write process.
* @abstract
* @type {yfiles.graphml.IWriteEvents}
*/
writeEvents:yfiles.graphml.IWriteEvents;
/**
- * Returns the current {@link yfiles.graphml.IXmlWriter} implementation.
+ * Gets the current {@link yfiles.graphml.IXmlWriter} implementation.
* @abstract
* @type {yfiles.graphml.IXmlWriter}
*/
writer:yfiles.graphml.IXmlWriter;
/**
- * Returns the currently active graph object
+ * Gets the currently active graph object
* @abstract
* @type {yfiles.graph.IGraph}
*/
@@ -3244,7 +3321,7 @@ declare namespace yfiles{
}
var IWriteContext:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IWriteContext;
};
/**
* The interface of the event trigger class that is used by the {@link yfiles.graphml.IWriteContext#writeEvents} property.
@@ -3255,7 +3332,7 @@ declare namespace yfiles{
* @see yfiles.graphml.GraphMLWriter
* @interface
*/
- export interface IWriteEvents extends Object{
+ export interface IWriteEvents extends yfiles.lang.Object{
/**
* Adds the given listener for the DocumentWriting event that occurs just after the {@link yfiles.graphml.IXmlWriter#writeStartDocument}
* has been called.
@@ -3263,7 +3340,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeDocumentWritingListener
* @abstract
*/
- addDocumentWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addDocumentWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the DocumentWriting event that occurs just after the {@link yfiles.graphml.IXmlWriter#writeStartDocument}
* has been called.
@@ -3271,7 +3348,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addDocumentWritingListener
* @abstract
*/
- removeDocumentWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeDocumentWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the DocumentWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndDocument}
* will be called.
@@ -3279,7 +3356,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeDocumentWrittenListener
* @abstract
*/
- addDocumentWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addDocumentWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the DocumentWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndDocument}
* will be called.
@@ -3287,7 +3364,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addDocumentWrittenListener
* @abstract
*/
- removeDocumentWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeDocumentWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the NodeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'node' element has been called.
@@ -3299,7 +3376,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeNodeWritingListener
* @abstract
*/
- addNodeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addNodeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the NodeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'node' element has been called.
@@ -3311,7 +3388,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addNodeWritingListener
* @abstract
*/
- removeNodeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeNodeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the NodeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'node' element will be called.
@@ -3322,7 +3399,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeNodeWrittenListener
* @abstract
*/
- addNodeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addNodeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the NodeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'node' element will be called.
@@ -3333,7 +3410,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addNodeWrittenListener
* @abstract
*/
- removeNodeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeNodeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the EdgeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'edge' element has been called.
@@ -3345,7 +3422,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeEdgeWritingListener
* @abstract
*/
- addEdgeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addEdgeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the EdgeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'edge' element has been called.
@@ -3357,7 +3434,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addEdgeWritingListener
* @abstract
*/
- removeEdgeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeEdgeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the EdgeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'edge' element will be called.
@@ -3368,7 +3445,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeEdgeWrittenListener
* @abstract
*/
- addEdgeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addEdgeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the EdgeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'edge' element will be called.
@@ -3379,7 +3456,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addEdgeWrittenListener
* @abstract
*/
- removeEdgeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeEdgeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the PortWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'port' element has been called.
@@ -3391,7 +3468,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removePortWritingListener
* @abstract
*/
- addPortWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addPortWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the PortWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'port' element has been called.
@@ -3403,7 +3480,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addPortWritingListener
* @abstract
*/
- removePortWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removePortWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the PortWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'port' element will be called.
@@ -3414,7 +3491,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removePortWrittenListener
* @abstract
*/
- addPortWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addPortWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the PortWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'port' element will be called.
@@ -3425,7 +3502,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addPortWrittenListener
* @abstract
*/
- removePortWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removePortWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the GraphWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'graph' element has been called.
@@ -3437,7 +3514,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeGraphWritingListener
* @abstract
*/
- addGraphWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addGraphWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the GraphWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'graph' element has been called.
@@ -3449,7 +3526,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addGraphWritingListener
* @abstract
*/
- removeGraphWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeGraphWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the GraphWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'graph' element will be called.
@@ -3460,7 +3537,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeGraphWrittenListener
* @abstract
*/
- addGraphWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addGraphWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the GraphWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'graph' element will be called.
@@ -3471,7 +3548,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addGraphWrittenListener
* @abstract
*/
- removeGraphWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeGraphWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the GraphMLWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'graphml' element has been called.
@@ -3483,7 +3560,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeGraphMLWritingListener
* @abstract
*/
- addGraphMLWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addGraphMLWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the GraphMLWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'graphml' element has been called.
@@ -3495,7 +3572,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addGraphMLWritingListener
* @abstract
*/
- removeGraphMLWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeGraphMLWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the GraphMLWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'graphml' element will be called.
@@ -3506,7 +3583,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeGraphMLWrittenListener
* @abstract
*/
- addGraphMLWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addGraphMLWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the GraphMLWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'graphml' element will be called.
@@ -3517,7 +3594,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addGraphMLWrittenListener
* @abstract
*/
- removeGraphMLWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeGraphMLWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the DataWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'data' element has been called.
@@ -3529,7 +3606,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeDataWritingListener
* @abstract
*/
- addDataWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addDataWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the DataWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'data' element has been called.
@@ -3541,7 +3618,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addDataWritingListener
* @abstract
*/
- removeDataWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeDataWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the DataWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'data' element will be called.
@@ -3552,7 +3629,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeDataWrittenListener
* @abstract
*/
- addDataWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addDataWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the DataWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'data' element will be called.
@@ -3563,7 +3640,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addDataWrittenListener
* @abstract
*/
- removeDataWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeDataWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the KeyWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'key' element has been called.
@@ -3575,7 +3652,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeKeyWritingListener
* @abstract
*/
- addKeyWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addKeyWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the KeyWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement}
* method for writing a GraphMl 'key' element has been called.
@@ -3587,7 +3664,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addKeyWritingListener
* @abstract
*/
- removeKeyWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeKeyWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Adds the given listener for the KeyWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'key' element will be called.
@@ -3598,7 +3675,7 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#removeKeyWrittenListener
* @abstract
*/
- addKeyWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ addKeyWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
/**
* Removes the given listener for the KeyWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement}
* for the GraphML 'key' element will be called.
@@ -3609,17 +3686,17 @@ declare namespace yfiles{
* @see yfiles.graphml.IWriteEvents#addKeyWrittenListener
* @abstract
*/
- removeKeyWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void;
+ removeKeyWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void;
}
var IWriteEvents:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IWriteEvents;
};
/**
* Abstraction of XML output classes that provide a consistent way to write XML elements to some output
* @interface
*/
- export interface IXmlWriter extends Object{
+ export interface IXmlWriter extends yfiles.lang.Object{
/**
* Close the document.
*
@@ -3762,13 +3839,13 @@ declare namespace yfiles{
}
var IXmlWriter:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IXmlWriter;
};
/**
* Helper class to facilitate namespace handling together with {@link yfiles.graphml.IXmlWriter} instances.
* @interface
*/
- export interface IXmlNamespaceManager extends Object{
+ export interface IXmlNamespaceManager extends yfiles.lang.Object{
/**
* Returns a unique namespace prefix, or creates and registeres one.
* @param ns The namespace URI for which a prefix is searched.
@@ -3803,7 +3880,7 @@ declare namespace yfiles{
*/
sealScope():void;
/**
- * Return a list of all namespace declarations that should be declared at the document's root element.
+ * Gets a list of all namespace declarations that should be declared at the document's root element.
* @abstract
* @type {yfiles.collections.IMap.}
*/
@@ -3811,7 +3888,7 @@ declare namespace yfiles{
}
var IXmlNamespaceManager:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IXmlNamespaceManager;
};
/**
* Constant class for common serialization properties.
@@ -3819,7 +3896,7 @@ declare namespace yfiles{
* @class
* @static
*/
- export interface SerializationProperties extends Object{}
+ export interface SerializationProperties extends yfiles.lang.Object{}
export class SerializationProperties {
/**
* Property key to control user tag serialization and deserialization
@@ -4149,6 +4226,7 @@ declare namespace yfiles{
*/
static CACHE_EXTERNAL_REFERENCES:string;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.SerializationProperties;
}
/**
* This is the event argument that is used by the {@link yfiles.graphml.IWriteEvents} interface that can be queried from the {@link yfiles.graphml.IWriteContext#writeEvents}
@@ -4166,7 +4244,7 @@ declare namespace yfiles{
* @param context The context to assign to {@link #context}.
* @param item The item to assign to {@link #item}.
*/
- constructor(context:yfiles.graphml.IWriteContext,item:Object);
+ constructor(context:yfiles.graphml.IWriteContext,item:any);
/**
* Gets the context that is being used for writing.
* @type {yfiles.graphml.IWriteContext}
@@ -4174,10 +4252,11 @@ declare namespace yfiles{
context:yfiles.graphml.IWriteContext;
/**
* Gets the item that is currently being written or null if nothing is applicable.
- * @type {Object}
+ * @type {any}
*/
- item:Object;
+ item:any;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.WriteEventArgs;
}
/**
* An interface for converters that can convert an object to a corresponding {@link yfiles.graphml.MarkupExtension}.
@@ -4186,7 +4265,7 @@ declare namespace yfiles{
*
* @interface
*/
- export interface IMarkupExtensionConverter extends Object{
+ export interface IMarkupExtensionConverter extends yfiles.lang.Object{
/**
* Returns if the converter can convert the value to a {@link yfiles.graphml.MarkupExtension} in the current write context.
* @param context The current write context.
@@ -4194,7 +4273,7 @@ declare namespace yfiles{
* @returns Whether the converter can convert the passed value.
* @abstract
*/
- canConvert(context:yfiles.graphml.IWriteContext,value:Object):boolean;
+ canConvert(context:yfiles.graphml.IWriteContext,value:any):boolean;
/**
* Converts the value to a {@link yfiles.graphml.MarkupExtension} using the current write context.
* @param context The current write context.
@@ -4202,18 +4281,18 @@ declare namespace yfiles{
* @returns The {@link } the value was converted to.
* @abstract
*/
- convert(context:yfiles.graphml.IWriteContext,value:Object):yfiles.graphml.MarkupExtension;
+ convert(context:yfiles.graphml.IWriteContext,value:any):yfiles.graphml.MarkupExtension;
}
var IMarkupExtensionConverter:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IMarkupExtensionConverter;
};
/**
* Utility class that facilitates determining type information from XML elements and writing of markup extensions as
* attributes.
* @interface
*/
- export interface IXamlNameMapper extends Object{
+ export interface IXamlNameMapper extends yfiles.lang.Object{
/**
* Returns a {@link yfiles.lang.Class} that matches the given fqTagName of an XML element.
*
@@ -4236,38 +4315,38 @@ declare namespace yfiles{
}
var IXamlNameMapper:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IXamlNameMapper;
};
/**
* Wraps a property together with default values and meta data.
* @class
*/
- export interface Property extends Object{}
+ export interface Property extends yfiles.lang.Object{}
export class Property {
/**
* Gets the value the wrapped property has on the given instance.
* @param ownerInstance The instance to get the property value from.
* @returns The value the wrapped property has on the given instance.
*/
- getValue(ownerInstance:Object):Object;
+ getValue(ownerInstance:any):any;
/**
* Sets the value to the wrapped property on the given instance.
* @param ownerInstance The instance to set the property value on.
* @param value The value to set.
*/
- setValue(ownerInstance:Object,value:Object):void;
+ setValue(ownerInstance:any,value:any):void;
/**
- * Returns true iff the property has a public getter.
+ * Gets whether or not the property has a public getter.
* @type {boolean}
*/
canRead:boolean;
/**
- * Returns true iff the property has a public setter.
+ * Gets whether or not the property has a public setter.
* @type {boolean}
*/
canWrite:boolean;
/**
- * Returns true iff this is a static property.
+ * Gets whether or not this is a static property.
* @type {boolean}
*/
isStatic:boolean;
@@ -4308,9 +4387,9 @@ declare namespace yfiles{
ownerType:yfiles.lang.Class;
/**
* Gets the default value.
- * @type {Object}
+ * @type {any}
*/
- defaultValue:Object;
+ defaultValue:any;
/**
* Gets a value indicating whether this instance has a default value.
* @type {boolean}
@@ -4322,6 +4401,7 @@ declare namespace yfiles{
*/
name:string;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.Property;
}
export enum SliderParameterLocation{
/**
@@ -4350,7 +4430,7 @@ declare namespace yfiles{
* @interface
* @implements {yfiles.graph.ILookup}
*/
- export interface IValueSerializerContext extends Object,yfiles.graph.ILookup{
+ export interface IValueSerializerContext extends yfiles.lang.Object,yfiles.graph.ILookup{
/**
* Gets the value serializer for a specific {@link yfiles.graphml.Property}.
* @param property The descriptor of the property.
@@ -4368,7 +4448,7 @@ declare namespace yfiles{
}
var IValueSerializerContext:{
$class:yfiles.lang.Class;
- isInstance(o:Object):boolean;
+ isInstance(o:any):o is yfiles.graphml.IValueSerializerContext;
};
/**
* Provides a base class for all XAML markup extensions.
@@ -4378,7 +4458,7 @@ declare namespace yfiles{
*
* @class
*/
- export interface MarkupExtension extends Object{}
+ export interface MarkupExtension extends yfiles.lang.Object{}
export class MarkupExtension {
/**
* Returns an object that is set as the value of the target property for this markup extension.
@@ -4386,8 +4466,9 @@ declare namespace yfiles{
* @returns The object value to set on the property where the extension is applied.
* @abstract
*/
- provideValue(serviceProvider:yfiles.graph.ILookup):Object;
+ provideValue(serviceProvider:yfiles.graph.ILookup):any;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.MarkupExtension;
}
/**
* Helper classes used during the XAML serialization of instances.
@@ -4396,7 +4477,7 @@ declare namespace yfiles{
*
* @class
*/
- export interface ValueSerializer extends Object{}
+ export interface ValueSerializer extends yfiles.lang.Object{}
export class ValueSerializer {
/**
* Determines whether this instance can convert the specified value from the given string.
@@ -4411,21 +4492,21 @@ declare namespace yfiles{
* @param context The context.
* @returns true if this instance can convert the specified value to a string; otherwise, false.
*/
- canConvertToString(value:Object,context:yfiles.graphml.IValueSerializerContext):boolean;
+ canConvertToString(value:any,context:yfiles.graphml.IValueSerializerContext):boolean;
/**
* Converts the string to an appropriate instance.
* @param value The value to convert to an object.
* @param context The context.
* @returns The converted object
*/
- convertFromString(value:string,context:yfiles.graphml.IValueSerializerContext):Object;
+ convertFromString(value:string,context:yfiles.graphml.IValueSerializerContext):any;
/**
* Converts the given value to string.
* @param o The value.
* @param context The context.
* @returns The value as string representation.
*/
- convertToString(o:Object,context:yfiles.graphml.IValueSerializerContext):string;
+ convertToString(o:any,context:yfiles.graphml.IValueSerializerContext):string;
/**
* Gets the {@link yfiles.graphml.ValueSerializer} implementation for the given type.
* @param type The type.
@@ -4457,6 +4538,7 @@ declare namespace yfiles{
*/
static getSerializerFor(type:yfiles.lang.Class):yfiles.graphml.ValueSerializer;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.ValueSerializer;
}
/**
* A helper holder class that can contain a {@link yfiles.graphml.Future.#value} of a specific type.
@@ -4470,7 +4552,7 @@ declare namespace yfiles{
* @template T
* @final
*/
- export interface Future extends Object,yfiles.lang.IPropertyObservable{}
+ export interface Future extends yfiles.lang.Object,yfiles.lang.IPropertyObservable{}
export class Future {
/**
* Called when the {@link yfiles.graphml.Future.#value} property of this future has been determined.
@@ -4482,7 +4564,7 @@ declare namespace yfiles{
*/
onValueDetermined(value:T):void;
/**
- * The value of this future, which may only be queried if {@link yfiles.graphml.Future.#hasValue} yields true.
+ * Gets the value of this future, which may only be queried if {@link yfiles.graphml.Future.#hasValue} yields true.
* @throws {Stubs.Exceptions.InvalidOperationError} If this property is queried although {@link yfiles.graphml.Future.#hasValue} returns false.
* @type {T}
*/
@@ -4501,7 +4583,7 @@ declare namespace yfiles{
* @param listener The listener to add.
* @see yfiles.graphml.Future.#removePropertyChangedListener
*/
- addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void;
+ addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void;
/**
* Removes the given listener for the PropertyChanged event that occurs when a property value changes.
*
@@ -4511,8 +4593,9 @@ declare namespace yfiles{
* @param listener The listener to remove.
* @see yfiles.graphml.Future.#addPropertyChangedListener
*/
- removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void;
+ removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void;
static $class:yfiles.lang.Class;
+ static isInstance(o:any):o is yfiles.graphml.Future;
}
/**
* Class for reading/writing graphs from/to GraphML format.
@@ -4521,7 +4604,7 @@ declare namespace yfiles{
*
* @class
*/
- export interface GraphMLIOHandler extends Object{}
+ export interface GraphMLIOHandler extends yfiles.lang.Object{}
export class GraphMLIOHandler {
/**
* Creates a new instance of {@link yfiles.graphml.GraphMLIOHandler}.
@@ -4556,7 +4639,7 @@ declare namespace yfiles{
* @param deserializationCallback custom deserialization callback.
* @template TKey,TData
*/
- addInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void;
+ addInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void;
/**
* Register a {@link yfiles.collections.IMapper.} instance for use as an input data target.
*
@@ -4587,7 +4670,7 @@ declare namespace yfiles{
* @returns A {@link } instance that wraps an {@link } that actually holds the data.
* @template TKey,TData
*/
- addInputMapperFuture(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>;
+ addInputMapperFuture(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>;
/**
* Create a {@link yfiles.graphml.Future.} instance that wraps an {@link yfiles.collections.IMapper.} for use as an input data target.
*
@@ -4628,7 +4711,7 @@ declare namespace yfiles{
* @param declaredKeyType The key type to write in the declaration.
* @template TModelItem,TValue
*/
- addOutputMapper(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,uri:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void;
+ addOutputMapper(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,uri:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void;
/**
* Register a {@link yfiles.collections.IMapper.} instance for use as an output data source
*
@@ -4661,7 +4744,7 @@ declare namespace yfiles{
* @returns A {@link } instance that wraps an {@link } that actually holds the data.
* @template TKey,TData
*/
- addRegistryInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,tag:Object,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>;
+ addRegistryInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,tag:any,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>;
/**
* Create a {@link yfiles.graphml.Future.} instance that wraps an {@link yfiles.graphml.IInputHandler} that stores the data in an {@link yfiles.collections.IMapper.} that will be {@link yfiles.graphml.GraphMLIOHandler#createMapper created} in the
* graph's {@link yfiles.graph.IMapperRegistry}.
@@ -4692,7 +4775,7 @@ declare namespace yfiles{
* @param declaredKeyType The key type to write in the declaration.
* @template TModelItem,TValue
*/
- addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,uri:string,tag:Object,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void;
+ addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,uri:string,tag:any,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void;
/**
* Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute.
* Type parameter TModelItem.
@@ -4703,7 +4786,7 @@ declare namespace yfiles{
* @param tag The tag name of the mapper in the {@link }
* @template TModelItem,TValue
*/
- addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,tag:Object):void;
+ addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,tag:any):void;
/**
* Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute.
*
@@ -4714,7 +4797,7 @@ declare namespace yfiles{
* @param tag The tag name of the mapper in the {@link }
* @param serializationCallback An optional serialization handler
*/
- addRegistryOutputMapper(name:string,uri:string,tag:Object,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void;
+ addRegistryOutputMapper(name:string,uri:string,tag:any,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void;
/**
* Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute.
*
@@ -4723,7 +4806,7 @@ declare namespace yfiles{
* @param name The GraphML name of the attribute
* @param tag The tag name of the mapper in the {@link }
*/
- addRegistryOutputMapper(name:string,tag:Object):void;
+ addRegistryOutputMapper(name:string,tag:any):void;
/**
* Adds a schema location to the header of a GraphML file.
* @param schemaNamespace The namespace URI for this schema location
@@ -4759,7 +4842,7 @@ declare namespace yfiles{
* @see yfiles.graphml.GraphMLIOHandler#createXamlNameMapper
* @see yfiles.graphml.GraphMLIOHandler#addXamlNamespaceMapping
*/
- addXamlNamespaceMapping(xmlNamespace:string,module:Object):void;
+ addXamlNamespaceMapping(xmlNamespace:string,module:any):void;
/**
* Configure the predefined handlers for the {@link yfiles.graphml.GraphMLParser#addHandleDeserializationListener HandleDeserialization}
* event.
@@ -4982,7 +5065,7 @@ declare namespace yfiles{
* @protected
* @template TKey,TData
*/
- createMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,context:yfiles.graphml.IParseContext,registryTag:Object):yfiles.collections.IMapper;
+ createMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,context:yfiles.graphml.IParseContext,registryTag:any):yfiles.collections.IMapper;
/**
* Convenience factory method that can create an instance of several predefined {@link yfiles.graphml.IInputHandler}
* implementations that match the provided TKey and TData.
@@ -4996,7 +5079,7 @@ declare namespace yfiles{
* @template TKey,TData
* @static
*/
- static createMapperInputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.MapperInputHandler;
+ static createMapperInputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.MapperInputHandler;
/**
* Convenience factory method that can create an instance of several predefined {@link yfiles.graphml.IOutputHandler}
* implementations that match the provided TKey and TData.
@@ -5011,7 +5094,7 @@ declare namespace yfiles{
* @template TKey,TData
* @static
*/
- static createMapperOutputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):yfiles.graphml.MapperOutputHandler;
+ static createMapperOutputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,mapper:yfiles.collections.IMapper