IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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
All Implemented Interfaces:
IFieldDataHolder, IKeyHolder, IListDataHolder, IXUIEventListener, IXUIRequiredSource, IXUIWidget, java.util.EventListener, org.eclipse.swt.events.FocusListener, org.eclipse.swt.internal.SWTEventListener
Direct Known Subclasses:
XUICombo, XUIList

public abstract class AbstractXUIListWidget
extends XUISWTFieldDataWidget
implements IListDataHolder, IXUIRequiredSource

Abstract XUI 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
AbstractXUIListWidget()
           
 
Method Summary
 IListModel getDataForList()
          Get list data value
 java.lang.String getDataNameForList()
          Get list data name
(package private) abstract  java.lang.String[] getItems()
          Get items of a string array from list
protected  int getStyle()
          Get SWT widget style
 boolean isBorder()
          Get if this List has Border
 boolean isRequired()
          Get if this source is required
abstract  void refreshList()
          Refresh whole list using list data
 void setBorder(boolean border)
          Set if this List has Border
 void setDataForList(IListModel obj)
          Set list data value
 void setDataNameForList(java.lang.String dataNameForList)
          Set list data name
 void setRequired(boolean required)
          Set if this source is required
 void setValuesForListModel(java.lang.Object[] values)
          Set list values for this widget
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget
getDataName, getDataValue, handleXUIEvent, refresh, setDataName, setDataValue
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
addListener, cacheProperty, createWidget, dispose, focusGained, focusLost, getCachedProperties, getWidget, handleRequired, initialize, installListeners, 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.require.IXUIRequiredSource
isNotFilled
 
Methods inherited from interface com.ibm.btt.rcp.xui.data.IKeyHolder
getId, setId
 
Methods inherited from interface com.ibm.btt.rcp.xui.widgets.IXUIWidget
getWidgetType
 

Constructor Detail

AbstractXUIListWidget

public AbstractXUIListWidget()
Method Detail

getDataForList

public IListModel getDataForList()
Description copied from interface: IListDataHolder
Get list data value

Specified by:
getDataForList in interface IListDataHolder
Returns:

getDataNameForList

public java.lang.String getDataNameForList()
Description copied from interface: IListDataHolder
Get list data name

Specified by:
getDataNameForList in interface IListDataHolder
Returns:

setDataForList

public void setDataForList(IListModel obj)
Description copied from interface: IListDataHolder
Set list data value

Specified by:
setDataForList in interface IListDataHolder

setValuesForListModel

public void setValuesForListModel(java.lang.Object[] values)
Set list values for this widget

Parameters:
values -

refreshList

public abstract void refreshList()
Refresh whole list using list data


getItems

abstract java.lang.String[] getItems()
Get items of a string array from list

Returns:

setDataNameForList

public void setDataNameForList(java.lang.String dataNameForList)
Description copied from interface: IListDataHolder
Set list data name

Specified by:
setDataNameForList in interface IListDataHolder

isRequired

public boolean isRequired()
Description copied from interface: IXUIRequiredSource
Get if this source is required

Specified by:
isRequired in interface IXUIRequiredSource
Returns:

setRequired

public void setRequired(boolean required)
Description copied from interface: IXUIRequiredSource
Set if this source is required

Specified by:
setRequired in interface IXUIRequiredSource

isBorder

public boolean isBorder()
Get if this List has Border

Returns:

setBorder

public void setBorder(boolean border)
Set if this List has Border

Parameters:
border -

getStyle

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

Overrides:
getStyle in class XUISWTWidget
Returns:
widget style

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009