Class Index | File Index

Classes


Class zwt.ui.Part


Extends zwt.ui.container.SingleContainer.

A part widget represents a part of the window ie. the page. Part can contain only one widget which is attached to the window through it.

A part will use the maximum space that its container allows to draw its content.

CSS rules

.zwt_part {}

Defined in: Part.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a part.
Method Summary
Method Attributes Method Name and Description
 
Return the click event manager attached to the part.
 
Return the mouse event manager attached to the part.
 
Return the part event manager attached to the part.
 
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.
 
processPartEvent(zwt_event_PartEvent_event)
Process the specified part event.
 
Set the content of the part.
Methods borrowed from class zwt.ui.container.SingleContainer:
getContent, isFocusable, processFocusEvent
Methods borrowed from class zwt.ui.container.Container:
getContentEventManager, isFocusContainer, processContentEvent, setFocusContainer
Methods borrowed from class zwt.ui.Widget:
addStyle, draw, getContextFill, getDimension, getElement, getElementDimension, getFill, getFocusEventManager, getId, getKeyboardEventManager, getParent, getRelativeLeft, getRelativeTop, getStyle, getWheelEventManager, hasFocus, hasStyle, isVisible, onEvent, processKeyboardEvent, processWheelEvent, redraw, removeStyle, replaceStyle, setFill, setFocusable, setId, setStyle, setVisible
Class Detail
zwt.ui.Part()
Construct a part.
Author: Jeremy KUHN.
Method Detail
{zwt.event.ClickEventManager} getClickEventManager()
Return the click event manager attached to the part.
Returns:
The click event manager

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

{zwt.event.PartEventManager} getPartEventManager()
Return the part event manager attached to the part.
Returns:
The part 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

processPartEvent(zwt_event_PartEvent_event)
Process the specified part event.
Parameters:
{zwt.event.PartEvent} zwt_event_PartEvent_event
The part event to process

setContent(The)
Set the content of the part. It is more likely to be a zwt.ui.Panel object.
Parameters:
{zwt.ui.Widget} The
content to set or null to empty the part

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