Class Index | File Index

Classes


Class zwt.ui.Label


Extends zwt.ui.Widget.

A label widget.

CSS rules

.zwt_label {}

Defined in: Label.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a label.
Method Summary
Method Attributes Method Name and Description
 
Return the click event manager attached to the label.
 
Return the mouse event manager attached to the label.
 
Return the text of the label.
 
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.
 
setText(string_text)
Set the text of the label.
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.Label()
Construct a label.
Author: Jeremy KUHN.
Method Detail
{zwt.event.ClickEventManager} getClickEventManager()
Return the click event manager attached to the label.
Returns:
The click event manager

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

{String} getText()
Return the text of the label.
Returns:
The text.

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

setText(string_text)
Set the text of the label.
Parameters:
{String} string_text
The label text.

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