NavigationHistoryPrevious.js

Summary
NavigationHistoryPrevious.js
Properties
title{string} This property is used for showing a tooltip over the NavigationHistoryPrevious control.
Functions
OpenLayers.Control.NavigationHistoryPrevious
onPreviousChangeCalled when the previous history stack changes.
lc:NavigationHistoryPrevious XML based config for a <Legato.Control.NavigationHistoryPrevious>.

Properties

title

{string} This property is used for showing a tooltip over the NavigationHistoryPrevious control.  Default value is “Previous”.

Functions

OpenLayers.Control.NavigationHistoryPrevious

Parameters

history{Legato.Control.NavigationHistory}
options{Object}

onPreviousChange

onPreviousChange: function(event)

Called when the previous history stack changes.

Parameters

state{Object} An object representing the state to be restored if previous is triggered again or null if no previous states remain.
length{Integer} The number of remaining previous states that can be restored.

lc:NavigationHistoryPrevious XML based config for a <Legato.Control.NavigationHistoryPrevious>.

See Also:Legato.Control - Legato.Beans.BeanFactory - <QName>

A valid config example for a NavigationHistoryPrevious would be

<lc:NavigationHistoryPrevious title="Tooltip for previous">
  <history>
    <lb:Reference target="NavigationHistory" />
  </history>
</lc:NavigationHistoryPrevious>
onPreviousChange: function(event)
Called when the previous history stack changes.
Abstract base class for all Legato control classes