IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.xui.widgets
Class XUIComposite

java.lang.Object
  extended by com.ibm.btt.rcp.xui.widgets.XUIWidget
      extended by com.ibm.btt.rcp.xui.widgets.XUISWTWidget
          extended by com.ibm.btt.rcp.xui.widgets.XUIComposite
All Implemented Interfaces:
IKeyHolder, IXUIEventListener, IXUIComposite, IXUIWidget, java.util.EventListener, org.eclipse.swt.events.FocusListener, org.eclipse.swt.internal.SWTEventListener

@Appearance(value={"bounds","background","foreground","font","enabled","visible","image","imageAlignment"})
@General(value="id")
@Injection(value="initializers")
public class XUIComposite
extends XUISWTWidget
implements IXUIComposite

XML UI Composite Widget


Nested Class Summary
static class XUIComposite.InnerComposite
          Inner Composite offers background image and image alignment support
 
Field Summary
 
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
background, focusLost, foreground
 
Constructor Summary
XUIComposite()
           
 
Method Summary
 void addChild(IXUIWidget widget)
          Add child widget
 void dispose()
          Dispose this widget, release resources.
 java.util.List<IXUIWidget> getChildren()
          Get children widgets
 org.eclipse.swt.widgets.Composite getWidget()
          Get wrapped widget instance
 java.lang.Class<?> getWidgetType()
          Get wrapped widget class type
 void initialize(org.eclipse.swt.widgets.Composite parent)
          Initialize this XUI widget.
protected  void installListeners()
          Install SWT listeners to this widget.
 void removeChild(IXUIWidget widget)
          Remove child widget
 void setHelpId(java.lang.String helpId)
          Set Help ID for looking up the help contents.
 void setXUIView(IXUIView view)
          Set XUI View of this widget
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
addListener, cacheProperty, createWidget, focusGained, focusLost, getCachedProperties, getStyle, handleRequired, removeListener, setColors, setListeners
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUIWidget
fireXUIEvent, getActions, getHelpId, getId, getInitializers, getParent, getTabIndex, getXUIView, handleXUIEvent, setActions, setId, setInitializers, setParent, setTabIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.rcp.xui.widgets.IXUIWidget
getParent, getXUIView, setParent
 
Methods inherited from interface com.ibm.btt.rcp.xui.event.IXUIEventListener
handleXUIEvent
 
Methods inherited from interface com.ibm.btt.rcp.xui.data.IKeyHolder
getId, setId
 

Constructor Detail

XUIComposite

public XUIComposite()
Method Detail

getWidget

public org.eclipse.swt.widgets.Composite getWidget()
Description copied from interface: IXUIWidget
Get wrapped widget instance

Specified by:
getWidget in interface IXUIWidget
Overrides:
getWidget in class XUISWTWidget
Returns:

getChildren

public java.util.List<IXUIWidget> getChildren()
Description copied from interface: IXUIComposite
Get children widgets

Specified by:
getChildren in interface IXUIComposite
Returns:

addChild

public void addChild(IXUIWidget widget)
Description copied from interface: IXUIComposite
Add child widget

Specified by:
addChild in interface IXUIComposite

removeChild

public void removeChild(IXUIWidget widget)
Description copied from interface: IXUIComposite
Remove child widget

Specified by:
removeChild in interface IXUIComposite

setXUIView

public void setXUIView(IXUIView view)
Description copied from interface: IXUIWidget
Set XUI View of this widget

Specified by:
setXUIView in interface IXUIWidget
Overrides:
setXUIView in class XUIWidget

getWidgetType

public java.lang.Class<?> getWidgetType()
Description copied from interface: IXUIWidget
Get wrapped widget class type

Specified by:
getWidgetType in interface IXUIWidget
Returns:

initialize

public void initialize(org.eclipse.swt.widgets.Composite parent)
Description copied from class: XUISWTWidget
Initialize this XUI widget. In this method, create wrapped SWT widget; inject global settings and cached properties into it; and so on.

Overrides:
initialize in class XUISWTWidget

setHelpId

public void setHelpId(java.lang.String helpId)
Description copied from class: XUIWidget
Set Help ID for looking up the help contents.

Overrides:
setHelpId in class XUIWidget

installListeners

protected void installListeners()
Description copied from class: XUISWTWidget
Install SWT listeners to this widget.

Overrides:
installListeners in class XUISWTWidget

dispose

public void dispose()
Description copied from class: XUIWidget
Dispose this widget, release resources.

Specified by:
dispose in interface IXUIWidget
Overrides:
dispose in class XUISWTWidget

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010