Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad Call NameLoad attr NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Return If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad decorator_list decorator_list
N/A N/A  uiHelpers.py

    This module contains various helper classes and functions to make it easier
    to build a Pyjamas application.
 pyjamas.ui.RootPanel RootPanel pyjamas.ui.DockPanel DockPanel pyjamas.ui.HTML HTML pyjamas.ui.SimplePanel SimplePanel pyjamas.ui.VerticalPanel VerticalPanel pyjamas.ui.Widget Widget pyjamas DOM pyjamas Window __pyjamas__ wnd indent N/A N/A contents all left right top bottom hIndent vIndent N/A None None None None None None None N/A N/A  Add a wrapper around the given contents to indent it.

        The parameters are as follows:

            'contents'

                The contents to indent.  This should be a widget or a panel.

            'all'

                The indent to use for all four sides.  This is the first
                argument, allowing you to call indent(c, 20) to indent the
                contents on all sides by the same amount.

            'left'

                The left indent to use.

            'right'

                The right indent to use.

            'top'

                The top indent to use.

            'bottom'

                The bottom indent to use.

            'hIndent'

                The indent to use for the left and right sides.

            'vIndent'

                The indent to use for the top and bottom.

        The contents will be wrapped in a panel which include whitespace on
        each side of the panel as specified.

        Upon completion, we return a Panel object contained the wrapped-up
        contents.
     N/A N/A all None N/A N/A left all N/A right all N/A top all N/A bottom all N/A N/A hIndent None N/A N/A left hIndent N/A right hIndent N/A N/A vIndent None N/A N/A top vIndent N/A bottom vIndent N/A wrapper N/A DockPanel N/A N/A N/A wrapper setSpacing 0 N/A N/A N/A wrapper add contents N/A DockPanel CENTER N/A N/A left 0 N/A N/A padding N/A Whitespace width left N/A N/A N/A wrapper add padding N/A DockPanel WEST N/A N/A top 0 N/A N/A padding N/A Whitespace height top N/A N/A N/A wrapper add padding N/A DockPanel NORTH N/A N/A right 0 N/A N/A padding N/A Whitespace width right N/A N/A N/A wrapper add padding N/A DockPanel EAST N/A N/A bottom 0 N/A N/A padding N/A Whitespace height bottom N/A N/A N/A wrapper add padding N/A DockPanel SOUTH N/A wrapper N/A border N/A N/A contents N/A N/A N/A  Draw a border around the given contents.

        We return a Panel which wraps up the given contents and draws a border
        around it.
     N/A wrapper N/A VerticalPanel N/A N/A N/A wrapper add contents N/A N/A N/A wrapper setBorderWidth 1 N/A wrapper N/A colour N/A N/A contents colour N/A N/A N/A  Add colour to the given contents.

        'contents' is a widget or panel to colour, and 'colour' is the HTML
        colour code (eg, "#808080", etc) to use for the background colour.

        We returned the given contents wrapped in a Panel which has the given
        background colour attached.
     N/A wrapper N/A VerticalPanel N/A N/A N/A wrapper add contents N/A N/A N/A DOM setStyleAttribute N/A N/A wrapper getElement background-color colour N/A wrapper N/A prompt N/A N/A msg defaultReply N/A N/A N/A  Prompt the user to enter some text.

        We return the entered text, or None if the user cancelled.
     N/A N/A N/A N/A wnd prompt msg defaultReply N/A Whitespace N/A Widget N/A N/A  A custom widget which has a fixed size and no contents.

        This can be used to add arbitrary whitespace to your user interface.
     __init__ N/A N/A self width height N/A 0 0 N/A N/A  Standard initialiser.

            'width' and 'height' are the dimensions to use for this whitespace,
            in pixels.
         N/A N/A N/A Widget __init__ self N/A N/A N/A self setElement N/A N/A DOM createElement div N/A N/A N/A self setPixelSize width height N/A N/A PanelWithLabel N/A SimplePanel N/A N/A  A generic panel with a label at the top.
     __init__ N/A N/A self label contents N/A N/A N/A  Standard initialiser.

            'label' is the string to show at the top, while 'contents' is a
            panel or widget to show in the main body of the panel.
         N/A N/A N/A SimplePanel __init__ self N/A label N/A HTML N/A N/A <b> label </b> N/A vPanel N/A VerticalPanel N/A N/A N/A vPanel add N/A indent label left 5 N/A N/A N/A vPanel add N/A border N/A indent contents 10 N/A N/A N/A self add vPanel N/A N/A PanelApp N/A N/A N/A  A generic multiple-panel web application.

        This class makes it easy to handle multiple panels within a web
        application.  Panels are shown as they are required.
     onModuleLoad N/A N/A self N/A N/A N/A  Dynamically build our user interface when the web page is loaded.
         N/A N/A self _curPanelID None N/A N/A self _root N/A RootPanel N/A N/A self _panels N/A N/A self createPanels N/A N/A N/A self showPanel N/A N/A self getDefaultPanel N/A showPanel N/A N/A self panelID N/A N/A N/A  Show the panel with the given ID.
         N/A N/A panelID N/A self _curPanelID N/A N/A N/A N/A N/A self _curPanelID None N/A N/A N/A N/A N/A self _root remove N/A N/A self _panels N/A N/A self _curPanelID N/A N/A N/A N/A self _root add N/A N/A self _panels N/A panelID N/A N/A self _curPanelID panelID N/A createPanels N/A N/A self N/A N/A N/A  Create the various panels to be used by this application.

            This should be overridden by the subclass to create the various
            panels the application will use.  Upon completion, the subclass
            should return a dictionary mapping the ID to use for each panel to
            the panel to be displayed.
         N/A N/A N/A Window alert Must be overridden. N/A getDefaultPanel N/A N/A self N/A N/A N/A  Return the ID of the panel to show on system startup.
         N/A N/A N/A Window alert Must be overridden. N/A N/A CommandWrapper N/A N/A N/A  A wrapper which lets you use a method as a deferred command handler.

        The DeferredCommand module assumes that the command object it is given
        will have an execute() method.  This makes having multiple commands
        within a single class difficult; the command wrapper lets you simply
        pass an object and method name, and that method will be called when the
        deferred command is executed.
     __init__ N/A N/A self object handler N/A N/A N/A  Standard initialiser.

            'object' is the object the command will be associated with, and
            'handler' is the name of the method within that object to call to
            execute the command.
         N/A N/A self _object object N/A N/A self _handler handler N/A execute N/A N/A self N/A N/A N/A  Respond to the command being executed.

            We call object.handler().
         N/A handler N/A getattr N/A self _object N/A self _handler N/A N/A handler N/A N/A