IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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.XUISWTFieldDataWidget
              extended by com.ibm.btt.rcp.xui.widgets.AbstractXUIListWidget
                  extended by com.ibm.btt.rcp.xui.widgets.XUIList
All Implemented Interfaces:
IFieldDataHolder, IKeyHolder, IListDataHolder, IXUIEventListener, IXUIRequiredSource, IXUIWidget, java.util.EventListener, org.eclipse.swt.events.FocusListener, org.eclipse.swt.internal.SWTEventListener

@Appearance(value={"bounds","font","background","foreground","enabled","visible","border","editable","items"})
@General(value={"id","tabIndex","dataName","dataNameForList","required","helpId"})
@Injection(value={"initializers","actions"})
public class XUIList
extends AbstractXUIListWidget

XML UI List Widget


Field Summary
 
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget
initialized
 
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
background, focusLost, foreground
 
Constructor Summary
XUIList()
           
 
Method Summary
 java.lang.String[] getItems()
          Get items of a string array from list
protected  int getStyle()
          Get SWT widget style
 org.eclipse.swt.widgets.List getWidget()
          Get wrapped widget instance
 java.lang.Class<?> getWidgetType()
          Get wrapped widget class type
 void handleXUIEvent(IXUIEventObject object)
          Logics when receive XUI events
protected  void installListeners()
          Install SWT listeners to this widget.
 boolean isNotFilled()
          Get if this source is not filled
 void refresh()
          Refresh widget using latest data
 void refreshList()
          Refresh whole list using list data
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.AbstractXUIListWidget
getDataForList, getDataNameForList, isBorder, isRequired, setBorder, setDataForList, setDataNameForList, setRequired, setValuesForListModel
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget
getDataName, getDataValue, setDataName, setDataValue
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
addListener, cacheProperty, createWidget, dispose, focusGained, focusLost, getCachedProperties, handleRequired, initialize, removeListener, setColors, setListeners
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUIWidget
fireXUIEvent, getActions, getHelpId, getId, getInitializers, getParent, getTabIndex, getXUIView, setActions, setHelpId, setId, setInitializers, setParent, setTabIndex, setXUIView
 
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.data.IKeyHolder
getId, setId
 

Constructor Detail

XUIList

public XUIList()
Method Detail

getWidgetType

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

Returns:

getWidget

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

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

getItems

public java.lang.String[] getItems()
Description copied from class: AbstractXUIListWidget
Get items of a string array from list

Specified by:
getItems in class AbstractXUIListWidget
Returns:

installListeners

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

Overrides:
installListeners in class XUISWTWidget

refreshList

public void refreshList()
Description copied from class: AbstractXUIListWidget
Refresh whole list using list data

Specified by:
refreshList in class AbstractXUIListWidget

isNotFilled

public boolean isNotFilled()
Description copied from interface: IXUIRequiredSource
Get if this source is not filled

Returns:

refresh

public void refresh()
Description copied from class: XUISWTFieldDataWidget
Refresh widget using latest data

Specified by:
refresh in class XUISWTFieldDataWidget

getStyle

protected int getStyle()
Description copied from class: XUISWTWidget
Get SWT widget style

Overrides:
getStyle in class AbstractXUIListWidget
Returns:
widget style

handleXUIEvent

public void handleXUIEvent(IXUIEventObject object)
Description copied from interface: IXUIEventListener
Logics when receive XUI events

Specified by:
handleXUIEvent in interface IXUIEventListener
Overrides:
handleXUIEvent in class XUISWTFieldDataWidget
Parameters:
object - XUI event object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010