IlvFacesLayerVisibilityTool

IlvFacesLayerVisibilityTool
Category:
Maps JSF component
JavaScript File:
IlvFacesLayerVisibilityTool.js
Description:
IlvFacesLayerVisibilityTool is a component that displays layers and gives control on their visibility.

Constructor Summary
IlvFacesLayerVisibilityTool(selfId, parentId)

Method Summary
addLayer(layerName, layerIndex)
Internal implementation
Adds a single layer on the layer table.
createLayers()
Internal implementation
Fills the layer table.
getAbsoluteId()
Returns the absolute identifier of the server side JavaServer Faces component.
getView()
Returns the dependency view of this component.
mouseOver(e)
This method is invoked when the mouse is over the layer table.
setAbsoluteId(id)
Sets the absolute identifier of the server side JavaServer Faces component.
setEnabled(enabled)
Enables or disables layer visibility control .
setMessage(message)
Sets the message to be displayed when the mouse is over the button.
setMessageBox(panelProxy)
Sets the message box of the view.
setStyle(style)
Changes the style of the table and its cells.
setStyleClass(styleClass)
Changes the style of the table and its cells.
setTitle(title)
Sets the component title and tooltip.
setView(viewProxy)
Sets the dependency view of this component
updateLayers()
Internal implementation
Updates the layer state.

Constructor Detail

IlvFacesLayerVisibilityTool

IlvFacesLayerVisibilityTool(selfId, parentId)
Creates an instance of IlvFacesLayerVisibilityTool.

Method Detail

addLayer

addLayer(layerName, layerIndex)
Internal implementation
Adds a single layer on the layer table.

createLayers

createLayers()
Internal implementation
Fills the layer table. This is an on-load handler.

getAbsoluteId

getAbsoluteId()
Returns the absolute identifier of the server side JavaServer Faces component. This identifier must be returned to update component properties that reference other components.
Returns:
The absolute identifier of the component.

getView

getView()
Returns the dependency view of this component.

mouseOver

mouseOver(e)
This method is invoked when the mouse is over the layer table.

setAbsoluteId

setAbsoluteId(id)
Sets the absolute identifier of the server side JavaServer Faces component.
Parameters:
absId - The absolute identifier of the component.

setEnabled

setEnabled(enabled)
Enables or disables layer visibility control .
Parameters:
enabled - true or false.

setMessage

setMessage(message)
Sets the message to be displayed when the mouse is over the button. The message is displayed in the status window of the browser and in the panel set using the setMessagePanel method.
Parameters:
message - The message.

setMessageBox

setMessageBox(panelProxy)
Sets the message box of the view. The messages of this view will be displayed in this message box.
Parameters:
panelProxy - The message box.

setStyle

setStyle(style)
Changes the style of the table and its cells.
Parameters:
style - A String containing CSS text.

setStyleClass

setStyleClass(styleClass)
Changes the style of the table and its cells.
Parameters:
style - A String containing the name of a CSS style.

setTitle

setTitle(title)
Sets the component title and tooltip.
Parameters:
title - .

setView

setView(viewProxy)
Sets the dependency view of this component
Parameters:
viewProxy - The view to link this component to.

updateLayers

updateLayers()
Internal implementation
Updates the layer state. This is an on-load handler.