Class ContextCollection
Object
|
+--Listener
|
+--ModelBase
|
+--ContextCollection
- class
ContextCollection
- extends ModelBase
Defined in ContextCollection.js
Author: Mike Adair
Constructor Summary |
ContextCollection
(modelNode, parent)
Stores a Web Map Context (WMC) Collection document as defined by the Open
GIS Consortium http://opengis.org and extensions the the WMC.
|
Method Summary |
void
|
deleteContext(id)
Delete this context.
|
Object
|
insertContext(context,zindex)
Insert a new context.
|
void
|
reorderContext(context,zindex)
Move this context to a new position in the contextList.
|
void
|
selectContext(context,selected)
Select this context for further operations
|
Methods inherited from class ModelBase |
getXpathValue, setXpathValue, loadModelDoc, setModel, finishLoading, newRequest, deleteTemplates, saveModel, createObject, loadObjects, parseConfig, refresh, init, clearModel
|
ContextCollection
ContextCollection(modelNode, parent)
Stores a Web Map Context (WMC) Collection document as defined by the Open
GIS Consortium http://opengis.org and extensions the the WMC.
Parameters:
modelNode
- Pointer to the xml node for this model from the config file.
parent
- The parent model for the object.
deleteContext
void deleteContext(id)
Parameters:
id
- The context identifier.
insertContext
Object insertContext(context,zindex)
Parameters:
context
- An XML node which describes the context.
zindex
- The position to insert this context in the contextList, if set to null this context will be inserted at the end.
Returns:
The identifier string used to reference this context.
reorderContext
void reorderContext(context,zindex)
Move this context to a new position in the contextList.
Parameters:
context
- The context id to move.
zindex
- The position to move this context to in the contextList, if set to null this context will be inserted at the end.
selectContext
void selectContext(context,selected)
Select this context for further operations
Parameters:
context
- The context id to select.
selected
- Set to true/false.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007