IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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.XUITableColumn
All Implemented Interfaces:
IKeyHolder, IXUIEventListener, IXUIWidget, java.util.EventListener, org.eclipse.swt.events.FocusListener, org.eclipse.swt.internal.SWTEventListener

public class XUITableColumn
extends XUISWTWidget

XML UI Table Column widget


Field Summary
 
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
background, focusLost, foreground
 
Constructor Summary
XUITableColumn()
           
 
Method Summary
 boolean canModify()
          Check if this column can be modified
 void dispose()
          Dispose this widget, release resources.
 Alignment getAlignment()
          Get alignment mode, it has three values: LEFT, CENTER, and RIGHT.
 java.lang.String getDataName()
          Get data name for this column
 ICellEditor getEditor()
          Get cell editor for this column
protected  int getStyle()
          Get SWT widget style
 XUITable getTable()
          Get container table
 org.eclipse.swt.widgets.TableColumn getWidget()
          Get wrapped widget instance
 java.lang.Class<?> getWidgetType()
          Get wrapped widget class type
 void setAlignment(Alignment alignment)
          Set alignment mode, it has three values: LEFT, CENTER, and RIGHT.
 void setDataName(java.lang.String dataName)
          Set data name for this column
 void setEditor(ICellEditor editor)
          Set cell editor for this column
 void setTable(XUITable table)
          Set container table
 
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget
addListener, cacheProperty, createWidget, focusGained, focusLost, getCachedProperties, 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
 

Constructor Detail

XUITableColumn

public XUITableColumn()
Method Detail

getWidget

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

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

getWidgetType

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

Returns:

getTable

public XUITable getTable()
Get container table

Returns:

setTable

public void setTable(XUITable table)
Set container table

Parameters:
table -

getDataName

public java.lang.String getDataName()
Get data name for this column

Returns:

setDataName

public void setDataName(java.lang.String dataName)
Set data name for this column

Parameters:
dataName -

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

setEditor

public void setEditor(ICellEditor editor)
Set cell editor for this column

Parameters:
editor -

getEditor

public ICellEditor getEditor()
Get cell editor for this column

Returns:

canModify

public boolean canModify()
Check if this column can be modified

Returns:

getAlignment

public Alignment getAlignment()
Get alignment mode, it has three values: LEFT, CENTER, and RIGHT.

Returns:

setAlignment

public void setAlignment(Alignment alignment)
Set alignment mode, it has three values: LEFT, CENTER, and RIGHT.

Parameters:
alignment -

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