A widget to display information about the currently selected set of features.
Fusion. | A widget to display information about the currently selected set of features. |
Properties | |
previousIcon | {String} The default image for Previous page button. |
nextIcon | {String} The default image for Previous page button. |
Fusion. | This is a class designed to help users to create their own renderer for customize display results. |
Properties | |
oSelectionPanel | {Fusion.Widget.SelectionPanel} The parent widget that uses the renderer. |
aiCurrentIndex | {Array(int)} The index of the current position for pagination. |
iResultsPerPage | {int} The number of results per page for pagination. |
Functions | |
Fusion. | Constructor for a new Fusion.Widget.SelectionPanel.SelectionRenderer instance. |
updateSelectionObject | Helper method to update the aiCurrentIndex array for pagination. |
getNextPage | Get the next batches of features. |
getPreviousPage | Get the previous batches of features. |
getMap | Helper method to obtains the map. |
getPage | Get a batches of features in a selection. |
updateSelection | Abstract method that handle the event: Fusion.Event.MAP_SELECTION_ON. |
clearSelection | Abstract method that handle the event: Fusion.Event.MAP_SELECTION_OFF. |
Fusion. | This class provide a default behavior for the selection panel. |
Fusion. | This class provide a alternate behavior for the selection panel. |
This is a class designed to help users to create their own renderer for customize display results.
Properties | |
oSelectionPanel | {Fusion.Widget.SelectionPanel} The parent widget that uses the renderer. |
aiCurrentIndex | {Array(int)} The index of the current position for pagination. |
iResultsPerPage | {int} The number of results per page for pagination. |
Functions | |
Fusion. | Constructor for a new Fusion.Widget.SelectionPanel.SelectionRenderer instance. |
updateSelectionObject | Helper method to update the aiCurrentIndex array for pagination. |
getNextPage | Get the next batches of features. |
getPreviousPage | Get the previous batches of features. |
getMap | Helper method to obtains the map. |
getPage | Get a batches of features in a selection. |
updateSelection | Abstract method that handle the event: Fusion.Event.MAP_SELECTION_ON. |
clearSelection | Abstract method that handle the event: Fusion.Event.MAP_SELECTION_OFF. |
{Fusion.Widget.SelectionPanel} The parent widget that uses the renderer.
Constructor for a new Fusion.Widget.SelectionPanel.SelectionRenderer instance.
selectionPanel | {Fusion.Widget.SelectionPanel} The parent widget that uses the renderer. |
getNextPage: function( selectionLayer )
Get the next batches of features. Wrapper of the getPage() method. This method calcul the startIndex/endIndex of the next batch.
selectionLayer | {Fusion.SelectionObject.Layer} The layer that contains the set of features. |
{Array(Array)} An array of all features with their properties.
getPreviousPage: function( selectionLayer )
Get the previous batches of features. Wrapper of the getPage() method. This method calcul the startIndex/endIndex of the previous batch.
selectionLayer | {Fusion.SelectionObject.Layer} The layer that contains the set of features. |
{Array(Array)} An array of all features with their properties.
getPage: function( selectionLayer, startIndex, endIndex )
Get a batches of features in a selection.
selectionLayer | {Fusion.SelectionObject.Layer} The layer that contains the set of features. |
startIndex | {int} The index of the first element. |
endIndex | {int} The index of the last element. |
{Array(Array)} An array of all features with their properties.
Get the next batches of features.
getNextPage: function( selectionLayer )
Get the previous batches of features.
getPreviousPage: function( selectionLayer )
Helper method to obtains the map.
getMap: function()
Get a batches of features in a selection.
getPage: function( selectionLayer, startIndex, endIndex )
Abstract method that handle the event: Fusion.Event.MAP_SELECTION_ON.
updateSelection: function()
Abstract method that handle the event: Fusion.Event.MAP_SELECTION_OFF.
clearSelection: function()