Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 _addButton, oscar.Control.PanZoomBar
 _addThemeLayers, oscar.Control.MetaData
 _addZoomBar, oscar.Control.PanZoomBar
 _applyMetaData, oscar.Control.MetaData
 _applyOverviewMap Adds the overview map control if available, oscar.Map
 _finishedLoading, oscar.Control.MetaData
 _getInterface, oscar.Control.MetaData
 _requestMetaData, oscar.Control.MetaData
 _setUIProperties, oscar.Control.MetaData
 _viewMetaData, oscar.Control.MetaData
A
 activate
 addDataLayer, oscar.ox.Layer
 addLayer, oscar.ox.Theme
 addResource Adds a resource object to the corresponding array, _OscarLoader This class handles loading oscar and its depenencies
 addTheme, oscar.Control.ThemeManager
 addTheme Takes in a theme object to be stored, oscar.Gui.ThemeManager
 addTile addTile creates a tile,initializes it,and adds it to, oscar.Layer.WMTS
 addToSubMenu, oscar.Control.Multi
 addUrl, oscar.ox.Layer
 appendResource Appends the resource to the<head>or<body>block, _OscarLoader This class handles loading oscar and its depenencies
 applyThemes
B
 Box, oscar.Control.Box.oscar.Control
 buildDialog, oscar.Control.MetaData
 buildParameterList, oscar.MetaDataContainer
 buttonDown, oscar.Control.PanZoomBar
C
 calcPosition, oscar.Control.Multi
 CarisToolbar, oscar.Control.ToolBar.OpenLayers.Control
 checkReadyState This if for Internet Explorer to handle it’s, _OscarLoader This class handles loading oscar and its depenencies
 checkRedraw, oscar.Control.ThemeSwitcher
 config, oscar.Map
 containerCreated, oscar.Control.ThemeManager
 createDialog, oscar.Control.MetaData
 createSubMenuItem, oscar.Control.Multi
D
 deactivate
 deactivateAllThemes Cycle through the view, oscar.Gui.ThemeManagerViewer
 deactivateAllThemes Cycle through the view controls and, oscar.Gui.ThemeManager
 divClick, oscar.Control.PanZoomBar
 done
 doubleClick, oscar.Control.PanZoomBar
 draw
 draw Called when the control is added to the map, oscar.Control.PreviousView
 drawTheme, oscar.Control.ThemeManager
F
 fail, oscar.Util.Capabilities
 failure, oscar.MetaDataContainer
G
 getBrowserName, oscar.Util
 getCapabilities, oscar.Util.Capabilities
 getElement This is the old$()from prototype, oscar.Util
 getImagePath, oscar
 getParameters, oscar.Util.Capabilities
 getProjection, oscar.Map
 getTimeStamp, oscar.Util
 getToggleButton Returns a div button to toggle, oscar.Gui.ThemeManagerViewer
 getURL, oscar.Layer.WMTS
I
 If no items, oscar.Control.PreviousView.trigger Restore the previous state
 ignoreEvent
 initialize, oscar.Control.Measure
 initStack Called after the control is activated, oscar.Control.PreviousView
 initSubMenu, oscar.Control.Multi
 isLoading, oscar.MetaDataContainer
L
 Layer objects when, oscar.Control.OXFConfigManager.buildOXLayer This method builds oscar.ox
 LayerSwitcher, oscar.Control.ThemeSwitcher.OpenLayers.Control
 load Begins loading resources, _OscarLoader This class handles loading oscar and its depenencies
 loadContents, oscar.Control.ThemeSwitcher
 loadCSS Loads a CSS object literal, _OscarLoader This class handles loading oscar and its depenencies
 loadData Load the feed data, oscar.Layer.POILayer
 loadJS Loads a JavaScript resource object, _OscarLoader This class handles loading oscar and its depenencies
 loadJSResources Loads the JavaScript resources to make sure the, _OscarLoader This class handles loading oscar and its depenencies
 loadResource Single method to call,checks the type of the, _OscarLoader This class handles loading oscar and its depenencies
M
 makeRequest, oscar.MetaDataContainer
 MetaData, oscar.Control.MetaData.oscar.Control
 MetaDataContainer, oscar.MetaDataContainer.oscar
 mouseDown, oscar.Control.ThemeSwitcher
 mouseUp, oscar.Control.ThemeSwitcher
N
 NavigationHistory, oscar.Control.PreviousView.OpenLayers.Control
