
""" This code is auto-generated documentation using a modified version
    of pydoc.py:
    http://github.com/lkcl/pyjamas-desktop/tree/master/pyjamas-webkit/pydoc.py

    To view the documentation that this module shows, you can either compile 
    it to AJAX/javascript using Pyjamas (and then view it in a web browser):
        http://sf.net/projects/pyjamas
    or you can run it as a desktop application, using Pyjamas-Desktop:
        http://sf.net/projects/pyjd
"""
from pyjamas.ui import Tree, TreeItem, Composite
from pyjamas.ui import RootPanel, Label, HTML
from pyjamas.ui import DockPanel, HorizontalPanel, VerticalPanel, Grid
from pyjamas.ui import FlexTable, TabPanel, ScrollPanel
from pyjamas import DOM
from pyjamas import Window
from pyjamas.DeferredCommand import DeferredCommand


class Trees(Composite):
    def __init__(self, docs, items):
        Composite.__init__(self)

        self.docs = docs
        self.fProto = items

        self.fTree = Tree()
        
        self.fTree.addTreeListener(self)

        for i in range(len(self.fProto)):
            self.createItem(self.fProto[i])
            item = self.fProto[i].item
            self.fTree.addItem(item)
            item.setSelected(True)
            item.setState(True, True)
        
        self.setWidget(self.fTree)
        
    def onTreeItemSelected(self, item):
        self.docs.class_show(item.getText())
    
    def onTreeItemStateChanged(self, item):
        child = item.getChild(0)
        if hasattr(child, "isPendingItem"):
            item.removeItem(child)
        
            proto = item.getUserObject()
            for i in range(len(proto.children)):
                self.createItem(proto.children[i])
                childitem = proto.children[i].item
                item.addItem(childitem)
                childitem.setSelected(True)
                childitem.setState(True, True)

    def createItem(self, proto):
        proto.item = TreeItem(proto.text)
        proto.item.setUserObject(proto)
        if len(proto.children) > 0:
            proto.item.addItem(PendingItem())
            proto.item.setSelected(True)
            if proto.item.getTree():
                proto.item.setState(True, True)


class Proto:
    def __init__(self, text, children=None):
        self.children = []
        self.item = None
        self.text = text
        
        if children != None:
            self.children = children


class PendingItem(TreeItem):
    def __init__(self):
        TreeItem.__init__(self, "Please wait...")

    def isPendingItem(self):
        return True


def bigtitle(title):
    return '<big><strong>%s</strong></big>' % title

