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 current_user
def embedded_css
def embedded_javascript
def html_body
def html_head
def javascript_files
def render
def render_string

Public Attributes

 handler
 locale
 request
 ui

Detailed Description

A re-usable, modular UI 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 2611 of file web.py.


Constructor & Destructor Documentation

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

Reimplemented in tornado.web.TemplateModule.

Definition at line 2618 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 2644 of file web.py.

Definition at line 2625 of file web.py.

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

Reimplemented in tornado.web.TemplateModule.

Definition at line 2640 of file web.py.

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

Reimplemented in tornado.web.TemplateModule.

Definition at line 2632 of file web.py.

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

Reimplemented in tornado.web.TemplateModule.

Definition at line 2652 of file web.py.

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

Reimplemented in tornado.web.TemplateModule.

Definition at line 2648 of file web.py.

Returns a list of JavaScript files required by this module.

Reimplemented in tornado.web.TemplateModule.

Definition at line 2636 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 2628 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 2656 of file web.py.


Member Data Documentation

Definition at line 2618 of file web.py.

Definition at line 2618 of file web.py.

Definition at line 2618 of file web.py.

Definition at line 2618 of file web.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Jun 6 2019 21:51:51