Public Member Functions | Public Attributes
tornado.web.UIModule Class Reference
Inheritance diagram for tornado.web.UIModule:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def css_files
def embedded_css
def embedded_javascript
def html_body
def html_head
def javascript_files
def render
def render_string

Public Attributes

 current_user
 handler
 locale
 request
 ui

Detailed Description

A UI re-usable, modular unit on a page.

UI modules often execute additional queries, and they can include
additional CSS and JavaScript that will be included in the output
page, which is automatically inserted on page render.

Definition at line 1798 of file web.py.


Constructor & Destructor Documentation

def tornado.web.UIModule.__init__ (   self,
  handler 
)

Reimplemented in tornado.web.TemplateModule.

Definition at line 1805 of file web.py.


Member Function Documentation

Returns a list of CSS files required by this module.

Reimplemented in tornado.web.TemplateModule.

Definition at line 1828 of file web.py.

Returns a CSS string that will be embedded in the page.

Reimplemented in tornado.web.TemplateModule.

Definition at line 1824 of file web.py.

Returns a JavaScript string that will be embedded in the page.

Reimplemented in tornado.web.TemplateModule.

Definition at line 1816 of file web.py.

Returns an HTML string that will be put in the <body/> element

Reimplemented in tornado.web.TemplateModule.

Definition at line 1836 of file web.py.

Returns a CSS string that will be put in the <head/> element

Reimplemented in tornado.web.TemplateModule.

Definition at line 1832 of file web.py.

Returns a list of JavaScript files required by this module.

Reimplemented in tornado.web.TemplateModule.

Definition at line 1820 of file web.py.

def tornado.web.UIModule.render (   self,
  args,
  kwargs 
)
Overridden in subclasses to return this module's output.

Reimplemented in tornado.web.TemplateModule, and tornado.web._linkify.

Definition at line 1812 of file web.py.

def tornado.web.UIModule.render_string (   self,
  path,
  kwargs 
)
Renders a template and returns it as a string.

Definition at line 1840 of file web.py.


Member Data Documentation

Definition at line 1805 of file web.py.

Definition at line 1805 of file web.py.

Definition at line 1805 of file web.py.

Definition at line 1805 of file web.py.

Definition at line 1805 of file web.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:15