_addButton:function(id,
img,
xy,
sz)
_addThemeLayers:function()
Creates the container objects for meta data display
_addZoomBar:function(centered)
_applyMetaDataResponse:function(metaData,
container)
Adds the layers to the gui and binds the meta data to the containers.
_finishedLoading:function()
Keeps track of the containers load process.
_getInterface:function()
Starts the Ajax process to get the gui interface for the dialog.
_requestMetaData:function()
Starts the request for each container to obtain meta data.
_setUIProperties:function()
Used to set any UI properties for display
_viewMetaData:function(div)
Activates the layer and displays the metadata associated with it.
activate:function()
Activates the control
activate:function()
Description: Called when the control is activated.
addDataLayer:function(dataLayer)
Adds an oscar.ox.DataLayer object to the Layer
addLayer:function(oxLayer)
Adds an oscar.ox.Layer to the theme object.
addTheme : function(themeObj)
This method takes a theme object and adds it to the theme manager.
the layer div.
addToSubMenu:function(elem)
Description: Adds the element to the submenu.
addUrl:function(url)
Adds a url source to the Layer object.
of the document.
applyThemes : function()
Simply a method declaration.
applyThemes : function()
Gets triggered from the configuration manager object.
Creats a new control for doing area selection.
buildDialog:function(userinterface)
AJAX callback method to build the user interface for the dialog.
buildParameterList:function()
Creates the query string based on the data layers of the container.
buttonDown: function (evt)
calcPosition:function()
Description: This method calculates the position for the submenu in relation to its parent container.
Add our three controls.
issues with onload.
checkRedraw: function()
Checks if the layer state has changed since the last redraw() call.
config : function(options)
Parameter: {Object} options Contains configuration parameters
containerCreated : function()
This method gets called when the control container is created to notify the gui mananager.
createDialog:function()
Entry method to to create the dialog
createSubMenuItem:function()
Description: This method is used to create an element for a control to be added to tee sub menu.
deactivate:function()
Deactivates the control
deactivate:function()
Description: Called when the control is deactivated
controls and deactivate any active themes.
deactivate any active themes.
divClick: function (evt)
Picks up on clicks directly on the zoombar div and sets the zoom level appropriately.
done : function(geom)
{OpenLayers.Geometry} The geometry object of the selection area.
done : function(geom)
{OpenLayers.Geometry} The geometry object of the selection point.
doubleClick: function (evt)
draw : function()
This activates the handler used to draw the selection area on screen.
draw: function()
Render the control in the browser.
draw : function()
This activates the handler used to draw the selection point on screen.
draw : function()
Called by the parent Control class.
draw: function()
{DOMElement} A reference to the DIV DOMElement containing the switcher tabs.
draw: function()
calls the default draw, and then activates mouse defaults.
draw : function()
Draws the theme manager view to the div
drawTheme : function(theme)
This method will take in a theme object and draw the layer of the theme on to the map.
fail:function(transport)
Called when the capabilities request fails.
failure:function(transport)
What to do when the ajax request fails.
oscar.Util.getBrowserName = function()
Returns: {String} A string which specifies which is the current browser in which we are running.
getCapabilities:function()
Launches the reqest to retreive the Capabilities document from the server.
getImagePath:function()
{String} Returns the default location for the images.
getParameters:function()
Returns parameters to use for the request
getProjection: function()
This method overrides the getProjection method from OpenLayers.Map object to return the SRS provided by the theme.
oscar.Util.getTimeStamp = function()
Used to append to a URL to prevent caching
the appearance of the Theme Gui Controller
getURL : function(bounds)
are in the previous history stack, this has no effect.
ignoreEvent : function(evt)
ignoreEvent: function(evt)
initialize:function(options)
if the previous history stack is empty.
initSubMenu:function()
Description: This method creates the element used for the sub menu.
isLoading:function()
Returns {Boolean} is the layer container is still loading.
passed a layer from buildOXTheme.
loadContents: function()
Set up the labels and divs for the control
previous is loaded before another one attemps to load.
resource and passes control to the proper method.
makeRequest:function(source)
Makes an ajax request to the source
Create a new metadata container
mouseDown: function(evt)
Register a local ‘mouseDown’ flag so that we’ll know whether or not to ignore a mouseUp event
mouseUp: function(evt)
If the ‘isMouseDown’ flag has been set, that means that the drag was started from within the LayerSwitcher control, and thus we can ignore the mouseup.