Class Index | File Index

Classes


Class zwt.ui.Image


Extends zwt.ui.Widget.

A image widget.

CSS rules

.zwt_image {}

Defined in: Image.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct an image.
Method Summary
Method Attributes Method Name and Description
 
Return the click event manager attached to the image.
 
Return the mouse event manager attached to the image.
 
Return the image source URL.
 
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.
 
setSource(string_url)
Set the image source URL.
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.Image()
Construct an image.
Author: Jeremy KUHN.
Method Detail
{zwt.event.ClickEventManager} getClickEventManager()
Return the click event manager attached to the image.
Returns:
The click event manager

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

{String} getSource()
Return the image source URL.
Returns:
The image source URL

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

setSource(string_url)
Set the image source URL.
Parameters:
{String} string_url
The image source URL

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:53 GMT+0100 (CET)