FOM Reference > Content > Format Controls > fContexts interface
  
fContexts interface
A set of context tests, equivalent to an APP Context Control Stream (.cx)
This object inherits from fControl.
includes attribute
An ordered list of other context sets to process alongside this one.
includes
Access
read-only
Returns
fArray
matches attribute
An ordered list of context matches. This array is automatically sorted according to the priority of child elements.
matches
Access
read-only
Returns
fArray
addInclude method
Adds a new context to the test array.
addIncludeinclude
Parameters
fContextIncludeinclude
The set of contexts to add to the include array. If this value is null or undefined, a new fContextInclude object will be created.
Returns
fContextInclude. The new fContextInclude object.
addMatch method
Adds a new context match to the matches array.
addMatchmatch
Parameters
fContextMatchmatch
The context to add to the matches array. If this value is null or undefined, a new fContextMatch object will be created.
Returns
fContextMatch. The new fContextMatch object.
clearIncludes method
Removes all the specified contexts from the include array.
clearIncludes
Parameters
None
Returns
void. None.
clearMatches method
Removes all the specified contexts from the matches array.
clearMatches
Parameters
None
Returns
void. None.
removeInclude method
Removes the specified set of contexts from the include array.
removeIncludeinclude
Parameters
fContextIncludeinclude
The context include to remove.
Returns
void. None.
removeMatch method
Removes the specified context from the matches array.
removeMatchmatch
Parameters
fContextMatchmatch
The context match to remove.
Returns
void. None.