class docui:


    def modulelink(self, object):
        """Make a link for a module."""
        return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)

    def grey(self, text): return '<font color="#909090">%s</font>' % text

    def modpkglink(self, args):
        """Make a link for a module or package to display in an index."""
        name = args[0]
        path = args[1]
        ispackage = args[2]
        shadowed = args[3]

        if shadowed:
            return self.grey(name)
        if path:
            url = '%s.%s.html' % (path, name)
        else:
            url = '%s.html' % name
        if ispackage:
            text = '<strong>%s</strong>&nbsp;(package)' % name
        else:
            text = name
        return '<a href="%s">%s</a>' % (url, text)


    def multicolumn(self, items, cols=4):
        """Format a list of items into a multi-column list."""
        result = Grid()
        result.setWidth("100%")
        rows = (len(items)+cols-1)/cols
        result.resize(rows, cols)
        i = 0
        for col in range(cols):
            for row in range(rows):
                if items and i < len(items):
                    result.setHTML(row, col, items[i] + "<br />\n")
                i += 1
        return result


    def execute(self):
        self.onWindowResized(Window.getClientWidth(), Window.getClientHeight())

    def onBeforeTabSelected(self, sender, tabIndex):
        return True

    def onTabSelected(self, sender, tabIndex):
        self.execute() # do another resize just to be sure.

    def onWindowResized(self, width, height):

        pheight = height - self.class_doc.getAbsoluteTop() - 60
        self.class_doc.setSize(width, pheight)


    def onModuleLoad(self):

        Window.addWindowResizeListener(self)

        panel = DockPanel()
        RootPanel().add(panel)
        self.panel = panel

        panel.setWidth("100%")
        #panel.setHeight("100%")
        panel.setSpacing(5)

        title = HTML('<h1>ui</h1>')
        description = HTML("""""")
        #panel.add(title, DockPanel.NORTH)
        panel.add(description, DockPanel.NORTH)

        links = VerticalPanel()
        links.setSpacing(8)

        panel.add(links, DockPanel.NORTH)

        head = HTML("""
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>ui</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/lkcl/src/pyjamas-desktop/pyjamas-webkit/pyjamas/ui.py">/home/lkcl/src/pyjamas-desktop/pyjamas-webkit/pyjamas/ui.py</a></font></td></tr></table>
    """)
        panel.add(head, DockPanel.NORTH)

        docs = HTML("""<tt>This&nbsp;module&nbsp;implements&nbsp;the&nbsp;Pyjamas&nbsp;user-interface&nbsp;widget&nbsp;set&nbsp;for<br>
Pyjamas-Desktop.</tt>""")
        panel.add(docs, DockPanel.NORTH)

        tp = TabPanel()
        tp.setWidth("100%")
        self.tp = tp
        panel.add(tp, DockPanel.SOUTH)
        #panel.setCellHeight(tp, "100%")


        modules = [r'''<a href="docDOM.html">DOM</a>''',r'''<a href="docWindow.html">Window</a>''',r'''<a href="docpygwt.html">pygwt</a>''',r'''<a href="docpyjslib.html">pyjslib</a>''']
        contents = self.multicolumn(modules)
        title = bigtitle('Modules')
        contents = section(title, 'module', contents)
        tp.add(contents, 'Modules')


        classes = [
Proto('CellFormatter',
    [
    Proto('FlexCellFormatter'),
    ]
),
Proto('DockPanelTmpRow'),
Proto('Event'),
Proto('EventObject',
    [
    Proto('FormSubmitCompleteEvent'),
    Proto('FormSubmitEvent'),
    ]
),
Proto('Focus'),
Proto('FocusListener'),
Proto('HasAlignment'),
Proto('HasHorizontalAlignment'),
Proto('HasVerticalAlignment'),
Proto('KeyboardListener'),
Proto('LayoutData'),
Proto('MouseListener'),
Proto('RowFormatter'),
Proto('UIObject',
    [
    Proto('MenuItem'),
    Proto('TreeItem',
        [
        Proto('RootTreeItem'),
        ]
    ),
    Proto('Widget',
        [
        Proto('Composite',
            [
            Proto('TabBar'),
            Proto('TabPanel'),
            ]
        ),
        Proto('FileUpload'),
        Proto('FocusWidget',
            [
            Proto('ButtonBase',
                [
                Proto('Button'),
                Proto('CheckBox',
                    [
                    Proto('RadioButton'),
                    ]
                ),
                ]
            ),
            Proto('ListBox'),
            Proto('TextBoxBase',
                [
                Proto('PasswordTextBox'),
                Proto('TextArea'),
                Proto('TextBox'),
                ]
            ),
            ]
        ),
        Proto('Frame',
            [
            Proto('NamedFrame'),
            ]
        ),
        Proto('Hidden'),
        Proto('Hyperlink'),
        Proto('Image'),
        Proto('Label',
            [
            Proto('HTML'),
            ]
        ),
        Proto('MenuBar'),
        Proto('Panel',
            [
            Proto('ComplexPanel',
                [
                Proto('AbsolutePanel',
                    [
                    Proto('RootPanelCls'),
                    ]
                ),
                Proto('CellPanel',
                    [
                    Proto('DockPanel'),
                    Proto('HorizontalPanel'),
                    Proto('VerticalPanel'),
                    ]
                ),
                Proto('DeckPanel'),
                Proto('FlowPanel'),
                Proto('HTMLPanel'),
                Proto('StackPanel'),
                ]
            ),
            Proto('HTMLTable',
                [
                Proto('FlexTable'),
                Proto('Grid'),
                ]
            ),
            Proto('SimplePanel',
                [
                Proto('FocusPanel'),
                Proto('FormPanel'),
                Proto('PopupPanel',
                    [
                    Proto('DialogBox'),
                    Proto('MenuBarPopupPanel'),
                    ]
                ),
                Proto('ScrollPanel'),
                Proto('TreeContentPanel'),
                ]
            ),
            ]
        ),
        Proto('Tree'),
        ]
    ),
    ]
),
]

        class_content = {
'TextBoxBase': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TextBoxBase">class <strong>TextBoxBase</strong></a>(<a href="docui.html#FocusWidget">FocusWidget</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#TextBoxBase">TextBoxBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TextBoxBase-__init__"><strong>__init__</strong></a>(self, element)</dt></dl>

<dl><dt><a name="TextBoxBase-addChangeListener"><strong>addChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-cancelKey"><strong>cancelKey</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getCursorPos"><strong>getCursorPos</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getSelectedText"><strong>getSelectedText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getSelectionLength"><strong>getSelectionLength</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt><dd><tt>#&nbsp;BUG:&nbsp;keyboard&nbsp;&amp;&nbsp;click&nbsp;events&nbsp;already&nbsp;fired&nbsp;in&nbsp;<a href="#FocusWidget">FocusWidget</a>.onBrowserEvent</tt></dd></dl>

<dl><dt><a name="TextBoxBase-removeChangeListener"><strong>removeChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-selectAll"><strong>selectAll</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-setCursorPos"><strong>setCursorPos</strong></a>(self, pos)</dt></dl>

<dl><dt><a name="TextBoxBase-setKey"><strong>setKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextBoxBase-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="TextBoxBase-setSelectionRange"><strong>setSelectionRange</strong></a>(self, pos, length)</dt></dl>

<dl><dt><a name="TextBoxBase-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="TextBoxBase-setTextAlignment"><strong>setTextAlignment</strong></a>(self, align)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_JUSTIFY</strong> = 'justify'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="TextBoxBase-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBoxBase-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextBoxBase-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="TextBoxBase-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="TextBoxBase-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="TextBoxBase-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TextBoxBase-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#TextBoxBase-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="TextBoxBase-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#TextBoxBase-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="TextBoxBase-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="TextBoxBase-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBoxBase-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="TextBoxBase-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="TextBoxBase-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBoxBase-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TextBoxBase-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="TextBoxBase-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'RootTreeItem': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RootTreeItem">class <strong>RootTreeItem</strong></a>(<a href="docui.html#TreeItem">TreeItem</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#RootTreeItem">RootTreeItem</a></dd>
<dd><a href="docui.html#TreeItem">TreeItem</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="RootTreeItem-addItem"><strong>addItem</strong></a>(self, item)</dt></dl>

<dl><dt><a name="RootTreeItem-removeItem"><strong>removeItem</strong></a>(self, item)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#TreeItem">TreeItem</a>:<br>
<dl><dt><a name="RootTreeItem-__init__"><strong>__init__</strong></a>(self, html<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#TreeItem">TreeItem</a>(widget)</tt></dd></dl>

<dl><dt><a name="RootTreeItem-addTreeItems"><strong>addTreeItems</strong></a>(self, accum)</dt></dl>

<dl><dt><a name="RootTreeItem-clearContentPanel"><strong>clearContentPanel</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-ensureContentPanel"><strong>ensureContentPanel</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getChild"><strong>getChild</strong></a>(self, index)</dt></dl>

<dl><dt><a name="RootTreeItem-getChildCount"><strong>getChildCount</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getChildIndex"><strong>getChildIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="RootTreeItem-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getContentElem"><strong>getContentElem</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getContentHeight"><strong>getContentHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getFocusableWidget"><strong>getFocusableWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getImageElement"><strong>getImageElement</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getParentItem"><strong>getParentItem</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getState"><strong>getState</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getTree"><strong>getTree</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getTreeTop"><strong>getTreeTop</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getUserObject"><strong>getUserObject</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-imgSrc"><strong>imgSrc</strong></a>(self, img)</dt></dl>

<dl><dt><a name="RootTreeItem-isSelected"><strong>isSelected</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-remove"><strong>remove</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-removeItems"><strong>removeItems</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<dl><dt><a name="RootTreeItem-setParentItem"><strong>setParentItem</strong></a>(self, parent)</dt></dl>

<dl><dt><a name="RootTreeItem-setSelected"><strong>setSelected</strong></a>(self, selected)</dt></dl>

<dl><dt><a name="RootTreeItem-setState"><strong>setState</strong></a>(self, open, fireEvents<font color="#909090">=True</font>)</dt></dl>

<dl><dt><a name="RootTreeItem-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="RootTreeItem-setTree"><strong>setTree</strong></a>(self, tree)</dt></dl>

<dl><dt><a name="RootTreeItem-setUserObject"><strong>setUserObject</strong></a>(self, userObj)</dt></dl>

<dl><dt><a name="RootTreeItem-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="RootTreeItem-updateState"><strong>updateState</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-updateStateRecursive"><strong>updateStateRecursive</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="RootTreeItem-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="RootTreeItem-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="RootTreeItem-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="RootTreeItem-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="RootTreeItem-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="RootTreeItem-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="RootTreeItem-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="RootTreeItem-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'CheckBox': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CheckBox">class <strong>CheckBox</strong></a>(<a href="docui.html#ButtonBase">ButtonBase</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#CheckBox">CheckBox</a>&nbsp;is&nbsp;an&nbsp;input&nbsp;widget&nbsp;which&nbsp;can&nbsp;be&nbsp;checked&nbsp;or&nbsp;unchecked<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#CheckBox">CheckBox</a></dd>
<dd><a href="docui.html#ButtonBase">ButtonBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="CheckBox-__init__"><strong>__init__</strong></a>(self, label<font color="#909090">=None</font>, asHTML<font color="#909090">=False</font>)</dt><dd><tt>Create&nbsp;a&nbsp;new&nbsp;checkbox&nbsp;widget.<br>
&nbsp;<br>
@param&nbsp;label:&nbsp;Text&nbsp;content&nbsp;to&nbsp;be&nbsp;associated&nbsp;with&nbsp;the&nbsp;checkbox<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(e.g.&nbsp;the&nbsp;checkbox&nbsp;label);&nbsp;see&nbsp;<a href="#CheckBox-setHTML">setHTML</a>()&nbsp;and&nbsp;<a href="#CheckBox-setText">setText</a>()<br>
@param&nbsp;asHTML:&nbsp;the&nbsp;label&nbsp;is&nbsp;<a href="#HTML">HTML</a>&nbsp;rather&nbsp;than&nbsp;plain&nbsp;text</tt></dd></dl>

<dl><dt><a name="CheckBox-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getUniqueID"><strong>getUniqueID</strong></a>(self)</dt><dd><tt>#&nbsp;emulate&nbsp;static</tt></dd></dl>

<dl><dt><a name="CheckBox-initElement"><strong>initElement</strong></a>(self, element)</dt></dl>

<dl><dt><a name="CheckBox-isChecked"><strong>isChecked</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-setChecked"><strong>setChecked</strong></a>(self, checked)</dt></dl>

<dl><dt><a name="CheckBox-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="CheckBox-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="CheckBox-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<dl><dt><a name="CheckBox-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="CheckBox-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="CheckBox-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="CheckBox-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="CheckBox-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="CheckBox-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="CheckBox-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CheckBox-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="CheckBox-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="CheckBox-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="CheckBox-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="CheckBox-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#CheckBox-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="CheckBox-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CheckBox-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="CheckBox-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#CheckBox-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="CheckBox-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CheckBox-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="CheckBox-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="CheckBox-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="CheckBox-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="CheckBox-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="CheckBox-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CheckBox-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="CheckBox-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CheckBox-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="CheckBox-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="CheckBox-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="CheckBox-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CheckBox-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="CheckBox-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="CheckBox-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'NamedFrame': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="NamedFrame">class <strong>NamedFrame</strong></a>(<a href="docui.html#Frame">Frame</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;<a href="#Frame">Frame</a>&nbsp;that&nbsp;has&nbsp;a&nbsp;'name'&nbsp;associated&nbsp;with&nbsp;it.<br>
This&nbsp;allows&nbsp;the&nbsp;frame&nbsp;to&nbsp;be&nbsp;the&nbsp;target&nbsp;of&nbsp;a&nbsp;<a href="#FormPanel">FormPanel</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#NamedFrame">NamedFrame</a></dd>
<dd><a href="docui.html#Frame">Frame</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NamedFrame-__init__"><strong>__init__</strong></a>(self, name)</dt></dl>

<dl><dt><a name="NamedFrame-getName"><strong>getName</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Frame">Frame</a>:<br>
<dl><dt><a name="NamedFrame-getUrl"><strong>getUrl</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-setUrl"><strong>setUrl</strong></a>(self, url)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="NamedFrame-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="NamedFrame-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="NamedFrame-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="NamedFrame-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="NamedFrame-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="NamedFrame-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="NamedFrame-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="NamedFrame-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#NamedFrame-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="NamedFrame-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="NamedFrame-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#NamedFrame-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="NamedFrame-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="NamedFrame-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="NamedFrame-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="NamedFrame-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="NamedFrame-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="NamedFrame-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="NamedFrame-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="NamedFrame-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="NamedFrame-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="NamedFrame-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="NamedFrame-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="NamedFrame-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Label': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Label">class <strong>Label</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;contains&nbsp;arbitrary&nbsp;text,&nbsp;*not*&nbsp;interpreted&nbsp;as&nbsp;<a href="#HTML">HTML</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Label">Label</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Label-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, wordWrap<font color="#909090">=True</font>)</dt></dl>

<dl><dt><a name="Label-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Label-addMouseListener"><strong>addMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Label-getHorizontalAlignment"><strong>getHorizontalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getWordWrap"><strong>getWordWrap</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Label-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Label-removeMouseListener"><strong>removeMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Label-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="Label-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="Label-setWordWrap"><strong>setWordWrap</strong></a>(self, wrap)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Label-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Label-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Label-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Label-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Label-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Label-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Label-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Label-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Label-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Label-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Label-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Label-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Label-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Label-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Label-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Label-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Label-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Label-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Label-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Label-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Label-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Label-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Label-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Label-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Label-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Label-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Label-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Label-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'DockPanelTmpRow': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DockPanelTmpRow">class <strong>DockPanelTmpRow</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>center</strong> = 0</dl>

<dl><dt><strong>tr</strong> = None</dl>

</td></tr></table>''',
'RowFormatter': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RowFormatter">class <strong>RowFormatter</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#RowFormatter">RowFormatter</a>&nbsp;is&nbsp;a&nbsp;class&nbsp;for&nbsp;managing&nbsp;formatting&nbsp;of&nbsp;rows&nbsp;in<br>
various&nbsp;types&nbsp;of&nbsp;<a href="#Panel">Panel</a>&nbsp;classes,&nbsp;such&nbsp;as&nbsp;<a href="#HTMLTable">HTMLTable</a>&nbsp;and&nbsp;<a href="#Grid">Grid</a>.<br>
These&nbsp;<a href="#Panel">Panel</a>&nbsp;classes&nbsp;typically&nbsp;use&nbsp;<a href="#RowFormatter">RowFormatter</a>&nbsp;automatically<br>
on&nbsp;your&nbsp;behalf,&nbsp;although&nbsp;you&nbsp;can&nbsp;over-ride&nbsp;that&nbsp;to&nbsp;use&nbsp;your<br>
own&nbsp;<a href="#RowFormatter">RowFormatter</a>&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="RowFormatter-__init__"><strong>__init__</strong></a>(self, outer)</dt></dl>

<dl><dt><a name="RowFormatter-addStyleName"><strong>addStyleName</strong></a>(self, row, styleName)</dt></dl>

<dl><dt><a name="RowFormatter-ensureElement"><strong>ensureElement</strong></a>(self, row)</dt></dl>

<dl><dt><a name="RowFormatter-getElement"><strong>getElement</strong></a>(self, row)</dt></dl>

<dl><dt><a name="RowFormatter-getRow"><strong>getRow</strong></a>(self, element, row)</dt></dl>

<dl><dt><a name="RowFormatter-getStyleName"><strong>getStyleName</strong></a>(self, row)</dt></dl>

<dl><dt><a name="RowFormatter-isVisible"><strong>isVisible</strong></a>(self, row)</dt></dl>

<dl><dt><a name="RowFormatter-removeStyleName"><strong>removeStyleName</strong></a>(self, row, styleName)</dt></dl>

<dl><dt><a name="RowFormatter-setAttr"><strong>setAttr</strong></a>(self, row, attrName, value)</dt></dl>

<dl><dt><a name="RowFormatter-setStyleName"><strong>setStyleName</strong></a>(self, row, styleName)</dt></dl>

<dl><dt><a name="RowFormatter-setVerticalAlign"><strong>setVerticalAlign</strong></a>(self, row, align)</dt></dl>

<dl><dt><a name="RowFormatter-setVisible"><strong>setVisible</strong></a>(self, row, visible)</dt></dl>

</td></tr></table>''',
'HasAlignment': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HasAlignment">class <strong>HasAlignment</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>ALIGN_BOTTOM</strong> = 'bottom'</dl>

<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_MIDDLE</strong> = 'middle'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

<dl><dt><strong>ALIGN_TOP</strong> = 'top'</dl>

</td></tr></table>''',
'DockPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DockPanel">class <strong>DockPanel</strong></a>(<a href="docui.html#CellPanel">CellPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;lays&nbsp;its&nbsp;child&nbsp;widgets&nbsp;out&nbsp;"docked"&nbsp;at&nbsp;its&nbsp;outer&nbsp;edges,<br>
and&nbsp;allows&nbsp;its&nbsp;last&nbsp;widget&nbsp;to&nbsp;take&nbsp;up&nbsp;the&nbsp;remaining&nbsp;space&nbsp;in&nbsp;its&nbsp;center.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#DockPanel">DockPanel</a></dd>
<dd><a href="docui.html#CellPanel">CellPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="DockPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-add"><strong>add</strong></a>(self, widget, direction)</dt></dl>

<dl><dt><a name="DockPanel-appendAndMaybeAdopt"><strong>appendAndMaybeAdopt</strong></a>(self, parent, child, beingAdded)</dt></dl>

<dl><dt><a name="DockPanel-getHorizontalAlignment"><strong>getHorizontalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getVerticalAlignment"><strong>getVerticalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getWidgetDirection"><strong>getWidgetDirection</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DockPanel-realizeTable"><strong>realizeTable</strong></a>(self, beingAdded)</dt></dl>

<dl><dt><a name="DockPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DockPanel-setCellHeight"><strong>setCellHeight</strong></a>(self, widget, height)</dt></dl>

<dl><dt><a name="DockPanel-setCellHorizontalAlignment"><strong>setCellHorizontalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="DockPanel-setCellVerticalAlignment"><strong>setCellVerticalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="DockPanel-setCellWidth"><strong>setCellWidth</strong></a>(self, widget, width)</dt></dl>

<dl><dt><a name="DockPanel-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="DockPanel-setVerticalAlignment"><strong>setVerticalAlignment</strong></a>(self, align)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>CENTER</strong> = 'center'</dl>

<dl><dt><strong>EAST</strong> = 'east'</dl>

<dl><dt><strong>NORTH</strong> = 'north'</dl>

<dl><dt><strong>SOUTH</strong> = 'south'</dl>

<dl><dt><strong>WEST</strong> = 'west'</dl>

<hr>
Methods inherited from <a href="docui.html#CellPanel">CellPanel</a>:<br>
<dl><dt><a name="DockPanel-getBody"><strong>getBody</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getSpacing"><strong>getSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getTable"><strong>getTable</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getWidgetTd"><strong>getWidgetTd</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DockPanel-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="DockPanel-setSpacing"><strong>setSpacing</strong></a>(self, spacing)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="DockPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="DockPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="DockPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#DockPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="DockPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DockPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="DockPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DockPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="DockPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="DockPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="DockPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="DockPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#DockPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="DockPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DockPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="DockPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#DockPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="DockPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DockPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="DockPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="DockPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="DockPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="DockPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="DockPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DockPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="DockPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DockPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="DockPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="DockPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="DockPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DockPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="DockPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="DockPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'HTMLPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HTMLPanel">class <strong>HTMLPanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;contains&nbsp;<a href="#HTML">HTML</a>,&nbsp;and&nbsp;which&nbsp;can&nbsp;attach&nbsp;child&nbsp;widgets<br>
to&nbsp;identified&nbsp;elements&nbsp;within&nbsp;that&nbsp;<a href="#HTML">HTML</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#HTMLPanel">HTMLPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="HTMLPanel-__init__"><strong>__init__</strong></a>(self, html)</dt></dl>

<dl><dt><a name="HTMLPanel-add"><strong>add</strong></a>(self, widget, id)</dt></dl>

<dl><dt><a name="HTMLPanel-createUniqueId"><strong>createUniqueId</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getElementById"><strong>getElementById</strong></a>(self, element, id)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="HTMLPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<dl><dt><a name="HTMLPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="HTMLPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="HTMLPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#HTMLPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="HTMLPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="HTMLPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="HTMLPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="HTMLPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="HTMLPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#HTMLPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="HTMLPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#HTMLPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="HTMLPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="HTMLPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="HTMLPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="HTMLPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="HTMLPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTMLPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="HTMLPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="HTMLPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FormSubmitEvent': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FormSubmitEvent">class <strong>FormSubmitEvent</strong></a>(<a href="docui.html#EventObject">EventObject</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FormSubmitEvent-__init__"><strong>__init__</strong></a>(self, source)</dt></dl>

<dl><dt><a name="FormSubmitEvent-isCancelled"><strong>isCancelled</strong></a>(self)</dt></dl>

<dl><dt><a name="FormSubmitEvent-setCancelled"><strong>setCancelled</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#EventObject">EventObject</a>:<br>
<dl><dt><a name="FormSubmitEvent-getSource"><strong>getSource</strong></a>(self)</dt></dl>

</td></tr></table>''',
'Hidden': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Hidden">class <strong>Hidden</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Represents&nbsp;a&nbsp;hidden&nbsp;field&nbsp;in&nbsp;a&nbsp;form.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Hidden">Hidden</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Hidden-__init__"><strong>__init__</strong></a>(self, name<font color="#909090">=None</font>, value<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="Hidden-getDefaultValue"><strong>getDefaultValue</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getValue"><strong>getValue</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-setDefaultValue"><strong>setDefaultValue</strong></a>(self, defaultValue)</dt></dl>

<dl><dt><a name="Hidden-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="Hidden-setValue"><strong>setValue</strong></a>(self, value)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Hidden-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hidden-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Hidden-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Hidden-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Hidden-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Hidden-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Hidden-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Hidden-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Hidden-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Hidden-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hidden-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Hidden-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Hidden-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Hidden-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hidden-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Hidden-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Hidden-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Hidden-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Hidden-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Hidden-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hidden-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Hidden-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hidden-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Hidden-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Hidden-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Hidden-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hidden-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Hidden-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Hidden-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'PopupPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PopupPanel">class <strong>PopupPanel</strong></a>(<a href="docui.html#SimplePanel">SimplePanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;can&nbsp;"pop&nbsp;up"&nbsp;over&nbsp;other&nbsp;widgets.&nbsp;<br>
&nbsp;<br>
The&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;<a href="#PopupPanel">PopupPanel</a>&nbsp;cannot&nbsp;be&nbsp;explicitly&nbsp;set;<br>
they&nbsp;are&nbsp;determined&nbsp;by&nbsp;the&nbsp;<a href="#PopupPanel">PopupPanel</a>'s&nbsp;widget.<br>
Calls&nbsp;to&nbsp;<a href="#PopupPanel-setWidth">setWidth</a>(String)&nbsp;and&nbsp;<a href="#PopupPanel-setHeight">setHeight</a>(String)&nbsp;will&nbsp;call&nbsp;these<br>
methods&nbsp;on&nbsp;the&nbsp;<a href="#PopupPanel">PopupPanel</a>'s&nbsp;child&nbsp;widget.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#PopupPanel">PopupPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="PopupPanel-__init__"><strong>__init__</strong></a>(self, autoHide<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="PopupPanel-addPopupListener"><strong>addPopupListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PopupPanel-createElement"><strong>createElement</strong></a>(self)</dt><dd><tt>#&nbsp;PopupImpl.createElement</tt></dd></dl>

<dl><dt><a name="PopupPanel-getPopupLeft"><strong>getPopupLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getPopupTop"><strong>getPopupTop</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-hide"><strong>hide</strong></a>(self, autoClosed<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="PopupPanel-onEventPreview"><strong>onEventPreview</strong></a>(self, event)</dt></dl>

<dl><dt><a name="PopupPanel-onHideImpl"><strong>onHideImpl</strong></a>(self, popup)</dt><dd><tt>#&nbsp;PopupImpl.onHide</tt></dd></dl>

<dl><dt><a name="PopupPanel-onKeyDownPreview"><strong>onKeyDownPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="PopupPanel-onKeyPressPreview"><strong>onKeyPressPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="PopupPanel-onKeyUpPreview"><strong>onKeyUpPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="PopupPanel-onShowImpl"><strong>onShowImpl</strong></a>(self, popup)</dt><dd><tt>#&nbsp;PopupImpl.onShow</tt></dd></dl>

<dl><dt><a name="PopupPanel-removePopupListener"><strong>removePopupListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PopupPanel-setPopupPosition"><strong>setPopupPosition</strong></a>(self, left, top)</dt></dl>

<dl><dt><a name="PopupPanel-show"><strong>show</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="PopupPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="PopupPanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="PopupPanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="PopupPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="PopupPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#PopupPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="PopupPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="PopupPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="PopupPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PopupPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="PopupPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="PopupPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="PopupPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="PopupPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#PopupPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="PopupPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="PopupPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#PopupPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="PopupPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PopupPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="PopupPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="PopupPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="PopupPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PopupPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PopupPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="PopupPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="PopupPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PopupPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="PopupPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="PopupPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'MenuBar': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MenuBar">class <strong>MenuBar</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;standard&nbsp;menu&nbsp;bar&nbsp;widget.&nbsp;A&nbsp;menu&nbsp;bar&nbsp;can&nbsp;contain&nbsp;any&nbsp;number&nbsp;of<br>
menu&nbsp;items,&nbsp;each&nbsp;of&nbsp;which&nbsp;can&nbsp;either&nbsp;fire&nbsp;a&nbsp;Command&nbsp;or&nbsp;open&nbsp;a<br>
cascaded&nbsp;menu&nbsp;bar.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#MenuBar">MenuBar</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MenuBar-__init__"><strong>__init__</strong></a>(self, vertical<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="MenuBar-addItem"><strong>addItem</strong></a>(self, item, asHTML<font color="#909090">=None</font>, popup<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as:<br>
#&nbsp;&nbsp;&nbsp;<a href="#MenuBar-addItem">addItem</a>(item)<br>
#&nbsp;&nbsp;&nbsp;<a href="#MenuBar-addItem">addItem</a>(text,&nbsp;cmd)<br>
#&nbsp;&nbsp;&nbsp;<a href="#MenuBar-addItem">addItem</a>(text,&nbsp;popup)<br>
#&nbsp;&nbsp;&nbsp;<a href="#MenuBar-addItem">addItem</a>(text,&nbsp;asHTML,&nbsp;cmd)</tt></dd></dl>

<dl><dt><a name="MenuBar-clearItems"><strong>clearItems</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-close"><strong>close</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-closeAllParents"><strong>closeAllParents</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-doItemAction"><strong>doItemAction</strong></a>(self, item, fireCommand)</dt></dl>

<dl><dt><a name="MenuBar-findItem"><strong>findItem</strong></a>(self, hItem)</dt></dl>

<dl><dt><a name="MenuBar-getAutoOpen"><strong>getAutoOpen</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getItemContainerElement"><strong>getItemContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-itemOver"><strong>itemOver</strong></a>(self, item)</dt></dl>

<dl><dt><a name="MenuBar-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="MenuBar-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-onHide"><strong>onHide</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-onPopupClosed"><strong>onPopupClosed</strong></a>(self, sender, autoClosed)</dt></dl>

<dl><dt><a name="MenuBar-onShow"><strong>onShow</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-removeItem"><strong>removeItem</strong></a>(self, item)</dt></dl>

<dl><dt><a name="MenuBar-selectItem"><strong>selectItem</strong></a>(self, item)</dt></dl>

<dl><dt><a name="MenuBar-setAutoOpen"><strong>setAutoOpen</strong></a>(self, autoOpen)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="MenuBar-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="MenuBar-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="MenuBar-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="MenuBar-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="MenuBar-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="MenuBar-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#MenuBar-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="MenuBar-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="MenuBar-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="MenuBar-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#MenuBar-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="MenuBar-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="MenuBar-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="MenuBar-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="MenuBar-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="MenuBar-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="MenuBar-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="MenuBar-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="MenuBar-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="MenuBar-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="MenuBar-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="MenuBar-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="MenuBar-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="MenuBar-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="MenuBar-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="MenuBar-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="MenuBar-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Widget': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Widget">class <strong>Widget</strong></a>(<a href="docui.html#UIObject">UIObject</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Base&nbsp;class&nbsp;for&nbsp;most&nbsp;of&nbsp;the&nbsp;UI&nbsp;classes.&nbsp;&nbsp;This&nbsp;class&nbsp;provides&nbsp;basic&nbsp;services<br>
used&nbsp;by&nbsp;any&nbsp;<a href="#Widget">Widget</a>,&nbsp;including&nbsp;management&nbsp;of&nbsp;parents&nbsp;and&nbsp;adding/removing&nbsp;the<br>
event&nbsp;handler&nbsp;association&nbsp;with&nbsp;the&nbsp;DOM.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Widget-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Widget-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Widget-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Widget-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Widget-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Widget-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Widget-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Widget-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Widget-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Widget-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Widget-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Widget-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Widget-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Widget-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Widget-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Widget-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Widget-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Widget-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Widget-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Widget-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Widget-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Widget-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Widget-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Widget-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Widget-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Widget-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Widget-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Widget-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Widget-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FlexCellFormatter': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FlexCellFormatter">class <strong>FlexCellFormatter</strong></a>(<a href="docui.html#CellFormatter">CellFormatter</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FlexCellFormatter-__init__"><strong>__init__</strong></a>(self, outer)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getColSpan"><strong>getColSpan</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getRowSpan"><strong>getRowSpan</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setColSpan"><strong>setColSpan</strong></a>(self, row, column, colSpan)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setRowSpan"><strong>setRowSpan</strong></a>(self, row, column, rowSpan)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#CellFormatter">CellFormatter</a>:<br>
<dl><dt><a name="FlexCellFormatter-addStyleName"><strong>addStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="FlexCellFormatter-ensureElement"><strong>ensureElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getAttr"><strong>getAttr</strong></a>(self, row, column, attr)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getCellElement"><strong>getCellElement</strong></a>(self, table, row, col)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getElement"><strong>getElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getRawElement"><strong>getRawElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-getStyleName"><strong>getStyleName</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-isVisible"><strong>isVisible</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexCellFormatter-removeStyleName"><strong>removeStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setAlignment"><strong>setAlignment</strong></a>(self, row, column, hAlign, vAlign)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setAttr"><strong>setAttr</strong></a>(self, row, column, attrName, value)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setHeight"><strong>setHeight</strong></a>(self, row, column, height)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, row, column, align)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setStyleName"><strong>setStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setVerticalAlignment"><strong>setVerticalAlignment</strong></a>(self, row, column, align)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setVisible"><strong>setVisible</strong></a>(self, row, column, visible)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setWidth"><strong>setWidth</strong></a>(self, row, column, width)</dt></dl>

<dl><dt><a name="FlexCellFormatter-setWordWrap"><strong>setWordWrap</strong></a>(self, row, column, wrap)</dt></dl>

</td></tr></table>''',
'HorizontalPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HorizontalPanel">class <strong>HorizontalPanel</strong></a>(<a href="docui.html#CellPanel">CellPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;lays&nbsp;all&nbsp;of&nbsp;its&nbsp;widgets&nbsp;out&nbsp;in&nbsp;a&nbsp;single&nbsp;horizontal&nbsp;column.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#HorizontalPanel">HorizontalPanel</a></dd>
<dd><a href="docui.html#CellPanel">CellPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="HorizontalPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="HorizontalPanel-getHorizontalAlignment"><strong>getHorizontalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getVerticalAlignment"><strong>getVerticalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getWidget"><strong>getWidget</strong></a>(self, index)</dt></dl>

<dl><dt><a name="HorizontalPanel-getWidgetCount"><strong>getWidgetCount</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getWidgetIndex"><strong>getWidgetIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="HorizontalPanel-insert"><strong>insert</strong></a>(self, widget, beforeIndex)</dt></dl>

<dl><dt><a name="HorizontalPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="HorizontalPanel-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="HorizontalPanel-setVerticalAlignment"><strong>setVerticalAlignment</strong></a>(self, align)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#CellPanel">CellPanel</a>:<br>
<dl><dt><a name="HorizontalPanel-getBody"><strong>getBody</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getSpacing"><strong>getSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getTable"><strong>getTable</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getWidgetTd"><strong>getWidgetTd</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="HorizontalPanel-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="HorizontalPanel-setCellHeight"><strong>setCellHeight</strong></a>(self, widget, height)</dt></dl>

<dl><dt><a name="HorizontalPanel-setCellHorizontalAlignment"><strong>setCellHorizontalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="HorizontalPanel-setCellVerticalAlignment"><strong>setCellVerticalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="HorizontalPanel-setCellWidth"><strong>setCellWidth</strong></a>(self, widget, width)</dt></dl>

<dl><dt><a name="HorizontalPanel-setSpacing"><strong>setSpacing</strong></a>(self, spacing)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="HorizontalPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="HorizontalPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="HorizontalPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#HorizontalPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="HorizontalPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="HorizontalPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="HorizontalPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="HorizontalPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#HorizontalPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="HorizontalPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#HorizontalPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="HorizontalPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="HorizontalPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="HorizontalPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="HorizontalPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="HorizontalPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'TextArea': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TextArea">class <strong>TextArea</strong></a>(<a href="docui.html#TextBoxBase">TextBoxBase</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#HTML">HTML</a>&nbsp;textarea&nbsp;widget,&nbsp;allowing&nbsp;multi-line&nbsp;text&nbsp;entry.<br>
Use&nbsp;setText/getText&nbsp;to&nbsp;get&nbsp;and&nbsp;access&nbsp;the&nbsp;current&nbsp;text.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#TextArea">TextArea</a></dd>
<dd><a href="docui.html#TextBoxBase">TextBoxBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TextArea-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getCharacterWidth"><strong>getCharacterWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getCursorPos"><strong>getCursorPos</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getVisibleLines"><strong>getVisibleLines</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-setCharacterWidth"><strong>setCharacterWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="TextArea-setVisibleLines"><strong>setVisibleLines</strong></a>(self, lines)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><a name="TextArea-addChangeListener"><strong>addChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-cancelKey"><strong>cancelKey</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getSelectedText"><strong>getSelectedText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getSelectionLength"><strong>getSelectionLength</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt><dd><tt>#&nbsp;BUG:&nbsp;keyboard&nbsp;&amp;&nbsp;click&nbsp;events&nbsp;already&nbsp;fired&nbsp;in&nbsp;<a href="#FocusWidget">FocusWidget</a>.onBrowserEvent</tt></dd></dl>

<dl><dt><a name="TextArea-removeChangeListener"><strong>removeChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-selectAll"><strong>selectAll</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-setCursorPos"><strong>setCursorPos</strong></a>(self, pos)</dt></dl>

<dl><dt><a name="TextArea-setKey"><strong>setKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextArea-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="TextArea-setSelectionRange"><strong>setSelectionRange</strong></a>(self, pos, length)</dt></dl>

<dl><dt><a name="TextArea-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="TextArea-setTextAlignment"><strong>setTextAlignment</strong></a>(self, align)</dt></dl>

<hr>
Data and other attributes inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_JUSTIFY</strong> = 'justify'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="TextArea-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextArea-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextArea-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="TextArea-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="TextArea-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="TextArea-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextArea-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextArea-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextArea-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextArea-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextArea-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TextArea-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#TextArea-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="TextArea-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextArea-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="TextArea-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#TextArea-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="TextArea-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextArea-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="TextArea-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="TextArea-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="TextArea-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="TextArea-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="TextArea-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextArea-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="TextArea-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextArea-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="TextArea-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="TextArea-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="TextArea-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextArea-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TextArea-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="TextArea-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Composite': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Composite">class <strong>Composite</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Composite">Composite</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Composite-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-initWidget"><strong>initWidget</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Composite-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Composite-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Composite-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Composite-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Composite-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Composite-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Composite-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Composite-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Composite-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Composite-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Composite-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Composite-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Composite-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Composite-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Composite-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Composite-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Composite-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Composite-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Composite-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Composite-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Composite-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Composite-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Composite-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Composite-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Composite-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Composite-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Composite-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Composite-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Image': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Image">class <strong>Image</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;displays&nbsp;the&nbsp;image&nbsp;at&nbsp;a&nbsp;given&nbsp;URL.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Image">Image</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Image-__init__"><strong>__init__</strong></a>(self, url<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="Image-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Image-addLoadListener"><strong>addLoadListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Image-addMouseListener"><strong>addMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Image-getUrl"><strong>getUrl</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Image-prefetch"><strong>prefetch</strong></a>(self, url)</dt></dl>

<dl><dt><a name="Image-setUrl"><strong>setUrl</strong></a>(self, url)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Image-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Image-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Image-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Image-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Image-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Image-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Image-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Image-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Image-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Image-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Image-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Image-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Image-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Image-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Image-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Image-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Image-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Image-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Image-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Image-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Image-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Image-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Image-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Image-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Image-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Image-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Image-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Image-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'AbsolutePanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AbsolutePanel">class <strong>AbsolutePanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;absolute&nbsp;panel&nbsp;positions&nbsp;all&nbsp;of&nbsp;its&nbsp;children&nbsp;absolutely,<br>
allowing&nbsp;them&nbsp;to&nbsp;overlap.<br>
&nbsp;<br>
Note&nbsp;that&nbsp;this&nbsp;panel&nbsp;will&nbsp;not&nbsp;automatically&nbsp;resize&nbsp;itself&nbsp;to<br>
allow&nbsp;enough&nbsp;room&nbsp;for&nbsp;its&nbsp;absolutely-positioned&nbsp;children.<br>
It&nbsp;must&nbsp;be&nbsp;explicitly&nbsp;sized&nbsp;in&nbsp;order&nbsp;to&nbsp;make&nbsp;room&nbsp;for&nbsp;them.<br>
&nbsp;<br>
Once&nbsp;a&nbsp;widget&nbsp;has&nbsp;been&nbsp;added&nbsp;to&nbsp;an&nbsp;absolute&nbsp;panel,&nbsp;the&nbsp;panel<br>
effectively&nbsp;"owns"&nbsp;the&nbsp;positioning&nbsp;of&nbsp;the&nbsp;widget.&nbsp;Any&nbsp;existing<br>
positioning&nbsp;attributes&nbsp;on&nbsp;the&nbsp;widget&nbsp;may&nbsp;be&nbsp;modified&nbsp;by&nbsp;the&nbsp;panel.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#AbsolutePanel">AbsolutePanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="AbsolutePanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-add"><strong>add</strong></a>(self, widget, left<font color="#909090">=None</font>, top<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="AbsolutePanel-checkWidgetParent"><strong>checkWidgetParent</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="AbsolutePanel-getWidgetLeft"><strong>getWidgetLeft</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="AbsolutePanel-getWidgetTop"><strong>getWidgetTop</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="AbsolutePanel-setWidgetPosition"><strong>setWidgetPosition</strong></a>(self, widget, left, top)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="AbsolutePanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<dl><dt><a name="AbsolutePanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="AbsolutePanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="AbsolutePanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#AbsolutePanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="AbsolutePanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="AbsolutePanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="AbsolutePanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="AbsolutePanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#AbsolutePanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="AbsolutePanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#AbsolutePanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="AbsolutePanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="AbsolutePanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="AbsolutePanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="AbsolutePanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="AbsolutePanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'UIObject': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="UIObject">class <strong>UIObject</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#UIObject">UIObject</a>&nbsp;is&nbsp;the&nbsp;base&nbsp;class&nbsp;for&nbsp;user&nbsp;interface&nbsp;objects.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="UIObject-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="UIObject-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="UIObject-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="UIObject-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="UIObject-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="UIObject-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="UIObject-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="UIObject-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="UIObject-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="UIObject-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="UIObject-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="UIObject-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="UIObject-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="UIObject-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="UIObject-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="UIObject-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'PasswordTextBox': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PasswordTextBox">class <strong>PasswordTextBox</strong></a>(<a href="docui.html#TextBoxBase">TextBoxBase</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#PasswordTextBox">PasswordTextBox</a>&nbsp;is&nbsp;a&nbsp;text&nbsp;box&nbsp;that&nbsp;visually&nbsp;masks&nbsp;its&nbsp;input&nbsp;to<br>
prevent&nbsp;eavesdropping.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#PasswordTextBox">PasswordTextBox</a></dd>
<dd><a href="docui.html#TextBoxBase">TextBoxBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="PasswordTextBox-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><a name="PasswordTextBox-addChangeListener"><strong>addChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-cancelKey"><strong>cancelKey</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getCursorPos"><strong>getCursorPos</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getSelectedText"><strong>getSelectedText</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getSelectionLength"><strong>getSelectionLength</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt><dd><tt>#&nbsp;BUG:&nbsp;keyboard&nbsp;&amp;&nbsp;click&nbsp;events&nbsp;already&nbsp;fired&nbsp;in&nbsp;<a href="#FocusWidget">FocusWidget</a>.onBrowserEvent</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-removeChangeListener"><strong>removeChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-selectAll"><strong>selectAll</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-setCursorPos"><strong>setCursorPos</strong></a>(self, pos)</dt></dl>

<dl><dt><a name="PasswordTextBox-setKey"><strong>setKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="PasswordTextBox-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="PasswordTextBox-setSelectionRange"><strong>setSelectionRange</strong></a>(self, pos, length)</dt></dl>

<dl><dt><a name="PasswordTextBox-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="PasswordTextBox-setTextAlignment"><strong>setTextAlignment</strong></a>(self, align)</dt></dl>

<hr>
Data and other attributes inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_JUSTIFY</strong> = 'justify'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="PasswordTextBox-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="PasswordTextBox-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="PasswordTextBox-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="PasswordTextBox-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="PasswordTextBox-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="PasswordTextBox-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="PasswordTextBox-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#PasswordTextBox-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="PasswordTextBox-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#PasswordTextBox-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="PasswordTextBox-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="PasswordTextBox-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="PasswordTextBox-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="PasswordTextBox-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="PasswordTextBox-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'HTML': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HTML">class <strong>HTML</strong></a>(<a href="docui.html#Label">Label</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;can&nbsp;contain&nbsp;arbitrary&nbsp;<a href="#HTML">HTML</a>.<br>
&nbsp;<br>
If&nbsp;you&nbsp;only&nbsp;need&nbsp;a&nbsp;simple&nbsp;label&nbsp;(text,&nbsp;but&nbsp;not&nbsp;<a href="#HTML">HTML</a>),&nbsp;then&nbsp;the<br>
<a href="#Label">Label</a>&nbsp;widget&nbsp;is&nbsp;more&nbsp;appropriate,&nbsp;as&nbsp;it&nbsp;disallows&nbsp;the&nbsp;use&nbsp;of&nbsp;<a href="#HTML">HTML</a>,<br>
which&nbsp;can&nbsp;lead&nbsp;to&nbsp;potential&nbsp;security&nbsp;issues&nbsp;if&nbsp;not&nbsp;used&nbsp;properly.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#HTML">HTML</a></dd>
<dd><a href="docui.html#Label">Label</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="HTML-__init__"><strong>__init__</strong></a>(self, html<font color="#909090">=None</font>, wordWrap<font color="#909090">=True</font>)</dt></dl>

<dl><dt><a name="HTML-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Label">Label</a>:<br>
<dl><dt><a name="HTML-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="HTML-addMouseListener"><strong>addMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="HTML-getHorizontalAlignment"><strong>getHorizontalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getWordWrap"><strong>getWordWrap</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="HTML-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="HTML-removeMouseListener"><strong>removeMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="HTML-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="HTML-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="HTML-setWordWrap"><strong>setWordWrap</strong></a>(self, wrap)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="HTML-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTML-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="HTML-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="HTML-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="HTML-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="HTML-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="HTML-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#HTML-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="HTML-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTML-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="HTML-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#HTML-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="HTML-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="HTML-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="HTML-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="HTML-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="HTML-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="HTML-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="HTML-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTML-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="HTML-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTML-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="HTML-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="HTML-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="HTML-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="HTML-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="HTML-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="HTML-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Grid': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Grid">class <strong>Grid</strong></a>(<a href="docui.html#HTMLTable">HTMLTable</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;<a href="#Grid">Grid</a>&nbsp;<a href="#Widget">Widget</a>&nbsp;is&nbsp;a&nbsp;type&nbsp;of&nbsp;<a href="#HTMLTable">HTMLTable</a>&nbsp;where&nbsp;all&nbsp;of&nbsp;the&nbsp;cells<br>
are&nbsp;pre-loaded&nbsp;at&nbsp;the&nbsp;very&nbsp;least&nbsp;with&nbsp;some&nbsp;blank&nbsp;content.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Grid">Grid</a></dd>
<dd><a href="docui.html#HTMLTable">HTMLTable</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Grid-__init__"><strong>__init__</strong></a>(self, rows<font color="#909090">=0</font>, columns<font color="#909090">=0</font>)</dt></dl>

<dl><dt><a name="Grid-addRows"><strong>addRows</strong></a>(self, table, numRows, columns)</dt></dl>

<dl><dt><a name="Grid-clearCell"><strong>clearCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-createCell"><strong>createCell</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getCellCount"><strong>getCellCount</strong></a>(self, row)</dt></dl>

<dl><dt><a name="Grid-getColumnCount"><strong>getColumnCount</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getRowCount"><strong>getRowCount</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-prepareCell"><strong>prepareCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-prepareRow"><strong>prepareRow</strong></a>(self, row)</dt></dl>

<dl><dt><a name="Grid-resize"><strong>resize</strong></a>(self, rows, columns)</dt></dl>

<dl><dt><a name="Grid-resizeColumns"><strong>resizeColumns</strong></a>(self, columns)</dt></dl>

<dl><dt><a name="Grid-resizeRows"><strong>resizeRows</strong></a>(self, rows)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#HTMLTable">HTMLTable</a>:<br>
<dl><dt><a name="Grid-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-addTableListener"><strong>addTableListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Grid-checkCellBounds"><strong>checkCellBounds</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-checkRowBounds"><strong>checkRowBounds</strong></a>(self, row)</dt></dl>

<dl><dt><a name="Grid-cleanCell"><strong>cleanCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-clear"><strong>clear</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-computeKey"><strong>computeKey</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-computeKeyForElement"><strong>computeKeyForElement</strong></a>(self, widgetElement)</dt></dl>

<dl><dt><a name="Grid-getBodyElement"><strong>getBodyElement</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getCellFormatter"><strong>getCellFormatter</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getCellPadding"><strong>getCellPadding</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getCellSpacing"><strong>getCellSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getDOMCellCount"><strong>getDOMCellCount</strong></a>(self, element, row<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#Grid-getDOMCellCount">getDOMCellCount</a>(row)</tt></dd></dl>

<dl><dt><a name="Grid-getDOMCellCountImpl"><strong>getDOMCellCountImpl</strong></a>(self, element, row)</dt></dl>

<dl><dt><a name="Grid-getDOMRowCount"><strong>getDOMRowCount</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#Grid-getDOMRowCount">getDOMRowCount</a>(element)</tt></dd></dl>

<dl><dt><a name="Grid-getDOMRowCountImpl"><strong>getDOMRowCountImpl</strong></a>(self, element)</dt></dl>

<dl><dt><a name="Grid-getEventTargetCell"><strong>getEventTargetCell</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Grid-getHTML"><strong>getHTML</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-getRowFormatter"><strong>getRowFormatter</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getText"><strong>getText</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-getWidget"><strong>getWidget</strong></a>(self, row, column<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#Grid-getWidget">getWidget</a>(widgetElement)</tt></dd></dl>

<dl><dt><a name="Grid-insertCell"><strong>insertCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-insertCells"><strong>insertCells</strong></a>(self, row, column, count)</dt></dl>

<dl><dt><a name="Grid-insertRow"><strong>insertRow</strong></a>(self, beforeRow)</dt></dl>

<dl><dt><a name="Grid-internalClearCell"><strong>internalClearCell</strong></a>(self, td)</dt></dl>

<dl><dt><a name="Grid-isCellPresent"><strong>isCellPresent</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Grid-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Grid-removeCell"><strong>removeCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="Grid-removeRow"><strong>removeRow</strong></a>(self, row)</dt></dl>

<dl><dt><a name="Grid-removeTableListener"><strong>removeTableListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Grid-removeWidget"><strong>removeWidget</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Grid-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="Grid-setCellFormatter"><strong>setCellFormatter</strong></a>(self, cellFormatter)</dt></dl>

<dl><dt><a name="Grid-setCellPadding"><strong>setCellPadding</strong></a>(self, padding)</dt></dl>

<dl><dt><a name="Grid-setCellSpacing"><strong>setCellSpacing</strong></a>(self, spacing)</dt></dl>

<dl><dt><a name="Grid-setHTML"><strong>setHTML</strong></a>(self, row, column, html)</dt></dl>

<dl><dt><a name="Grid-setRowFormatter"><strong>setRowFormatter</strong></a>(self, rowFormatter)</dt></dl>

<dl><dt><a name="Grid-setText"><strong>setText</strong></a>(self, row, column, text)</dt></dl>

<dl><dt><a name="Grid-setWidget"><strong>setWidget</strong></a>(self, row, column, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="Grid-add"><strong>add</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="Grid-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Grid-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Grid-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Grid-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Grid-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Grid-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Grid-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Grid-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Grid-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Grid-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Grid-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Grid-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Grid-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Grid-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Grid-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Grid-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Grid-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Grid-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Grid-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Grid-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Grid-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Grid-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Grid-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Grid-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Grid-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Grid-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Grid-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Grid-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FocusWidget': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FocusWidget">class <strong>FocusWidget</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#FocusWidget">FocusWidget</a>&nbsp;is&nbsp;the&nbsp;base&nbsp;widget&nbsp;for&nbsp;objects&nbsp;which&nbsp;take&nbsp;user-input,<br>
such&nbsp;as&nbsp;Buttons,&nbsp;ListBoxes&nbsp;and&nbsp;Text&nbsp;input&nbsp;widgets.&nbsp;&nbsp;It&nbsp;is&nbsp;only<br>
necessary&nbsp;to&nbsp;instantiate&nbsp;from&nbsp;this&nbsp;class&nbsp;if&nbsp;you&nbsp;intend&nbsp;to&nbsp;make<br>
your&nbsp;own&nbsp;custom&nbsp;input&nbsp;widget.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FocusWidget-__init__"><strong>__init__</strong></a>(self, element)</dt></dl>

<dl><dt><a name="FocusWidget-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FocusWidget-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusWidget-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="FocusWidget-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="FocusWidget-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="FocusWidget-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FocusWidget-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusWidget-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FocusWidget-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FocusWidget-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FocusWidget-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FocusWidget-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FocusWidget-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FocusWidget-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FocusWidget-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FocusWidget-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FocusWidget-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FocusWidget-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusWidget-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FocusWidget-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusWidget-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FocusWidget-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusWidget-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusWidget-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FocusWidget-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FocusWidget-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusWidget-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FocusWidget-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FocusWidget-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FocusPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FocusPanel">class <strong>FocusPanel</strong></a>(<a href="docui.html#SimplePanel">SimplePanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;simple&nbsp;panel&nbsp;that&nbsp;makes&nbsp;its&nbsp;contents&nbsp;focusable,<br>
and&nbsp;adds&nbsp;the&nbsp;ability&nbsp;to&nbsp;catch&nbsp;mouse&nbsp;and&nbsp;keyboard&nbsp;events.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FocusPanel">FocusPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FocusPanel-__init__"><strong>__init__</strong></a>(self, child<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="FocusPanel-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-addMouseListener"><strong>addMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FocusPanel-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-removeMouseListener"><strong>removeMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FocusPanel-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="FocusPanel-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="FocusPanel-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="FocusPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FocusPanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FocusPanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="FocusPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="FocusPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#FocusPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="FocusPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FocusPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FocusPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FocusPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FocusPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FocusPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FocusPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FocusPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FocusPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FocusPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FocusPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FocusPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FocusPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FocusPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FocusPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FocusPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FocusPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FocusPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FocusPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FocusPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'HasHorizontalAlignment': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HasHorizontalAlignment">class <strong>HasHorizontalAlignment</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

</td></tr></table>''',
'DeckPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DeckPanel">class <strong>DeckPanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;displays&nbsp;all&nbsp;of&nbsp;its&nbsp;child&nbsp;widgets&nbsp;in&nbsp;a&nbsp;'deck',<br>
where&nbsp;only&nbsp;one&nbsp;can&nbsp;be&nbsp;visible&nbsp;at&nbsp;a&nbsp;time.&nbsp;It&nbsp;is&nbsp;used&nbsp;by&nbsp;<a href="#TabPanel">TabPanel</a>.<br>
&nbsp;<br>
Once&nbsp;a&nbsp;widget&nbsp;has&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;<a href="#DeckPanel">DeckPanel</a>,&nbsp;its&nbsp;visibility,&nbsp;width,<br>
and&nbsp;height&nbsp;attributes&nbsp;will&nbsp;be&nbsp;manipulated.&nbsp;When&nbsp;the&nbsp;widget&nbsp;is<br>
removed&nbsp;from&nbsp;the&nbsp;<a href="#DeckPanel">DeckPanel</a>,&nbsp;it&nbsp;will&nbsp;be&nbsp;visible,&nbsp;and&nbsp;its&nbsp;width&nbsp;and<br>
height&nbsp;attributes&nbsp;will&nbsp;be&nbsp;cleared.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#DeckPanel">DeckPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="DeckPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DeckPanel-checkIndex"><strong>checkIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="DeckPanel-getVisibleWidget"><strong>getVisibleWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getWidget"><strong>getWidget</strong></a>(self, index)</dt></dl>

<dl><dt><a name="DeckPanel-getWidgetCount"><strong>getWidgetCount</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getWidgetIndex"><strong>getWidgetIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="DeckPanel-insert"><strong>insert</strong></a>(self, widget, beforeIndex)</dt></dl>

<dl><dt><a name="DeckPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DeckPanel-showWidget"><strong>showWidget</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="DeckPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="DeckPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="DeckPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#DeckPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="DeckPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DeckPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="DeckPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DeckPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="DeckPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="DeckPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="DeckPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="DeckPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#DeckPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="DeckPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="DeckPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#DeckPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="DeckPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DeckPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="DeckPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="DeckPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="DeckPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DeckPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DeckPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="DeckPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="DeckPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DeckPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="DeckPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="DeckPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Panel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Panel">class <strong>Panel</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;basic&nbsp;'<a href="#Panel">Panel</a>'&nbsp;widget&nbsp;class&nbsp;which&nbsp;can&nbsp;contain&nbsp;other&nbsp;widgets.<br>
<a href="#Panel">Panel</a>&nbsp;is&nbsp;a&nbsp;base&nbsp;class&nbsp;from&nbsp;which&nbsp;other&nbsp;<a href="#Panel">Panel</a>&nbsp;classes&nbsp;are&nbsp;derived:<br>
you&nbsp;will&nbsp;not&nbsp;need&nbsp;to&nbsp;instantiate&nbsp;a&nbsp;<a href="#Panel">Panel</a>&nbsp;class,&nbsp;but&nbsp;if&nbsp;you&nbsp;create<br>
your&nbsp;own&nbsp;<a href="#Panel">Panel</a>&nbsp;widgets,&nbsp;derive&nbsp;them&nbsp;from&nbsp;this&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Panel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-add"><strong>add</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="Panel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#Panel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="Panel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Panel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Panel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Panel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Panel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Panel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Panel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Panel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Panel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Panel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Panel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Panel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Panel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Panel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Panel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Panel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Panel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Panel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Panel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Panel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Panel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Panel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Panel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Panel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Panel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Panel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Panel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Panel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Panel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FileUpload': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FileUpload">class <strong>FileUpload</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;wraps&nbsp;the&nbsp;<a href="#HTML">HTML</a>&nbsp;&lt;input&nbsp;type='file'&gt;&nbsp;element.<br>
This&nbsp;widget&nbsp;must&nbsp;be&nbsp;used&nbsp;with&nbsp;<a href="#FormPanel">FormPanel</a>&nbsp;if&nbsp;it&nbsp;is&nbsp;to&nbsp;be&nbsp;submitted<br>
to&nbsp;a&nbsp;server.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FileUpload">FileUpload</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FileUpload-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getFilename"><strong>getFilename</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FileUpload-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FileUpload-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FileUpload-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FileUpload-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FileUpload-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FileUpload-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FileUpload-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FileUpload-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FileUpload-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FileUpload-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FileUpload-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FileUpload-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FileUpload-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FileUpload-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FileUpload-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FileUpload-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FileUpload-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FileUpload-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FileUpload-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FileUpload-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FileUpload-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FileUpload-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FileUpload-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FileUpload-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FileUpload-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FileUpload-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FileUpload-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FileUpload-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FileUpload-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'SimplePanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SimplePanel">class <strong>SimplePanel</strong></a>(<a href="docui.html#Panel">Panel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;which&nbsp;contains&nbsp;a&nbsp;single&nbsp;widget.&nbsp;&nbsp;Useful&nbsp;if&nbsp;you&nbsp;have&nbsp;an<br>
area&nbsp;where&nbsp;you'd&nbsp;like&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;replace&nbsp;the&nbsp;widget&nbsp;with&nbsp;another,<br>
or&nbsp;if&nbsp;you&nbsp;need&nbsp;to&nbsp;wrap&nbsp;something&nbsp;in&nbsp;a&nbsp;DIV.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="SimplePanel-__init__"><strong>__init__</strong></a>(self, element<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="SimplePanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="SimplePanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="SimplePanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="SimplePanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="SimplePanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#SimplePanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="SimplePanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="SimplePanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="SimplePanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="SimplePanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="SimplePanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="SimplePanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="SimplePanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="SimplePanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#SimplePanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="SimplePanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="SimplePanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#SimplePanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="SimplePanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="SimplePanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="SimplePanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="SimplePanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="SimplePanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="SimplePanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="SimplePanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="SimplePanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="SimplePanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="SimplePanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="SimplePanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="SimplePanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'VerticalPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="VerticalPanel">class <strong>VerticalPanel</strong></a>(<a href="docui.html#CellPanel">CellPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;lays&nbsp;all&nbsp;of&nbsp;its&nbsp;widgets&nbsp;out&nbsp;in&nbsp;a&nbsp;single&nbsp;vertical&nbsp;column.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#VerticalPanel">VerticalPanel</a></dd>
<dd><a href="docui.html#CellPanel">CellPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="VerticalPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="VerticalPanel-getHorizontalAlignment"><strong>getHorizontalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getVerticalAlignment"><strong>getVerticalAlignment</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getWidget"><strong>getWidget</strong></a>(self, index)</dt></dl>

<dl><dt><a name="VerticalPanel-getWidgetCount"><strong>getWidgetCount</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getWidgetIndex"><strong>getWidgetIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="VerticalPanel-insert"><strong>insert</strong></a>(self, widget, beforeIndex)</dt></dl>

<dl><dt><a name="VerticalPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="VerticalPanel-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="VerticalPanel-setVerticalAlignment"><strong>setVerticalAlignment</strong></a>(self, align)</dt></dl>

<dl><dt><a name="VerticalPanel-setWidget"><strong>setWidget</strong></a>(self, index, widget)</dt><dd><tt>Replace&nbsp;the&nbsp;widget&nbsp;at&nbsp;the&nbsp;given&nbsp;index&nbsp;with&nbsp;a&nbsp;new&nbsp;one</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#CellPanel">CellPanel</a>:<br>
<dl><dt><a name="VerticalPanel-getBody"><strong>getBody</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getSpacing"><strong>getSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getTable"><strong>getTable</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getWidgetTd"><strong>getWidgetTd</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="VerticalPanel-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="VerticalPanel-setCellHeight"><strong>setCellHeight</strong></a>(self, widget, height)</dt></dl>

<dl><dt><a name="VerticalPanel-setCellHorizontalAlignment"><strong>setCellHorizontalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="VerticalPanel-setCellVerticalAlignment"><strong>setCellVerticalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="VerticalPanel-setCellWidth"><strong>setCellWidth</strong></a>(self, widget, width)</dt></dl>

<dl><dt><a name="VerticalPanel-setSpacing"><strong>setSpacing</strong></a>(self, spacing)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="VerticalPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="VerticalPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="VerticalPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#VerticalPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="VerticalPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="VerticalPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="VerticalPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="VerticalPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="VerticalPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#VerticalPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="VerticalPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#VerticalPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="VerticalPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="VerticalPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="VerticalPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="VerticalPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="VerticalPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="VerticalPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="VerticalPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="VerticalPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Hyperlink': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Hyperlink">class <strong>Hyperlink</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;serves&nbsp;as&nbsp;an&nbsp;"internal"&nbsp;hyperlink.&nbsp;That&nbsp;is,&nbsp;it&nbsp;is&nbsp;a<br>
link&nbsp;to&nbsp;another&nbsp;state&nbsp;of&nbsp;the&nbsp;running&nbsp;application.&nbsp;When&nbsp;clicked,<br>
it&nbsp;will&nbsp;create&nbsp;a&nbsp;new&nbsp;history&nbsp;frame&nbsp;using<br>
History.newItem(targetHistoryToken),&nbsp;but&nbsp;without&nbsp;reloading&nbsp;the&nbsp;page.<br>
&nbsp;<br>
Being&nbsp;a&nbsp;true&nbsp;hyperlink,&nbsp;it&nbsp;is&nbsp;also&nbsp;possible&nbsp;for&nbsp;the&nbsp;user&nbsp;to<br>
"right-click,&nbsp;open&nbsp;link&nbsp;in&nbsp;new&nbsp;window",&nbsp;which&nbsp;will&nbsp;cause&nbsp;the<br>
application&nbsp;to&nbsp;be&nbsp;loaded&nbsp;in&nbsp;a&nbsp;new&nbsp;window&nbsp;at&nbsp;the&nbsp;state&nbsp;specified<br>
by&nbsp;the&nbsp;hyperlink.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Hyperlink">Hyperlink</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Hyperlink-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=''</font>, asHTML<font color="#909090">=False</font>, targetHistoryToken<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="Hyperlink-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Hyperlink-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getTargetHistoryToken"><strong>getTargetHistoryToken</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Hyperlink-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Hyperlink-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<dl><dt><a name="Hyperlink-setTargetHistoryToken"><strong>setTargetHistoryToken</strong></a>(self, targetHistoryToken)</dt></dl>

<dl><dt><a name="Hyperlink-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Hyperlink-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hyperlink-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Hyperlink-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Hyperlink-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Hyperlink-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Hyperlink-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Hyperlink-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Hyperlink-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Hyperlink-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Hyperlink-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Hyperlink-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Hyperlink-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Hyperlink-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Hyperlink-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Hyperlink-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Hyperlink-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hyperlink-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hyperlink-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Hyperlink-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Hyperlink-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Hyperlink-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Hyperlink-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Hyperlink-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'StackPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="StackPanel">class <strong>StackPanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;stacks&nbsp;its&nbsp;children&nbsp;vertically,&nbsp;displaying&nbsp;only&nbsp;one&nbsp;at<br>
a&nbsp;time,&nbsp;with&nbsp;a&nbsp;header&nbsp;for&nbsp;each&nbsp;child&nbsp;which&nbsp;the&nbsp;user&nbsp;can&nbsp;click&nbsp;to<br>
display.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#StackPanel">StackPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="StackPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-add"><strong>add</strong></a>(self, widget, stackText<font color="#909090">=''</font>, asHTML<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="StackPanel-getDividerIndex"><strong>getDividerIndex</strong></a>(self, elem)</dt></dl>

<dl><dt><a name="StackPanel-getSelectedIndex"><strong>getSelectedIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getWidget"><strong>getWidget</strong></a>(self, index)</dt></dl>

<dl><dt><a name="StackPanel-getWidgetCount"><strong>getWidgetCount</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getWidgetIndex"><strong>getWidgetIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="StackPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="StackPanel-remove"><strong>remove</strong></a>(self, child, index<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#StackPanel-remove">remove</a>(child)&nbsp;and&nbsp;<a href="#StackPanel-remove">remove</a>(index)</tt></dd></dl>

<dl><dt><a name="StackPanel-setStackText"><strong>setStackText</strong></a>(self, index, text, asHTML<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="StackPanel-setStackVisible"><strong>setStackVisible</strong></a>(self, index, visible)</dt></dl>

<dl><dt><a name="StackPanel-showStack"><strong>showStack</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="StackPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="StackPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="StackPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#StackPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="StackPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="StackPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="StackPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="StackPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="StackPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="StackPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="StackPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#StackPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="StackPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="StackPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="StackPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#StackPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="StackPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="StackPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="StackPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="StackPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="StackPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="StackPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="StackPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="StackPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="StackPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="StackPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="StackPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="StackPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="StackPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="StackPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="StackPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="StackPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Button': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Button">class <strong>Button</strong></a>(<a href="docui.html#ButtonBase">ButtonBase</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Button">Button</a>&nbsp;is&nbsp;a&nbsp;clickable&nbsp;button.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Button">Button</a></dd>
<dd><a href="docui.html#ButtonBase">ButtonBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Button-__init__"><strong>__init__</strong></a>(self, html<font color="#909090">=None</font>, listener<font color="#909090">=None</font>)</dt><dd><tt>Create&nbsp;a&nbsp;new&nbsp;button&nbsp;widget.<br>
&nbsp;<br>
@param&nbsp;html:&nbsp;Html&nbsp;content&nbsp;(e.g.&nbsp;the&nbsp;button&nbsp;label);&nbsp;see&nbsp;<a href="#Button-setHTML">setHTML</a>()<br>
@param&nbsp;listener:&nbsp;A&nbsp;new&nbsp;click&nbsp;listener;&nbsp;see&nbsp;<a href="#Button-addClickListener">addClickListener</a>()</tt></dd></dl>

<dl><dt><a name="Button-adjustType"><strong>adjustType</strong></a>(self, button)</dt></dl>

<dl><dt><a name="Button-click"><strong>click</strong></a>(self)</dt><dd><tt>Simulate&nbsp;a&nbsp;button&nbsp;click.</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#ButtonBase">ButtonBase</a>:<br>
<dl><dt><a name="Button-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<dl><dt><a name="Button-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="Button-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Button-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Button-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="Button-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="Button-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="Button-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Button-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Button-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Button-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Button-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Button-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Button-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Button-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Button-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Button-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Button-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Button-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Button-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Button-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Button-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Button-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Button-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Button-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Button-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Button-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Button-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Button-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Button-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Button-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Button-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Button-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Button-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Button-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Button-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'Tree': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Tree">class <strong>Tree</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;standard&nbsp;hierarchical&nbsp;tree&nbsp;widget.&nbsp;The&nbsp;tree&nbsp;contains&nbsp;a&nbsp;hierarchy<br>
of&nbsp;TreeItems&nbsp;that&nbsp;the&nbsp;user&nbsp;can&nbsp;open,&nbsp;close,&nbsp;and&nbsp;select.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Tree">Tree</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Tree-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Tree-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-addItem"><strong>addItem</strong></a>(self, item)</dt></dl>

<dl><dt><a name="Tree-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-addMouseListener"><strong>addMouseListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-addTreeListener"><strong>addTreeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-adopt"><strong>adopt</strong></a>(self, content)</dt></dl>

<dl><dt><a name="Tree-clear"><strong>clear</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-collectElementChain"><strong>collectElementChain</strong></a>(self, chain, hRoot, hElem)</dt></dl>

<dl><dt><a name="Tree-disown"><strong>disown</strong></a>(self, item)</dt></dl>

<dl><dt><a name="Tree-elementClicked"><strong>elementClicked</strong></a>(self, root, hElem)</dt></dl>

<dl><dt><a name="Tree-ensureSelectedItemVisible"><strong>ensureSelectedItemVisible</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-findDeepestOpenChild"><strong>findDeepestOpenChild</strong></a>(self, item)</dt></dl>

<dl><dt><a name="Tree-findItemByChain"><strong>findItemByChain</strong></a>(self, chain, idx, root)</dt></dl>

<dl><dt><a name="Tree-fireStateChanged"><strong>fireStateChanged</strong></a>(self, item)</dt></dl>

<dl><dt><a name="Tree-getChildWidgets"><strong>getChildWidgets</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getImageBase"><strong>getImageBase</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getItem"><strong>getItem</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Tree-getItemCount"><strong>getItemCount</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getSelectedItem"><strong>getSelectedItem</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-moveFocus"><strong>moveFocus</strong></a>(self, selection)</dt></dl>

<dl><dt><a name="Tree-moveSelectionDown"><strong>moveSelectionDown</strong></a>(self, sel, dig)</dt></dl>

<dl><dt><a name="Tree-moveSelectionUp"><strong>moveSelectionUp</strong></a>(self, sel, climb)</dt></dl>

<dl><dt><a name="Tree-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Tree-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Tree-onSelection"><strong>onSelection</strong></a>(self, item, fireEvents)</dt></dl>

<dl><dt><a name="Tree-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="Tree-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-removeItem"><strong>removeItem</strong></a>(self, item)</dt></dl>

<dl><dt><a name="Tree-removeItems"><strong>removeItems</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-removeTreeListener"><strong>removeTreeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="Tree-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="Tree-setFocus"><strong>setFocus</strong></a>(self, focus)</dt></dl>

<dl><dt><a name="Tree-setImageBase"><strong>setImageBase</strong></a>(self, baseUrl)</dt></dl>

<dl><dt><a name="Tree-setSelectedItem"><strong>setSelectedItem</strong></a>(self, item, fireEvents<font color="#909090">=True</font>)</dt></dl>

<dl><dt><a name="Tree-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Tree-shouldTreeDelegateFocusToElement"><strong>shouldTreeDelegateFocusToElement</strong></a>(self, elem)</dt></dl>

<dl><dt><a name="Tree-treeItemIterator"><strong>treeItemIterator</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Tree-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Tree-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Tree-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Tree-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Tree-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Tree-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Tree-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Tree-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Tree-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Tree-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Tree-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Tree-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Tree-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Tree-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Tree-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Tree-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Tree-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Tree-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Tree-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Tree-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Tree-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Tree-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Tree-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Tree-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Tree-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'ScrollPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ScrollPanel">class <strong>ScrollPanel</strong></a>(<a href="docui.html#SimplePanel">SimplePanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;simple&nbsp;panel&nbsp;that&nbsp;wraps&nbsp;its&nbsp;contents&nbsp;in&nbsp;a&nbsp;scrollable&nbsp;area.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#ScrollPanel">ScrollPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ScrollPanel-__init__"><strong>__init__</strong></a>(self, child<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="ScrollPanel-addScrollListener"><strong>addScrollListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ScrollPanel-ensureVisible"><strong>ensureVisible</strong></a>(self, item)</dt></dl>

<dl><dt><a name="ScrollPanel-ensureVisibleImpl"><strong>ensureVisibleImpl</strong></a>(self, scroll, e)</dt></dl>

<dl><dt><a name="ScrollPanel-getHorizontalScrollPosition"><strong>getHorizontalScrollPosition</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getScrollPosition"><strong>getScrollPosition</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="ScrollPanel-removeScrollListener"><strong>removeScrollListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ScrollPanel-setAlwaysShowScrollBars"><strong>setAlwaysShowScrollBars</strong></a>(self, alwaysShow)</dt></dl>

<dl><dt><a name="ScrollPanel-setHorizontalScrollPosition"><strong>setHorizontalScrollPosition</strong></a>(self, position)</dt></dl>

<dl><dt><a name="ScrollPanel-setScrollPosition"><strong>setScrollPosition</strong></a>(self, position)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="ScrollPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="ScrollPanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="ScrollPanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="ScrollPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="ScrollPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#ScrollPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="ScrollPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="ScrollPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="ScrollPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="ScrollPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#ScrollPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="ScrollPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#ScrollPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="ScrollPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="ScrollPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="ScrollPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="ScrollPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="ScrollPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ScrollPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ScrollPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="ScrollPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'ComplexPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ComplexPanel">class <strong>ComplexPanel</strong></a>(<a href="docui.html#Panel">Panel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Superclass&nbsp;for&nbsp;widgets&nbsp;with&nbsp;multiple&nbsp;children.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ComplexPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-add"><strong>add</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="ComplexPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<dl><dt><a name="ComplexPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="ComplexPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="ComplexPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#ComplexPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="ComplexPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="ComplexPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="ComplexPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="ComplexPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="ComplexPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#ComplexPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="ComplexPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#ComplexPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="ComplexPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="ComplexPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="ComplexPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="ComplexPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="ComplexPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ComplexPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ComplexPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="ComplexPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FormPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FormPanel">class <strong>FormPanel</strong></a>(<a href="docui.html#SimplePanel">SimplePanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;wraps&nbsp;its&nbsp;contents&nbsp;in&nbsp;an&nbsp;<a href="#HTML">HTML</a>&nbsp;&lt;FORM&gt;&nbsp;element.<br>
&nbsp;<br>
This&nbsp;panel&nbsp;can&nbsp;be&nbsp;used&nbsp;to&nbsp;achieve&nbsp;interoperability&nbsp;with&nbsp;servers<br>
that&nbsp;accept&nbsp;traditional&nbsp;<a href="#HTML">HTML</a>&nbsp;form&nbsp;encoding.&nbsp;The&nbsp;following&nbsp;widgets<br>
will&nbsp;be&nbsp;submitted&nbsp;to&nbsp;the&nbsp;server&nbsp;if&nbsp;they&nbsp;are&nbsp;contained&nbsp;within&nbsp;this&nbsp;panel:<br>
&nbsp;<br>
*&nbsp;L{<a href="#TextBox">TextBox</a>}<br>
*&nbsp;L{<a href="#PasswordTextBox">PasswordTextBox</a>}<br>
*&nbsp;L{<a href="#RadioButton">RadioButton</a>}<br>
*&nbsp;L{<a href="#CheckBox">CheckBox</a>}<br>
*&nbsp;L{<a href="#TextArea">TextArea</a>}<br>
*&nbsp;L{<a href="#ListBox">ListBox</a>}<br>
*&nbsp;L{<a href="#FileUpload">FileUpload</a>}<br>
*&nbsp;L{<a href="#Hidden">Hidden</a>}<br>
&nbsp;<br>
In&nbsp;particular,&nbsp;<a href="#FileUpload">FileUpload</a>&nbsp;is&nbsp;only&nbsp;useful&nbsp;when&nbsp;used&nbsp;within&nbsp;a<br>
L{<a href="#FormPanel">FormPanel</a>},&nbsp;because&nbsp;the&nbsp;browser&nbsp;will&nbsp;only&nbsp;upload&nbsp;files&nbsp;using<br>
form&nbsp;submission.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FormPanel">FormPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FormPanel-__init__"><strong>__init__</strong></a>(self, target<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="FormPanel-addFormHandler"><strong>addFormHandler</strong></a>(self, handler)</dt></dl>

<dl><dt><a name="FormPanel-getAction"><strong>getAction</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getEncoding"><strong>getEncoding</strong></a>(self)</dt><dd><tt>#&nbsp;FormPanelImpl.getEncoding</tt></dd></dl>

<dl><dt><a name="FormPanel-getMethod"><strong>getMethod</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getTarget"><strong>getTarget</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getTextContents"><strong>getTextContents</strong></a>(self, iframe)</dt><dd><tt>#&nbsp;FormPanelImpl.getTextContents</tt></dd></dl>

<dl><dt><a name="FormPanel-hookEvents"><strong>hookEvents</strong></a>(self, iframe, form, listener)</dt><dd><tt>#&nbsp;FormPanelImpl.hookEvents</tt></dd></dl>

<dl><dt><a name="FormPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-onFormSubmit"><strong>onFormSubmit</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-onFrameLoad"><strong>onFrameLoad</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-removeFormHandler"><strong>removeFormHandler</strong></a>(self, handler)</dt></dl>

<dl><dt><a name="FormPanel-setAction"><strong>setAction</strong></a>(self, url)</dt></dl>

<dl><dt><a name="FormPanel-setEncoding"><strong>setEncoding</strong></a>(self, encodingType)</dt><dd><tt>#&nbsp;FormPanelImpl.setEncoding</tt></dd></dl>

<dl><dt><a name="FormPanel-setMethod"><strong>setMethod</strong></a>(self, method)</dt></dl>

<dl><dt><a name="FormPanel-setTarget"><strong>setTarget</strong></a>(self, target)</dt></dl>

<dl><dt><a name="FormPanel-submit"><strong>submit</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-submitImpl"><strong>submitImpl</strong></a>(self, form, iframe)</dt><dd><tt>#&nbsp;FormPanelImpl.submit</tt></dd></dl>

<dl><dt><a name="FormPanel-unhookEvents"><strong>unhookEvents</strong></a>(self, iframe, form)</dt><dd><tt>#&nbsp;FormPanelImpl.unhookEvents</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>ENCODING_MULTIPART</strong> = 'multipart/form-data'</dl>

<dl><dt><strong>ENCODING_URLENCODED</strong> = 'application/x-www-form-urlencoded'</dl>

<dl><dt><strong>METHOD_GET</strong> = 'get'</dl>

<dl><dt><strong>METHOD_POST</strong> = 'post'</dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="FormPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FormPanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FormPanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="FormPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="FormPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#FormPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="FormPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FormPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FormPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FormPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FormPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FormPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FormPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FormPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FormPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FormPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FormPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FormPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FormPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FormPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FormPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FormPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FormPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FormPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FormPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FormPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FormPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FormPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FormPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FormPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FormPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FormPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FormPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FormPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'TabBar': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TabBar">class <strong>TabBar</strong></a>(<a href="docui.html#Composite">Composite</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;horizontal&nbsp;bar&nbsp;of&nbsp;folder-style&nbsp;tabs,&nbsp;most&nbsp;commonly&nbsp;used&nbsp;as<br>
part&nbsp;of&nbsp;a&nbsp;<a href="#TabPanel">TabPanel</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#TabBar">TabBar</a></dd>
<dd><a href="docui.html#Composite">Composite</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TabBar-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-addTab"><strong>addTab</strong></a>(self, text, asHTML<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="TabBar-addTabListener"><strong>addTabListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TabBar-checkTabIndex"><strong>checkTabIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TabBar-getSelectedTab"><strong>getSelectedTab</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getTabCount"><strong>getTabCount</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getTabHTML"><strong>getTabHTML</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TabBar-insertTab"><strong>insertTab</strong></a>(self, text, asHTML, beforeIndex<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="TabBar-onClick"><strong>onClick</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TabBar-removeTab"><strong>removeTab</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TabBar-removeTabListener"><strong>removeTabListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TabBar-selectTab"><strong>selectTab</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TabBar-setSelectionStyle"><strong>setSelectionStyle</strong></a>(self, item, selected)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Composite">Composite</a>:<br>
<dl><dt><a name="TabBar-initWidget"><strong>initWidget</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="TabBar-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="TabBar-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TabBar-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TabBar-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TabBar-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="TabBar-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TabBar-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#TabBar-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="TabBar-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TabBar-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="TabBar-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#TabBar-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="TabBar-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TabBar-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="TabBar-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="TabBar-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="TabBar-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="TabBar-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="TabBar-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TabBar-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="TabBar-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TabBar-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="TabBar-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="TabBar-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="TabBar-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TabBar-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TabBar-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="TabBar-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'CellPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CellPanel">class <strong>CellPanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;whose&nbsp;child&nbsp;widgets&nbsp;are&nbsp;contained&nbsp;within&nbsp;the&nbsp;cells&nbsp;of&nbsp;a&nbsp;table.<br>
&nbsp;<br>
Each&nbsp;cell's&nbsp;size&nbsp;may&nbsp;be&nbsp;set&nbsp;independently.<br>
Each&nbsp;child&nbsp;widget&nbsp;can&nbsp;take&nbsp;up&nbsp;a&nbsp;subset&nbsp;of&nbsp;its&nbsp;cell<br>
and&nbsp;can&nbsp;be&nbsp;aligned&nbsp;within&nbsp;it.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#CellPanel">CellPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="CellPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getBody"><strong>getBody</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getSpacing"><strong>getSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getTable"><strong>getTable</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getWidgetTd"><strong>getWidgetTd</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="CellPanel-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="CellPanel-setCellHeight"><strong>setCellHeight</strong></a>(self, widget, height)</dt></dl>

<dl><dt><a name="CellPanel-setCellHorizontalAlignment"><strong>setCellHorizontalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="CellPanel-setCellVerticalAlignment"><strong>setCellVerticalAlignment</strong></a>(self, widget, align)</dt></dl>

<dl><dt><a name="CellPanel-setCellWidth"><strong>setCellWidth</strong></a>(self, widget, width)</dt></dl>

<dl><dt><a name="CellPanel-setSpacing"><strong>setSpacing</strong></a>(self, spacing)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="CellPanel-add"><strong>add</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="CellPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<dl><dt><a name="CellPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="CellPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="CellPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#CellPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="CellPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="CellPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="CellPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CellPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="CellPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="CellPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="CellPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="CellPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#CellPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="CellPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CellPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="CellPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#CellPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="CellPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="CellPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="CellPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="CellPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="CellPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="CellPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="CellPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CellPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="CellPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CellPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="CellPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="CellPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="CellPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="CellPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="CellPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="CellPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'DialogBox': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DialogBox">class <strong>DialogBox</strong></a>(<a href="docui.html#PopupPanel">PopupPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;form&nbsp;of&nbsp;popup&nbsp;that&nbsp;has&nbsp;a&nbsp;caption&nbsp;area&nbsp;at&nbsp;the&nbsp;top&nbsp;and&nbsp;can<br>
be&nbsp;dragged&nbsp;by&nbsp;the&nbsp;user.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#DialogBox">DialogBox</a></dd>
<dd><a href="docui.html#PopupPanel">PopupPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="DialogBox-__init__"><strong>__init__</strong></a>(self, autoHide<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="DialogBox-getHTML"><strong>getHTML</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-onMouseDown"><strong>onMouseDown</strong></a>(self, sender, x, y)</dt></dl>

<dl><dt><a name="DialogBox-onMouseEnter"><strong>onMouseEnter</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="DialogBox-onMouseLeave"><strong>onMouseLeave</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="DialogBox-onMouseMove"><strong>onMouseMove</strong></a>(self, sender, x, y)</dt></dl>

<dl><dt><a name="DialogBox-onMouseUp"><strong>onMouseUp</strong></a>(self, sender, x, y)</dt></dl>

<dl><dt><a name="DialogBox-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DialogBox-setHTML"><strong>setHTML</strong></a>(self, html)</dt></dl>

<dl><dt><a name="DialogBox-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="DialogBox-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#PopupPanel">PopupPanel</a>:<br>
<dl><dt><a name="DialogBox-addPopupListener"><strong>addPopupListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="DialogBox-createElement"><strong>createElement</strong></a>(self)</dt><dd><tt>#&nbsp;PopupImpl.createElement</tt></dd></dl>

<dl><dt><a name="DialogBox-getPopupLeft"><strong>getPopupLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getPopupTop"><strong>getPopupTop</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-hide"><strong>hide</strong></a>(self, autoClosed<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="DialogBox-onEventPreview"><strong>onEventPreview</strong></a>(self, event)</dt></dl>

<dl><dt><a name="DialogBox-onHideImpl"><strong>onHideImpl</strong></a>(self, popup)</dt><dd><tt>#&nbsp;PopupImpl.onHide</tt></dd></dl>

<dl><dt><a name="DialogBox-onKeyDownPreview"><strong>onKeyDownPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="DialogBox-onKeyPressPreview"><strong>onKeyPressPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="DialogBox-onKeyUpPreview"><strong>onKeyUpPreview</strong></a>(self, key, modifiers)</dt></dl>

<dl><dt><a name="DialogBox-onShowImpl"><strong>onShowImpl</strong></a>(self, popup)</dt><dd><tt>#&nbsp;PopupImpl.onShow</tt></dd></dl>

<dl><dt><a name="DialogBox-removePopupListener"><strong>removePopupListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="DialogBox-setPopupPosition"><strong>setPopupPosition</strong></a>(self, left, top)</dt></dl>

<dl><dt><a name="DialogBox-show"><strong>show</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="DialogBox-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DialogBox-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="DialogBox-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="DialogBox-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#DialogBox-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="DialogBox-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="DialogBox-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="DialogBox-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DialogBox-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="DialogBox-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="DialogBox-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="DialogBox-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="DialogBox-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#DialogBox-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="DialogBox-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DialogBox-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="DialogBox-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#DialogBox-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="DialogBox-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="DialogBox-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="DialogBox-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="DialogBox-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="DialogBox-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="DialogBox-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="DialogBox-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DialogBox-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="DialogBox-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DialogBox-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="DialogBox-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="DialogBox-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="DialogBox-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="DialogBox-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="DialogBox-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="DialogBox-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FlowPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FlowPanel">class <strong>FlowPanel</strong></a>(<a href="docui.html#ComplexPanel">ComplexPanel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;panel&nbsp;that&nbsp;formats&nbsp;its&nbsp;child&nbsp;widgets&nbsp;using&nbsp;default&nbsp;<a href="#HTML">HTML</a>&nbsp;layout<br>
behavior.&nbsp;&nbsp;Child&nbsp;widgets&nbsp;layout&nbsp;will&nbsp;therefore&nbsp;"flow"&nbsp;as&nbsp;the<br>
<a href="#FlowPanel">FlowPanel</a>&nbsp;panel&nbsp;is&nbsp;resized.&nbsp;&nbsp;Usually&nbsp;this&nbsp;will&nbsp;be&nbsp;from&nbsp;left&nbsp;to<br>
right,&nbsp;followed&nbsp;by&nbsp;filling&nbsp;the&nbsp;next&nbsp;available&nbsp;vertical&nbsp;space,<br>
downwards,&nbsp;if&nbsp;a&nbsp;child&nbsp;widget&nbsp;cannot&nbsp;fit&nbsp;on&nbsp;the&nbsp;same&nbsp;horizontal<br>
space.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FlowPanel">FlowPanel</a></dd>
<dd><a href="docui.html#ComplexPanel">ComplexPanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FlowPanel-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-add"><strong>add</strong></a>(self, w)</dt></dl>

<dl><dt><a name="FlowPanel-getWidget"><strong>getWidget</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FlowPanel-getWidgetCount"><strong>getWidgetCount</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getWidgetIndex"><strong>getWidgetIndex</strong></a>(self, child)</dt></dl>

<dl><dt><a name="FlowPanel-remove"><strong>remove</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#ComplexPanel">ComplexPanel</a>:<br>
<dl><dt><a name="FlowPanel-getChildren"><strong>getChildren</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-insert"><strong>insert</strong></a>(self, widget, container, beforeIndex)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="FlowPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="FlowPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#FlowPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="FlowPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FlowPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FlowPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlowPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FlowPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FlowPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FlowPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FlowPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FlowPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FlowPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FlowPanel-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FlowPanel-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FlowPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlowPanel-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FlowPanel-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FlowPanel-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FlowPanel-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlowPanel-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlowPanel-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FlowPanel-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FlowPanel-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlowPanel-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FlowPanel-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FlowPanel-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'ListBox': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ListBox">class <strong>ListBox</strong></a>(<a href="docui.html#FocusWidget">FocusWidget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;presents&nbsp;a&nbsp;list&nbsp;of&nbsp;choices&nbsp;to&nbsp;the&nbsp;user,&nbsp;either&nbsp;as&nbsp;a<br>
list&nbsp;box&nbsp;or&nbsp;as&nbsp;a&nbsp;drop-down&nbsp;list.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#ListBox">ListBox</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ListBox-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-addChangeListener"><strong>addChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-addItem"><strong>addItem</strong></a>(self, item, value<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="ListBox-checkIndex"><strong>checkIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-clear"><strong>clear</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getItemCount"><strong>getItemCount</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getItemText"><strong>getItemText</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getSelectedIndex"><strong>getSelectedIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getValue"><strong>getValue</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-getVisibleItemCount"><strong>getVisibleItemCount</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-insertItem"><strong>insertItem</strong></a>(self, item, value, index<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#ListBox-insertItem">insertItem</a>(item,&nbsp;index)</tt></dd></dl>

<dl><dt><a name="ListBox-isItemSelected"><strong>isItemSelected</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-isMultipleSelect"><strong>isMultipleSelect</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="ListBox-removeChangeListener"><strong>removeChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-removeItem"><strong>removeItem</strong></a>(self, idx)</dt></dl>

<dl><dt><a name="ListBox-selectValue"><strong>selectValue</strong></a>(self, value)</dt></dl>

<dl><dt><a name="ListBox-setItemSelected"><strong>setItemSelected</strong></a>(self, index, selected)</dt></dl>

<dl><dt><a name="ListBox-setItemText"><strong>setItemText</strong></a>(self, index, text)</dt></dl>

<dl><dt><a name="ListBox-setMultipleSelect"><strong>setMultipleSelect</strong></a>(self, multiple)</dt></dl>

<dl><dt><a name="ListBox-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="ListBox-setSelectedIndex"><strong>setSelectedIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-setValue"><strong>setValue</strong></a>(self, index, value)</dt></dl>

<dl><dt><a name="ListBox-setVisibleItemCount"><strong>setVisibleItemCount</strong></a>(self, visibleItems)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="ListBox-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="ListBox-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="ListBox-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="ListBox-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="ListBox-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="ListBox-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ListBox-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="ListBox-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="ListBox-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="ListBox-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="ListBox-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="ListBox-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#ListBox-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="ListBox-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ListBox-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="ListBox-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#ListBox-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="ListBox-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="ListBox-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="ListBox-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="ListBox-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="ListBox-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="ListBox-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="ListBox-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ListBox-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="ListBox-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ListBox-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="ListBox-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="ListBox-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="ListBox-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="ListBox-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="ListBox-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="ListBox-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FocusListener': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FocusListener">class <strong>FocusListener</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;FocusListenerCollection<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FocusListener-fireFocusEvent"><strong>fireFocusEvent</strong></a>(self, listeners, sender, event)</dt></dl>

</td></tr></table>''',
'TextBox': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TextBox">class <strong>TextBox</strong></a>(<a href="docui.html#TextBoxBase">TextBoxBase</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#TextBox">TextBox</a>&nbsp;is&nbsp;a&nbsp;standard&nbsp;single-line&nbsp;text&nbsp;box.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#TextBox">TextBox</a></dd>
<dd><a href="docui.html#TextBoxBase">TextBoxBase</a></dd>
<dd><a href="docui.html#FocusWidget">FocusWidget</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TextBox-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getMaxLength"><strong>getMaxLength</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getVisibleLength"><strong>getVisibleLength</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-setMaxLength"><strong>setMaxLength</strong></a>(self, length)</dt></dl>

<dl><dt><a name="TextBox-setVisibleLength"><strong>setVisibleLength</strong></a>(self, length)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><a name="TextBox-addChangeListener"><strong>addChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-addClickListener"><strong>addClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-addKeyboardListener"><strong>addKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-cancelKey"><strong>cancelKey</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getCursorPos"><strong>getCursorPos</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getName"><strong>getName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getSelectedText"><strong>getSelectedText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getSelectionLength"><strong>getSelectionLength</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getText"><strong>getText</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt><dd><tt>#&nbsp;BUG:&nbsp;keyboard&nbsp;&amp;&nbsp;click&nbsp;events&nbsp;already&nbsp;fired&nbsp;in&nbsp;<a href="#FocusWidget">FocusWidget</a>.onBrowserEvent</tt></dd></dl>

<dl><dt><a name="TextBox-removeChangeListener"><strong>removeChangeListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-removeClickListener"><strong>removeClickListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-removeKeyboardListener"><strong>removeKeyboardListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-selectAll"><strong>selectAll</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-setCursorPos"><strong>setCursorPos</strong></a>(self, pos)</dt></dl>

<dl><dt><a name="TextBox-setKey"><strong>setKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextBox-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="TextBox-setSelectionRange"><strong>setSelectionRange</strong></a>(self, pos, length)</dt></dl>

<dl><dt><a name="TextBox-setText"><strong>setText</strong></a>(self, text)</dt></dl>

<dl><dt><a name="TextBox-setTextAlignment"><strong>setTextAlignment</strong></a>(self, align)</dt></dl>

<hr>
Data and other attributes inherited from <a href="docui.html#TextBoxBase">TextBoxBase</a>:<br>
<dl><dt><strong>ALIGN_CENTER</strong> = 'center'</dl>

<dl><dt><strong>ALIGN_JUSTIFY</strong> = 'justify'</dl>

<dl><dt><strong>ALIGN_LEFT</strong> = 'left'</dl>

<dl><dt><strong>ALIGN_RIGHT</strong> = 'right'</dl>

<hr>
Methods inherited from <a href="docui.html#FocusWidget">FocusWidget</a>:<br>
<dl><dt><a name="TextBox-addFocusListener"><strong>addFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-getTabIndex"><strong>getTabIndex</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-isEnabled"><strong>isEnabled</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-removeFocusListener"><strong>removeFocusListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="TextBox-setAccessKey"><strong>setAccessKey</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TextBox-setEnabled"><strong>setEnabled</strong></a>(self, enabled)</dt></dl>

<dl><dt><a name="TextBox-setFocus"><strong>setFocus</strong></a>(self, focused)</dt></dl>

<dl><dt><a name="TextBox-setTabIndex"><strong>setTabIndex</strong></a>(self, index)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="TextBox-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBox-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextBox-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextBox-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TextBox-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TextBox-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TextBox-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#TextBox-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="TextBox-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBox-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="TextBox-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#TextBox-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="TextBox-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TextBox-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="TextBox-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="TextBox-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="TextBox-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="TextBox-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="TextBox-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBox-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="TextBox-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBox-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="TextBox-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="TextBox-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="TextBox-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="TextBox-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="TextBox-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="TextBox-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'FlexTable': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FlexTable">class <strong>FlexTable</strong></a>(<a href="docui.html#HTMLTable">HTMLTable</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#FlexTable">FlexTable</a>&nbsp;can&nbsp;create&nbsp;cells&nbsp;on&nbsp;demand.&nbsp;It&nbsp;can&nbsp;be&nbsp;jagged<br>
(that&nbsp;is,&nbsp;each&nbsp;row&nbsp;can&nbsp;contain&nbsp;a&nbsp;different&nbsp;number&nbsp;of&nbsp;cells)<br>
and&nbsp;individual&nbsp;cells&nbsp;can&nbsp;be&nbsp;set&nbsp;to&nbsp;span&nbsp;multiple&nbsp;rows&nbsp;or&nbsp;columns.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#FlexTable">FlexTable</a></dd>
<dd><a href="docui.html#HTMLTable">HTMLTable</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FlexTable-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-addCell"><strong>addCell</strong></a>(self, row)</dt></dl>

<dl><dt><a name="FlexTable-addCells"><strong>addCells</strong></a>(self, table, row, num)</dt></dl>

<dl><dt><a name="FlexTable-getCellCount"><strong>getCellCount</strong></a>(self, row)</dt></dl>

<dl><dt><a name="FlexTable-getFlexCellFormatter"><strong>getFlexCellFormatter</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getRowCount"><strong>getRowCount</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-prepareCell"><strong>prepareCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-prepareRow"><strong>prepareRow</strong></a>(self, row)</dt></dl>

<dl><dt><a name="FlexTable-removeCells"><strong>removeCells</strong></a>(self, row, column, num)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#HTMLTable">HTMLTable</a>:<br>
<dl><dt><a name="FlexTable-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-addTableListener"><strong>addTableListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FlexTable-checkCellBounds"><strong>checkCellBounds</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-checkRowBounds"><strong>checkRowBounds</strong></a>(self, row)</dt></dl>

<dl><dt><a name="FlexTable-cleanCell"><strong>cleanCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-clear"><strong>clear</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-clearCell"><strong>clearCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-computeKey"><strong>computeKey</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-computeKeyForElement"><strong>computeKeyForElement</strong></a>(self, widgetElement)</dt></dl>

<dl><dt><a name="FlexTable-createCell"><strong>createCell</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getBodyElement"><strong>getBodyElement</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getCellFormatter"><strong>getCellFormatter</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getCellPadding"><strong>getCellPadding</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getCellSpacing"><strong>getCellSpacing</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getDOMCellCount"><strong>getDOMCellCount</strong></a>(self, element, row<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#FlexTable-getDOMCellCount">getDOMCellCount</a>(row)</tt></dd></dl>

<dl><dt><a name="FlexTable-getDOMCellCountImpl"><strong>getDOMCellCountImpl</strong></a>(self, element, row)</dt></dl>

<dl><dt><a name="FlexTable-getDOMRowCount"><strong>getDOMRowCount</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#FlexTable-getDOMRowCount">getDOMRowCount</a>(element)</tt></dd></dl>

<dl><dt><a name="FlexTable-getDOMRowCountImpl"><strong>getDOMRowCountImpl</strong></a>(self, element)</dt></dl>

<dl><dt><a name="FlexTable-getEventTargetCell"><strong>getEventTargetCell</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FlexTable-getHTML"><strong>getHTML</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-getRowFormatter"><strong>getRowFormatter</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getText"><strong>getText</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-getWidget"><strong>getWidget</strong></a>(self, row, column<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;also&nbsp;callable&nbsp;as&nbsp;<a href="#FlexTable-getWidget">getWidget</a>(widgetElement)</tt></dd></dl>

<dl><dt><a name="FlexTable-insertCell"><strong>insertCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-insertCells"><strong>insertCells</strong></a>(self, row, column, count)</dt></dl>

<dl><dt><a name="FlexTable-insertRow"><strong>insertRow</strong></a>(self, beforeRow)</dt></dl>

<dl><dt><a name="FlexTable-internalClearCell"><strong>internalClearCell</strong></a>(self, td)</dt></dl>

<dl><dt><a name="FlexTable-isCellPresent"><strong>isCellPresent</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="FlexTable-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FlexTable-removeCell"><strong>removeCell</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="FlexTable-removeRow"><strong>removeRow</strong></a>(self, row)</dt></dl>

<dl><dt><a name="FlexTable-removeTableListener"><strong>removeTableListener</strong></a>(self, listener)</dt></dl>

<dl><dt><a name="FlexTable-removeWidget"><strong>removeWidget</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FlexTable-setBorderWidth"><strong>setBorderWidth</strong></a>(self, width)</dt></dl>

<dl><dt><a name="FlexTable-setCellFormatter"><strong>setCellFormatter</strong></a>(self, cellFormatter)</dt></dl>

<dl><dt><a name="FlexTable-setCellPadding"><strong>setCellPadding</strong></a>(self, padding)</dt></dl>

<dl><dt><a name="FlexTable-setCellSpacing"><strong>setCellSpacing</strong></a>(self, spacing)</dt></dl>

<dl><dt><a name="FlexTable-setHTML"><strong>setHTML</strong></a>(self, row, column, html)</dt></dl>

<dl><dt><a name="FlexTable-setRowFormatter"><strong>setRowFormatter</strong></a>(self, rowFormatter)</dt></dl>

<dl><dt><a name="FlexTable-setText"><strong>setText</strong></a>(self, row, column, text)</dt></dl>

<dl><dt><a name="FlexTable-setWidget"><strong>setWidget</strong></a>(self, row, column, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="FlexTable-add"><strong>add</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="FlexTable-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="FlexTable-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="FlexTable-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlexTable-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="FlexTable-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="FlexTable-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="FlexTable-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#FlexTable-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="FlexTable-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlexTable-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="FlexTable-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#FlexTable-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="FlexTable-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="FlexTable-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="FlexTable-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="FlexTable-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="FlexTable-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="FlexTable-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="FlexTable-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlexTable-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="FlexTable-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlexTable-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="FlexTable-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="FlexTable-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="FlexTable-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="FlexTable-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="FlexTable-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="FlexTable-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'CellFormatter': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CellFormatter">class <strong>CellFormatter</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#CellFormatter">CellFormatter</a>&nbsp;is&nbsp;a&nbsp;class&nbsp;for&nbsp;managing&nbsp;formatting&nbsp;of&nbsp;cells&nbsp;in<br>
various&nbsp;types&nbsp;of&nbsp;<a href="#Panel">Panel</a>&nbsp;classes,&nbsp;such&nbsp;as&nbsp;<a href="#HTMLTable">HTMLTable</a>&nbsp;and&nbsp;<a href="#Grid">Grid</a>.<br>
These&nbsp;<a href="#Panel">Panel</a>&nbsp;classes&nbsp;typically&nbsp;use&nbsp;<a href="#CellFormatter">CellFormatter</a>&nbsp;automatically<br>
on&nbsp;your&nbsp;behalf,&nbsp;although&nbsp;you&nbsp;can&nbsp;over-ride&nbsp;that&nbsp;to&nbsp;use&nbsp;your<br>
own&nbsp;<a href="#CellFormatter">CellFormatter</a>&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="CellFormatter-__init__"><strong>__init__</strong></a>(self, outer)</dt></dl>

<dl><dt><a name="CellFormatter-addStyleName"><strong>addStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="CellFormatter-ensureElement"><strong>ensureElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="CellFormatter-getAttr"><strong>getAttr</strong></a>(self, row, column, attr)</dt></dl>

<dl><dt><a name="CellFormatter-getCellElement"><strong>getCellElement</strong></a>(self, table, row, col)</dt></dl>

<dl><dt><a name="CellFormatter-getElement"><strong>getElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="CellFormatter-getRawElement"><strong>getRawElement</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="CellFormatter-getStyleName"><strong>getStyleName</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="CellFormatter-isVisible"><strong>isVisible</strong></a>(self, row, column)</dt></dl>

<dl><dt><a name="CellFormatter-removeStyleName"><strong>removeStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="CellFormatter-setAlignment"><strong>setAlignment</strong></a>(self, row, column, hAlign, vAlign)</dt></dl>

<dl><dt><a name="CellFormatter-setAttr"><strong>setAttr</strong></a>(self, row, column, attrName, value)</dt></dl>

<dl><dt><a name="CellFormatter-setHeight"><strong>setHeight</strong></a>(self, row, column, height)</dt></dl>

<dl><dt><a name="CellFormatter-setHorizontalAlignment"><strong>setHorizontalAlignment</strong></a>(self, row, column, align)</dt></dl>

<dl><dt><a name="CellFormatter-setStyleName"><strong>setStyleName</strong></a>(self, row, column, styleName)</dt></dl>

<dl><dt><a name="CellFormatter-setVerticalAlignment"><strong>setVerticalAlignment</strong></a>(self, row, column, align)</dt></dl>

<dl><dt><a name="CellFormatter-setVisible"><strong>setVisible</strong></a>(self, row, column, visible)</dt></dl>

<dl><dt><a name="CellFormatter-setWidth"><strong>setWidth</strong></a>(self, row, column, width)</dt></dl>

<dl><dt><a name="CellFormatter-setWordWrap"><strong>setWordWrap</strong></a>(self, row, column, wrap)</dt></dl>

</td></tr></table>''',
'LayoutData': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LayoutData">class <strong>LayoutData</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="LayoutData-__init__"><strong>__init__</strong></a>(self, direction)</dt></dl>

</td></tr></table>''',
'HasVerticalAlignment': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HasVerticalAlignment">class <strong>HasVerticalAlignment</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>ALIGN_BOTTOM</strong> = 'bottom'</dl>

<dl><dt><strong>ALIGN_MIDDLE</strong> = 'middle'</dl>

<dl><dt><strong>ALIGN_TOP</strong> = 'top'</dl>

</td></tr></table>''',
'Frame': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Frame">class <strong>Frame</strong></a>(<a href="docui.html#Widget">Widget</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;widget&nbsp;that&nbsp;wraps&nbsp;an&nbsp;IFRAME&nbsp;element,&nbsp;which&nbsp;can&nbsp;contain&nbsp;an<br>
arbitrary&nbsp;web&nbsp;site.<br>
&nbsp;<br>
Note&nbsp;that&nbsp;if&nbsp;you&nbsp;are&nbsp;using&nbsp;History,&nbsp;any&nbsp;browser&nbsp;history&nbsp;items<br>
generated&nbsp;by&nbsp;the&nbsp;<a href="#Frame">Frame</a>&nbsp;will&nbsp;interleave&nbsp;with&nbsp;your&nbsp;application's&nbsp;history.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#Frame">Frame</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Frame-__init__"><strong>__init__</strong></a>(self, url<font color="#909090">=''</font>)</dt></dl>

<dl><dt><a name="Frame-getUrl"><strong>getUrl</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-setUrl"><strong>setUrl</strong></a>(self, url)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="Frame-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Frame-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Frame-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Frame-onAttach"><strong>onAttach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;has&nbsp;an&nbsp;element,&nbsp;and&nbsp;that&nbsp;element&nbsp;is&nbsp;on&nbsp;the&nbsp;document's<br>
DOM&nbsp;tree,&nbsp;and&nbsp;we&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="Frame-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="Frame-onDetach"><strong>onDetach</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;this&nbsp;widget&nbsp;is&nbsp;being&nbsp;removed&nbsp;from&nbsp;the&nbsp;DOM&nbsp;tree&nbsp;of&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="Frame-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="Frame-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#Frame-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="Frame-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Frame-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<dl><dt><a name="Frame-setParent"><strong>setParent</strong></a>(self, parent)</dt><dd><tt>Update&nbsp;the&nbsp;parent&nbsp;attribute.&nbsp;&nbsp;If&nbsp;the&nbsp;parent&nbsp;is&nbsp;currently&nbsp;attached&nbsp;to&nbsp;the&nbsp;DOM&nbsp;this<br>
assumes&nbsp;we&nbsp;are&nbsp;being&nbsp;attached&nbsp;also&nbsp;and&nbsp;calls&nbsp;<a href="#Frame-onAttach">onAttach</a>().</tt></dd></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="Frame-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;for<br>
the&nbsp;element.</tt></dd></dl>

<dl><dt><a name="Frame-getAbsoluteLeft"><strong>getAbsoluteLeft</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getAbsoluteTop"><strong>getAbsoluteTop</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getElement"><strong>getElement</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>,&nbsp;if&nbsp;any</tt></dd></dl>

<dl><dt><a name="Frame-getOffsetHeight"><strong>getOffsetHeight</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getOffsetWidth"><strong>getOffsetWidth</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getStyleName"><strong>getStyleName</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-getTitle"><strong>getTitle</strong></a>(self)</dt></dl>

<dl><dt><a name="Frame-isVisible"><strong>isVisible</strong></a>(self, element<font color="#909090">=None</font>)</dt><dd><tt>Determine&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;currently&nbsp;visible,&nbsp;by&nbsp;checking&nbsp;the&nbsp;CSS<br>
property&nbsp;'display'</tt></dd></dl>

<dl><dt><a name="Frame-removeStyleName"><strong>removeStyleName</strong></a>(self, style)</dt><dd><tt>Remove&nbsp;a&nbsp;style&nbsp;from&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.</tt></dd></dl>

<dl><dt><a name="Frame-setElement"><strong>setElement</strong></a>(self, element)</dt><dd><tt>Set&nbsp;the&nbsp;DOM&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.</tt></dd></dl>

<dl><dt><a name="Frame-setHeight"><strong>setHeight</strong></a>(self, height)</dt><dd><tt>Set&nbsp;the&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Frame-setPixelSize"><strong>setPixelSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a><br>
in&nbsp;pixels.&nbsp;&nbsp;Width&nbsp;and&nbsp;height&nbsp;should&nbsp;be&nbsp;numbers.</tt></dd></dl>

<dl><dt><a name="Frame-setSize"><strong>setSize</strong></a>(self, width, height)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
values&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Frame-setStyleName"><strong>setStyleName</strong></a>(self, element, style<font color="#909090">=None</font>, add<font color="#909090">=True</font>)</dt><dd><tt>When&nbsp;called&nbsp;with&nbsp;a&nbsp;single&nbsp;argument,&nbsp;this&nbsp;replaces&nbsp;all&nbsp;the&nbsp;CSS&nbsp;classes<br>
associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>'s&nbsp;element&nbsp;with&nbsp;the&nbsp;given&nbsp;parameter.&nbsp;&nbsp;Otherwise,<br>
this&nbsp;is&nbsp;assumed&nbsp;to&nbsp;be&nbsp;a&nbsp;worker&nbsp;function&nbsp;for&nbsp;addStyleName&nbsp;and&nbsp;removeStyleName.</tt></dd></dl>

<dl><dt><a name="Frame-setTitle"><strong>setTitle</strong></a>(self, title)</dt></dl>

<dl><dt><a name="Frame-setVisible"><strong>setVisible</strong></a>(self, element, visible<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;whether&nbsp;this&nbsp;element&nbsp;is&nbsp;visible&nbsp;or&nbsp;not.&nbsp;&nbsp;If&nbsp;a&nbsp;single&nbsp;parameter&nbsp;is<br>
given,&nbsp;the&nbsp;self.<strong>element</strong>&nbsp;is&nbsp;used.&nbsp;&nbsp;This&nbsp;modifies&nbsp;the&nbsp;CSS&nbsp;property&nbsp;'display',<br>
which&nbsp;means&nbsp;that&nbsp;an&nbsp;invisible&nbsp;element&nbsp;not&nbsp;only&nbsp;is&nbsp;not&nbsp;drawn,&nbsp;but&nbsp;doesn't<br>
occupy&nbsp;any&nbsp;space&nbsp;on&nbsp;the&nbsp;page.</tt></dd></dl>

<dl><dt><a name="Frame-setWidth"><strong>setWidth</strong></a>(self, width)</dt><dd><tt>Set&nbsp;the&nbsp;width&nbsp;of&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The<br>
value&nbsp;should&nbsp;be&nbsp;given&nbsp;as&nbsp;a&nbsp;CSS&nbsp;value,&nbsp;such&nbsp;as&nbsp;100px,&nbsp;30%,&nbsp;or&nbsp;50pi</tt></dd></dl>

<dl><dt><a name="Frame-setzIndex"><strong>setzIndex</strong></a>(self, index)</dt></dl>

<dl><dt><a name="Frame-sinkEvents"><strong>sinkEvents</strong></a>(self, eventBitsToAdd)</dt><dd><tt>Request&nbsp;that&nbsp;the&nbsp;given&nbsp;events&nbsp;be&nbsp;delivered&nbsp;to&nbsp;the&nbsp;event&nbsp;handler&nbsp;for&nbsp;this<br>
element.&nbsp;&nbsp;The&nbsp;event&nbsp;bits&nbsp;passed&nbsp;are&nbsp;added&nbsp;(using&nbsp;inclusive&nbsp;OR)&nbsp;to&nbsp;the&nbsp;events<br>
already&nbsp;"sunk"&nbsp;for&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;the&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;The&nbsp;event&nbsp;bits<br>
are&nbsp;a&nbsp;combination&nbsp;of&nbsp;values&nbsp;from&nbsp;class&nbsp;L{<a href="#Event">Event</a>}.</tt></dd></dl>

<dl><dt><a name="Frame-unsinkEvents"><strong>unsinkEvents</strong></a>(self, eventBitsToRemove)</dt><dd><tt>Reverse&nbsp;the&nbsp;operation&nbsp;of&nbsp;sinkEvents.&nbsp;&nbsp;See&nbsp;L{<a href="#UIObject">UIObject</a>.sinkEvents}.</tt></dd></dl>

</td></tr></table>''',
'MouseListener': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MouseListener">class <strong>MouseListener</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;MouseListenerCollection<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="MouseListener-fireMouseEvent"><strong>fireMouseEvent</strong></a>(self, listeners, sender, event)</dt></dl>

</td></tr></table>''',
'Focus': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Focus">class <strong>Focus</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;FocusImpl<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Focus-blur"><strong>blur</strong></a>(self, elem)</dt></dl>

<dl><dt><a name="Focus-createFocusable"><strong>createFocusable</strong></a>(self)</dt></dl>

<dl><dt><a name="Focus-focus"><strong>focus</strong></a>(self, elem)</dt></dl>

<dl><dt><a name="Focus-getTabIndex"><strong>getTabIndex</strong></a>(self, elem)</dt></dl>

<dl><dt><a name="Focus-setAccessKey"><strong>setAccessKey</strong></a>(self, elem, key)</dt></dl>

<dl><dt><a name="Focus-setTabIndex"><strong>setTabIndex</strong></a>(self, elem, index)</dt></dl>

</td></tr></table>''',
'EventObject': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="EventObject">class <strong>EventObject</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="EventObject-__init__"><strong>__init__</strong></a>(self, source)</dt></dl>

<dl><dt><a name="EventObject-getSource"><strong>getSource</strong></a>(self)</dt></dl>

</td></tr></table>''',
'TreeContentPanel': r'''<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TreeContentPanel">class <strong>TreeContentPanel</strong></a>(<a href="docui.html#SimplePanel">SimplePanel</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="docui.html#TreeContentPanel">TreeContentPanel</a></dd>
<dd><a href="docui.html#SimplePanel">SimplePanel</a></dd>
<dd><a href="docui.html#Panel">Panel</a></dd>
<dd><a href="docui.html#Widget">Widget</a></dd>
<dd><a href="docui.html#UIObject">UIObject</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TreeContentPanel-__init__"><strong>__init__</strong></a>(self, element)</dt></dl>

<dl><dt><a name="TreeContentPanel-getTreeItem"><strong>getTreeItem</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-setParent"><strong>setParent</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="TreeContentPanel-setTreeItem"><strong>setTreeItem</strong></a>(self, tree_item)</dt></dl>

<dl><dt><a name="TreeContentPanel-treeSetParent"><strong>treeSetParent</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#SimplePanel">SimplePanel</a>:<br>
<dl><dt><a name="TreeContentPanel-add"><strong>add</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="TreeContentPanel-getContainerElement"><strong>getContainerElement</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-getWidget"><strong>getWidget</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-remove"><strong>remove</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="TreeContentPanel-setWidget"><strong>setWidget</strong></a>(self, widget)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Panel">Panel</a>:<br>
<dl><dt><a name="TreeContentPanel-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-adopt"><strong>adopt</strong></a>(self, widget, container)</dt></dl>

<dl><dt><a name="TreeContentPanel-clear"><strong>clear</strong></a>(self)</dt><dd><tt>#&nbsp;TODO:&nbsp;fix&nbsp;iterator&nbsp;<a href="#TreeContentPanel-remove">remove</a>()</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-disown"><strong>disown</strong></a>(self, widget)</dt></dl>

<dl><dt><a name="TreeContentPanel-onAttach"><strong>onAttach</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-onDetach"><strong>onDetach</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#Widget">Widget</a>:<br>
<dl><dt><a name="TreeContentPanel-getID"><strong>getID</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-getLayoutData"><strong>getLayoutData</strong></a>(self)</dt></dl>

<dl><dt><a name="TreeContentPanel-getParent"><strong>getParent</strong></a>(self)</dt><dd><tt>Widgets&nbsp;are&nbsp;kept&nbsp;in&nbsp;a&nbsp;hierarchy,&nbsp;and&nbsp;widgets&nbsp;that&nbsp;have&nbsp;been&nbsp;added&nbsp;to&nbsp;a&nbsp;panel<br>
will&nbsp;have&nbsp;a&nbsp;parent&nbsp;widget&nbsp;that&nbsp;contains&nbsp;them.&nbsp;&nbsp;This&nbsp;retrieves&nbsp;the&nbsp;containing<br>
widget&nbsp;for&nbsp;this&nbsp;widget.</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-isAttached"><strong>isAttached</strong></a>(self)</dt><dd><tt>Return&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;widget&nbsp;has&nbsp;been&nbsp;attached&nbsp;to&nbsp;the&nbsp;document.</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-onBrowserEvent"><strong>onBrowserEvent</strong></a>(self, event)</dt></dl>

<dl><dt><a name="TreeContentPanel-onLoad"><strong>onLoad</strong></a>(self, sender)</dt></dl>

<dl><dt><a name="TreeContentPanel-removeFromParent"><strong>removeFromParent</strong></a>(self)</dt><dd><tt>Remove&nbsp;ourself&nbsp;from&nbsp;our&nbsp;parent.&nbsp;&nbsp;The&nbsp;parent&nbsp;widget&nbsp;will&nbsp;call&nbsp;<a href="#TreeContentPanel-setParent">setParent</a>(None)&nbsp;on<br>
us&nbsp;automatically</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-setID"><strong>setID</strong></a>(self, id)</dt><dd><tt>Set&nbsp;the&nbsp;id&nbsp;attribute&nbsp;of&nbsp;the&nbsp;associated&nbsp;DOM&nbsp;element.</tt></dd></dl>

<dl><dt><a name="TreeContentPanel-setLayoutData"><strong>setLayoutData</strong></a>(self, layoutData)</dt></dl>

<hr>
Methods inherited from <a href="docui.html#UIObject">UIObject</a>:<br>
<dl><dt><a name="TreeContentPanel-addStyleName"><strong>addStyleName</strong></a>(self, style)</dt><dd><tt>Append&nbsp;a&nbsp;style&nbsp;to&nbsp;the&nbsp;element&nbsp;associated&nbsp;with&nbsp;this&nbsp;<a href="#UIObject">UIObject</a>.&nbsp;&nbsp;This&nbsp;is<br>
a&nbsp;CSS&nbsp;class&nbsp;name.&nbsp;&nbsp;It&nbsp;will&nbsp;be&nbsp;added&nbsp;after&nbsp;any&nbsp;already-assigned&nbsp;CSS&nbsp;class&nbsp;fo