Adds a listener to an event type.
When an event of the type pType fires, the callback pListener will be called. This function
returns a unique string id that may be used in removeEventListenerById to allow simple
listener removal.
It is possible to add an object that will be included in the callback to avoid creating too many closures.
The id of the inserted callback (actually an UUID).
Adds a listener to an event type.
When an event of the type pType fires, the callback pListener will be called. This function
returns a unique string id that may be used in removeEventListenerById to allow simple
listener removal.
The id of the inserted callback (actually an UUID).
Gets rid of this object.
After this call, this object can no longer be used.
If the object is an InfiniteObjectDispatcherInterface, then the ObjectDisposed signal is emitted.
Further uses of the object (with the exception of isDisposed and getInfiniteObjectType) will log a message with LL_UsingDisposedObject.
Gets a FilterItemInterface previously included by insertFilter given its identifier.
Each FilterItemInterface, upon creation, is given a unique identifier.
The FilterItemInterface with the given id, or undefined if not found.
Gets a FilterItemInterface previously included by insertFilter given its order in the container list.
The FilterItemInterface at the given order, or undefined if pOrder is out of range [0,getFilterCount()-1].
Gets the number of FilterItemInterface in the FilterSetInterface.
The FilterItemInterfaces count.
Gets a deep copy of the internal data of the FilterSetInterface.
WARNING : This function is copied there from the FilterItemInterface since included FilterItemInterfaces from insertFilter are not dumped there.
These information will be provided in future version of the API.
The internal FilterSetInterface data without included FilterItemInterfaces data.
Gets the operator to apply with this FilterItemInterface and its closest enabled predecessor in its parent container.
The FilterItemInterface operator of the first enabled FilterItemInterface in a parent list (FilterSolverInterface, FilterSetInterface, FilterCompoundInterface) is always ignored, but a warning is outputted in the console when the FilterOperator is different that FO_UNION.
A FilterItemInterface has the FO_UNION operator by default.
The operator to combine this FilterItemInterface and its first enabled predecessor.
Gets the order of the FilterItemInterface represented by the given identifier.
The order of the FilterItemInterface in the solver, or -1 if not found.
Tells the type of the given interface.
The type of the given interface.
Gets the identifier of the parent container that contains this FilterItemInterface (getFilterId()).
Such a container may be a FilterSolverInterface, FilterSetInterface or a FilterCompoundInterface. Returns an empty string if the FilterItemInterface is not included in a parent container.
The identifier of the parent container.
Tells if the EventDispatcher has such a callback registered for the given event type.
true if such a listener is installed for the given type of event.
Inserts a FilterItemInterface at the given position.
Any invalid position will result in the FilterItemInterface being pushed at the end of the list of FilterItemInterfaces. Use addEventListener on the event FilterAdded to know when a FilterItemInterface is added to the FilterCompoundInterface.
Returns true if the FilterItemInterface is added, false if the FilterItemInterface has been cleaned up, pOrder is not a number, if the FilterItemInterface is already inside a container, or if the FilterItemInterface is neither a FilterAttributeInterface, a FilterRangeInterface, a FilterHasFieldInterface or a FilterBooleanInterface.
true if the FilterItemInterface is added.
0 and [getFilterCount()](FilterCompoundInterface.html#getFilterCount) included).Tells if this object has been gotten rid off.
true if dispose has been called on this object.
Tells if the FilterItemInterface is enabled.
If disabled, this FilterItemInterface is completely ignored during all the computations (the behavior is the same as if it had not been created).
A FilterItemInterface is enabled by default.
true if the FilterItemInterface is enabled.
Tells if the FilterItemInterface is "inverted".
When "inverted", a FilterItemInterface elects all the part instances that were not selected if it was not inverted.
A FilterItemInterface is not "inverted" by default.
true if such a FilterItemInterface is "inverted".
Changes the order of the given FilterItemInterface in the container list by its filter id.
Orders number must be in the range of existing orders i.e. [0,getFilterCount()-1].
true if the FilterItemInterface was found and changed.
Removes all the FilterItemInterface contained in this FilterSetInterface.
Use addEventListener on the event FilterChanged to know when a FilterItemInterface is changed.
Removes a listener from an event type.
If no such listener is found, then the function returns false and does nothing. You must use the exact parameters that were used in addEventListener to actually remove the listener.
true if the callback was removed else false.
The listener function that gets removed.
The listener object that was used when addEventListener was called.
Removes a listener from an event type.
If no such listener is found, then the function returns false and does nothing. You must use the exact parameters that were used in addEventListener to actually remove the listener.
true if the callback was removed else false.
The listener function that gets removed.
Removes a listener by its id.
If no such listener is found, then the function returns false and does nothing. You must use the return value of addEventListener to actually remove the listener.
true if the callback was removed else false.
Removes a FilterItemInterface previously included by insertFilter given its identifier from the container list.
Use addEventListener on the event FilterRemoved to know when a FilterItemInterface is removed.
true if the FilterItemInterface was found and removed.
Sets the FilterItemInterface enabled/disabled status.
If disabled, this FilterItemInterface is completely ignored during all the computations (the behavior is the same as if it had not been created). Use addEventListener on the event FilterEnabledChanged to know when the FilterItemInterface has changed its enabled status.
A FilterItemInterface is enabled by default.
Sets the content of the FilterSetInterface from a former call to getFilterData.
WARNING : getFilterData is lacking enabled, inverted and FilterItemInterface operator information at the moment.
WARNING : This function is copied there from the FilterItemInterface since included FilterItemInterfaces information are not restored here. This function clears FilterItemInterface (as a call to removeAllFilters).
Use addEventListener on the event FilterDataChanged to know when the FilterSetInterface internal data changed.
true if the data is set.
Sets the operator to apply with this FilterItemInterface and its closest enabled predecessor in its parent container.
The FilterItemInterface operator of the first enabled FilterItemInterface in a parent list (FilterSolverInterface, FilterSetInterface, FilterCompoundInterface) is always ignored, but a warning is outputted in the console when the FilterOperator is different that FO_UNION. Use addEventListener on the event FilterInvertedChanged to know when the FilterItemInterface operator changed.
A FilterItemInterface has the FO_UNION operator by default.
Sets the "inverted" status of the FilterItemInterface.
When "inverted", a FilterItemInterface elects all the part instances that were not selected if it was not inverted.
Use addEventListener on the event FilterInvertedChanged
to know when the FilterItemInterface has changed its "inverted" status.
A FilterItemInterface is not "inverted" by default.
The FilterCompoundInterface interface is a very specialized FilterSetInterface.
A FilterCompoundInterface is a combination of metadata filters ((FilterAttributeInterface, FilterRangeInterface, FilterHasFieldInterface, FilterBooleanInterface)) that works on individual metadata documents and not on the
joined attribute set(see Available Filters).Only FilterAttributeInterface, FilterRangeInterface, FilterHasFieldInterface and FilterBooleanInterface may be included in a FilterCompoundInterface by insertFilter.
The FilterItemInterfaces are combined with their operators, but are all matched against the SAME metadata document.
Any empty FilterCompoundInterface is valid and is represented by all the
part instancesand all thegeometric instances.The FilterCompoundInterface interface is created through the createCompoundFilter.
The FilterCompoundInterface has the type FT_COMPOUND (getFilterType).
The FilterCompoundInterface has a depth contribution of
1 + Maximum depth contribution of each included FilterItemInterface..
See