Packageorg.openzet.controls
Classpublic class HistoryButton
InheritanceHistoryButton Inheritance mx.core.UIComponent

Custom component that stores TabNavigator or ViewStack's selectedIndex property to navigate through view indexes.



Public Properties
 PropertyDefined by
  target : ViewStack
Reference to a ViewStack instance.
HistoryButton
  useBackward : Boolean
Flag to specify to use backward button.
HistoryButton
  useForward : Boolean
Flag to specify to use forward button.
HistoryButton
Public Methods
 MethodDefined by
  
Constructor
HistoryButton
  
backward():void
moves backward.
HistoryButton
  
forward():void
moves forward.
HistoryButton
  
Resets all the backward history.
HistoryButton
  
Resets all the forward history.
HistoryButton
  
resetHistory():void
Resets all the history.
HistoryButton
Styles
 StyleDescriptionDefined by
  
backwardButtonStyleName
Type: String   CSS Inheritance: no
backwardButton's styleName. The default value is "backwardButtonStyle".
HistoryButton
  
forwardButtonStyleName
Type: String   CSS Inheritance: no
forwardButton's styleName. The default value is "backwardButtonStyle".
HistoryButton
Property detail
targetproperty
target:ViewStack  [read-write]

Reference to a ViewStack instance.

This property can be used as the source for data binding.

Implementation
    public function get target():ViewStack
    public function set target(value:ViewStack):void
useBackwardproperty 
useBackward:Boolean  [read-write]

Flag to specify to use backward button.

This property can be used as the source for data binding.

Implementation
    public function get useBackward():Boolean
    public function set useBackward(value:Boolean):void
useForwardproperty 
useForward:Boolean  [read-write]

Flag to specify to use forward button.

This property can be used as the source for data binding.

Implementation
    public function get useForward():Boolean
    public function set useForward(value:Boolean):void
Constructor detail
HistoryButton()constructor
public function HistoryButton()

Constructor

Method detail
backward()method
public function backward():void

moves backward.

forward()method 
public function forward():void

moves forward.

resetBackwardHistory()method 
public function resetBackwardHistory():void

Resets all the backward history.

resetForwardHistory()method 
public function resetForwardHistory():void

Resets all the forward history.

resetHistory()method 
public function resetHistory():void

Resets all the history.