IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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

public abstract class XUISWTTableDataWidget
extends XUISWTWidget
implements IMapDataHolder, IListDataHolder, IXUIRequiredSource

XML UI base class for widgets which access table type data.


Field Summary
 
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
background, focusLost, foreground
 
Constructor Summary
XUISWTTableDataWidget()
           
 
Method Summary
 IMapModel getData()
          Get map data value
 IListModel getDataForList()
          Get list data value
 java.lang.String getDataName()
          Get map data name
 java.lang.String getDataNameForList()
          Get list data name
protected  int getStyle()
          Get SWT widget style
 boolean isBorder()
          Get if this text has border
 boolean isRequired()
          Get if this source is required
abstract  void refresh()
          Refresh table selection using latest data
abstract  void refreshList()
          Refresh table conents using latest data
 void setBorder(boolean border)
          Set if this text has border
 void setData(IMapModel data)
          Set map data value
 void setDataForList(IListModel obj)
          Set list data value
 void setDataName(java.lang.String name)
          Set map data name
 void setDataNameForList(java.lang.String dataNameForList)
          Set list data name
 void setRequired(boolean required)
          Set if this source is required
 
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, handleXUIEvent, 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

XUISWTTableDataWidget

public XUISWTTableDataWidget()
Method Detail

getData

public IMapModel getData()
Description copied from interface: IMapDataHolder
Get map data value

Specified by:
getData in interface IMapDataHolder
Returns:

getDataName

public java.lang.String getDataName()
Description copied from interface: IMapDataHolder
Get map data name

Specified by:
getDataName in interface IMapDataHolder
Returns:

setData

public void setData(IMapModel data)
Description copied from interface: IMapDataHolder
Set map data value

Specified by:
setData in interface IMapDataHolder

setDataName

public void setDataName(java.lang.String name)
Description copied from interface: IMapDataHolder
Set map data name

Specified by:
setDataName in interface IMapDataHolder

refresh

public abstract void refresh()
Refresh table selection using latest data


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

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 text has border

Returns:

setBorder

public void setBorder(boolean border)
Set if this text has border

Parameters:
border -

refreshList

public abstract void refreshList()
Refresh table conents using latest data


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, 2011