Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
The ``ui.Hyperlink`` class acts as an "internal" hyperlink to a particular
state of the application.  These states are stored in the application's
history, allowing for the use of the Back and Next buttons in the browser to
move between application states.

The ``ui.Hyperlink`` class only makes sense in an application which keeps track
of state using the ``History`` module.  When the user clicks on a hyperlink,
the application changes state by calling ``History.newItem(newState)``.  The
application then uses a history listener function to respond to the change in
state in whatever way makes sense.
 pyjamas.ui.SimplePanel SimplePanel pyjamas.ui.VerticalPanel VerticalPanel pyjamas.ui.HorizontalPanel HorizontalPanel pyjamas.ui.Hyperlink Hyperlink pyjamas.ui.Label Label pyjamas History HyperlinkDemo N/A SimplePanel N/A __init__ N/A N/A self N/A N/A N/A N/A N/A SimplePanel __init__ self N/A N/A N/A History addHistoryListener self N/A vPanel N/A VerticalPanel N/A N/A self stateDisplay N/A Label N/A N/A N/A vPanel add N/A self stateDisplay N/A hPanel N/A HorizontalPanel Spacing 5 N/A N/A N/A hPanel add N/A Hyperlink State 1 False TargetHistoryToken state number 1 N/A N/A N/A hPanel add N/A Hyperlink State 2 False TargetHistoryToken state number 2 N/A N/A N/A vPanel add hPanel N/A N/A N/A self add vPanel N/A onHistoryChanged N/A N/A self state N/A N/A N/A N/A N/A N/A self stateDisplay setText state N/A N/A