Class Index | File Index

Classes


Class zwt.ui.container.SingleContainer


Extends zwt.ui.container.Container.

A single container can only contain one widget at a time.


Defined in: SingleContainer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a single container.
Method Summary
Method Attributes Method Name and Description
 
Return the panel's content widget.
 
Return true if the container is focusable and if the content widgets is also focusable.
 
processFocusEvent(zwt_event_FocusEvent_event)
Process the specified focus event.
 
Set the container content.
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, processEvent, processKeyboardEvent, processWheelEvent, redraw, removeStyle, replaceStyle, setFill, setFocusable, setId, setStyle, setVisible
Class Detail
zwt.ui.container.SingleContainer()
Construct a single container.
Author: Jeremy KUHN.
See:
zwt.ui.Part
zwt.ui.popup.Popup
zwt.ui.Fieldset
Method Detail
{zwt.ui.Widget} getContent()
Return the panel's content widget.
Returns:
The part's content

{Boolean} isFocusable()
Return true if the container is focusable and if the content widgets is also focusable.
Returns:
true if the container is focusable

processFocusEvent(zwt_event_FocusEvent_event)
Process the specified focus event.
Parameters:
{zwt.event.FocusEvent} zwt_event_FocusEvent_event
The focus event to process

setContent(The)
Set the container content. 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)