Class Index | File Index

Classes


Class zwt.ui.HTML


Extends zwt.ui.Widget.

A HTML widget is used to display pure HTML content.

CSS rules

.zwt_html {}

Defined in: HTML.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a HTML object.
Method Summary
Method Attributes Method Name and Description
 
Return the click event manager attached to the HTML.
 
Return the HTML content.
 
Return the HTML element.
 
Return the mouse event manager attached to the HTML.
 
processClickEvent(zwt_event_ClickEvent_event)
Process the specified click event.
 
processEvent(zwt_event_Event_event)
Process the specified event.
 
processMouseEvent(zwt_event_MouseEvent_event)
Process the specified mouse event.
 
setHTML(string_text)
Set the HTML content.
Methods borrowed from class zwt.ui.Widget:
addStyle, draw, getContextFill, getDimension, getElement, getElementDimension, getFill, getFocusEventManager, getId, getKeyboardEventManager, getParent, getRelativeLeft, getRelativeTop, getStyle, getWheelEventManager, hasFocus, hasStyle, isFocusable, isVisible, onEvent, processContentEvent, processFocusEvent, processKeyboardEvent, processWheelEvent, redraw, removeStyle, replaceStyle, setFill, setFocusable, setId, setStyle, setVisible
Class Detail
zwt.ui.HTML()
Construct a HTML object.
Author: Jeremy KUHN.
Method Detail
{zwt.event.ClickEventManager} getClickEventManager()
Return the click event manager attached to the HTML.
Returns:
The click event manager

{String} getHTML()
Return the HTML content.
Returns:
The HTML content

{Element} getHTMLElement()
Return the HTML element.
Returns:
The HTML element

{zwt.event.MouseEventManager} getMouseEventManager()
Return the mouse event manager attached to the HTML.
Returns:
The mouse event manager

processClickEvent(zwt_event_ClickEvent_event)
Process the specified click event.
Parameters:
{zwt.event.ClickEvent} zwt_event_ClickEvent_event
The click event to process

processEvent(zwt_event_Event_event)
Process the specified event.
Parameters:
{zwt.event.Event} zwt_event_Event_event
The event to process

processMouseEvent(zwt_event_MouseEvent_event)
Process the specified mouse event.
Parameters:
{zwt.event.MouseEvent} zwt_event_MouseEvent_event
The mouse event to process

setHTML(string_text)
Set the HTML content.
Parameters:
{String} string_text
HTML content

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 09 2011 19:29:07 GMT+0100 (CET)