Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Assign NameStore NameLoad If CompareEq NameLoad NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Num If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareGt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad BinOpAdd NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return IfExp CompareIs NameLoad NameLoad Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd Call NameLoad NameLoad NameLoad BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd Call NameLoad NameLoad NameLoad BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list
N/A muntjac.ui.alignment Alignment muntjac.ui.abstract_layout AbstractLayout muntjac.ui.layout IAlignmentHandler ISpacingHandler muntjac.terminal.gwt.client.event_id EventId muntjac.event.layout_events ILayoutClickNotifier ILayoutClickListener LayoutClickEvent AbstractOrderedLayout N/A AbstractLayout IAlignmentHandler ISpacingHandler ILayoutClickNotifier N/A N/A _CLICK_EVENT N/A EventId LAYOUT_CLICK N/A ALIGNMENT_DEFAULT N/A Alignment TOP_LEFT __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super AbstractOrderedLayout self __init__ N/A N/A self components N/A list N/A N/A self _componentToAlignment N/A dict N/A N/A self _componentToExpandRatio N/A dict N/A N/A self _spacing False N/A addComponent N/A N/A self c index N/A None N/A N/A Add a component into this container. The component is added
        to the right or under the previous component or into the indexed
        position in this container.

        @param c:
                   the component to be added.
        @param index:
                   the Index of the component position. The components
                   currently in and after the position are shifted
                   forwards.
         N/A N/A index None N/A N/A N/A N/A N/A self components append c N/A N/A N/A N/A N/A self components insert index c N/A N/A N/A N/A N/A N/A super AbstractOrderedLayout self addComponent c N/A N/A N/A self requestRepaint N/A N/A N/A ValueError N/A e N/A N/A N/A c N/A self components N/A N/A N/A N/A N/A self components remove c N/A e N/A addComponentAsFirst N/A N/A self c N/A N/A N/A Adds a component into this container. The component is
        added to the left or on top of the other components.

        @param c: the component to be added.
         N/A N/A N/A N/A self components insert 0 c N/A N/A N/A N/A N/A N/A super AbstractOrderedLayout self addComponent c N/A N/A N/A self requestRepaint N/A N/A N/A ValueError N/A e N/A N/A N/A N/A N/A self components remove c N/A e N/A removeComponent N/A N/A self c N/A N/A N/A Removes the component from this container.

        @param c: the component to be removed.
         N/A N/A c N/A self components N/A N/A N/A N/A N/A self components remove c N/A N/A c N/A self _componentToAlignment N/A N/A N/A N/A self _componentToAlignment N/A c N/A N/A c N/A self _componentToExpandRatio N/A N/A N/A N/A self _componentToExpandRatio N/A c N/A N/A N/A N/A super AbstractOrderedLayout self removeComponent c N/A N/A N/A self requestRepaint N/A getComponentIterator N/A N/A self N/A N/A N/A Gets the component container iterator for going through
        all the components in the container.

        @return: the Iterator of the components inside the container.
         N/A N/A iter N/A self components N/A getComponentCount N/A N/A self N/A N/A N/A Gets the number of contained components. Consistent with
        the iterator returned by L{getComponentIterator}.

        @return: the number of contained components
         N/A N/A len N/A self components N/A paintContent N/A N/A self target N/A N/A N/A Paints the content of this component.

        @param target:
                   the Paint Event.
        @raise PaintException:
                    if the paint operation failed.
         N/A N/A N/A N/A super AbstractOrderedLayout self paintContent target N/A N/A self _spacing N/A N/A N/A N/A target addAttribute spacing N/A self _spacing N/A c N/A self components N/A N/A N/A N/A c paint target N/A N/A N/A target addAttribute alignments N/A self _componentToAlignment N/A N/A N/A target addAttribute expandRatios N/A self _componentToExpandRatio N/A replaceComponent N/A N/A self oldComponent newComponent N/A N/A N/A oldLocation -1 N/A newLocation -1 N/A location 0 N/A component N/A self components N/A N/A N/A component oldComponent N/A N/A oldLocation location N/A N/A component newComponent N/A N/A newLocation location N/A location 1 N/A N/A oldLocation -1 N/A N/A N/A N/A self addComponent newComponent N/A N/A N/A newLocation -1 N/A N/A N/A N/A self removeComponent oldComponent N/A N/A N/A self addComponent newComponent oldLocation N/A N/A N/A oldLocation newLocation N/A N/A N/A N/A N/A self components remove oldComponent N/A N/A N/A N/A self components insert newLocation oldComponent N/A N/A N/A N/A self components remove newComponent N/A N/A newComponent N/A self _componentToAlignment N/A N/A N/A N/A self _componentToAlignment N/A newComponent N/A N/A N/A N/A self components insert oldLocation newComponent N/A N/A N/A N/A N/A self components remove newComponent N/A N/A N/A N/A self components insert oldLocation newComponent N/A N/A N/A N/A self components remove oldComponent N/A N/A oldComponent N/A self _componentToAlignment N/A N/A N/A N/A self _componentToAlignment N/A oldComponent N/A N/A N/A N/A self components insert newLocation oldComponent N/A N/A N/A self requestRepaint N/A setComponentAlignment N/A N/A self childComponent alignment verticalAlignment N/A None N/A N/A Sets the component alignment using a short hand string notation.

        @deprecated: Replaced by L{setComponentAlignment}

        @param childComponent:
                   A child component in this layout
        @param alignment:
                   A short hand notation described in L{AlignmentUtils}
         N/A N/A verticalAlignment None N/A N/A alignment N/A Alignment N/A alignment verticalAlignment N/A N/A childComponent N/A self components N/A N/A N/A N/A self _componentToAlignment N/A childComponent alignment N/A N/A N/A self requestRepaint N/A N/A ValueError Component must be added to layout before using setComponentAlignment() N/A getComponentAlignment N/A N/A self childComponent N/A N/A N/A alignment N/A N/A N/A self _componentToAlignment get childComponent N/A N/A alignment None N/A N/A N/A self ALIGNMENT_DEFAULT N/A N/A alignment N/A setSpacing N/A N/A self enabled N/A N/A N/A N/A self _spacing enabled N/A N/A N/A self requestRepaint N/A isSpacingEnabled N/A N/A self N/A N/A N/A N/A self _spacing N/A isSpacing N/A N/A self N/A N/A N/A N/A self _spacing N/A setExpandRatio N/A N/A self component ratio N/A N/A N/A This method is used to control how excess space in layout
        is distributed among components. Excess space may exist if
        layout is sized and contained non relatively sized components
        don't consume all available space.

        Example how to distribute 1:3 (33%) for component1 and
        2:3 (67%) for component2::

          layout.setExpandRatio(component1, 1)
          layout.setExpandRatio(component2, 2)

        If no ratios have been set, the excess space is distributed
        evenly among all components.

        Note, that width or height (depending on orientation) needs
        to be defined for this method to have any effect.

        @see: L{ISizeable}

        @param component:
                   the component in this layout which expand ratio
                   is to be set
        @param ratio:
         N/A N/A component N/A self components N/A N/A N/A N/A self _componentToExpandRatio N/A component ratio N/A N/A N/A self requestRepaint N/A N/A ValueError Component must be added to layout before using setExpandRatio() N/A getExpandRatio N/A N/A self component N/A N/A N/A Returns the expand ratio of given component.

        @param component:
                   which expand ratios is requested
        @return: expand ratio of given component, 0.0 by default
         N/A ratio N/A N/A N/A self _componentToExpandRatio get component N/A N/A N/A ratio None 0 N/A float ratio N/A addListener N/A N/A self listener iface N/A None N/A N/A N/A N/A isinstance listener ILayoutClickListener N/A N/A iface None N/A issubclass iface ILayoutClickListener N/A N/A N/A N/A self registerListener N/A self _CLICK_EVENT LayoutClickEvent listener N/A ILayoutClickListener clickMethod N/A N/A N/A N/A super AbstractOrderedLayout self addListener listener iface N/A addCallback N/A N/A self callback eventType N/A None args N/A N/A N/A eventType None N/A N/A eventType N/A callback _eventType N/A N/A issubclass eventType LayoutClickEvent N/A N/A N/A N/A self registerCallback LayoutClickEvent callback None args N/A N/A N/A N/A N/A super AbstractOrderedLayout self addCallback callback eventType args N/A removeListener N/A N/A self listener iface N/A None N/A N/A N/A N/A isinstance listener ILayoutClickListener N/A N/A iface None N/A issubclass iface ILayoutClickListener N/A N/A N/A N/A self withdrawListener N/A self _CLICK_EVENT LayoutClickEvent listener N/A N/A N/A N/A super AbstractOrderedLayout self removeListener listener iface N/A removeCallback N/A N/A self callback eventType N/A None N/A N/A N/A eventType None N/A N/A eventType N/A callback _eventType N/A N/A issubclass eventType LayoutClickEvent N/A N/A N/A N/A self withdrawCallback LayoutClickEvent callback N/A self _CLICK_EVENT N/A N/A N/A N/A N/A super AbstractOrderedLayout self removeCallback callback eventType N/A getComponentIndex N/A N/A self component N/A N/A N/A Returns the index of the given component.

        @param component:
                   The component to look up.
        @return: The index of the component or -1 if the component
                is not a child.
         N/A N/A N/A N/A N/A N/A self components index component N/A N/A N/A ValueError N/A N/A -1 N/A getComponent N/A N/A self index N/A N/A N/A Returns the component at the given position.

        @param index:
                   The position of the component.
        @return: The component at the given index.
        @raise IndexError:
                    If the index is out of range.
         N/A N/A N/A self components N/A index N/A N/A