public class DefaultTableColumn extends java.lang.Object implements IDefaultTableColumn
Constructor and Description |
---|
DefaultTableColumn() |
DefaultTableColumn(IDefaultTableColumnBuilder columnBuilder) |
DefaultTableColumn(java.lang.String text) |
DefaultTableColumn(java.lang.String text,
AlignmentHorizontal alignment) |
DefaultTableColumn(java.lang.String text,
java.lang.String toolTipText) |
DefaultTableColumn(java.lang.String text,
java.lang.String toolTipText,
AlignmentHorizontal alignment) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(IChangeListener listener)
Adds a change listener
|
static IDefaultTableColumnBuilder |
builder() |
static IDefaultTableColumnBuilder |
builder(java.lang.String text) |
static IDefaultTableColumnBuilder |
builder(java.lang.String text,
AlignmentHorizontal alignment) |
static IDefaultTableColumnBuilder |
builder(java.lang.String text,
java.lang.String toolTipText) |
static IDefaultTableColumnBuilder |
builder(java.lang.String text,
java.lang.String toolTipText,
AlignmentHorizontal alignment) |
AlignmentHorizontal |
getAlignment() |
IImageConstant |
getIcon() |
java.lang.String |
getText() |
java.lang.String |
getToolTipText() |
int |
getWidth() |
boolean |
isVisible() |
void |
removeChangeListener(IChangeListener listener)
Removes a changed listener
|
void |
setAlignment(AlignmentHorizontal alignment) |
void |
setIcon(IImageConstant icon) |
void |
setText(java.lang.String text) |
void |
setToolTipText(java.lang.String tooltipText) |
void |
setVisible(boolean visible) |
void |
setWidth(int width) |
public DefaultTableColumn()
public DefaultTableColumn(java.lang.String text)
public DefaultTableColumn(java.lang.String text, java.lang.String toolTipText)
public DefaultTableColumn(java.lang.String text, AlignmentHorizontal alignment)
public DefaultTableColumn(java.lang.String text, java.lang.String toolTipText, AlignmentHorizontal alignment)
public DefaultTableColumn(IDefaultTableColumnBuilder columnBuilder)
public final java.lang.String getText()
getText
in interface ITableColumnSpi
public final java.lang.String getToolTipText()
getToolTipText
in interface ITableColumnSpi
public final IImageConstant getIcon()
getIcon
in interface ITableColumnSpi
public final void setWidth(int width)
setWidth
in interface ITableColumnSpi
public final int getWidth()
getWidth
in interface ITableColumnSpi
public final AlignmentHorizontal getAlignment()
getAlignment
in interface ITableColumnSpi
public final void setText(java.lang.String text)
setText
in interface IDefaultTableColumn
public final void setToolTipText(java.lang.String tooltipText)
setToolTipText
in interface IDefaultTableColumn
public final void setIcon(IImageConstant icon)
setIcon
in interface IDefaultTableColumn
public final void setAlignment(AlignmentHorizontal alignment)
setAlignment
in interface IDefaultTableColumn
public void setVisible(boolean visible)
setVisible
in interface IDefaultTableColumn
public boolean isVisible()
isVisible
in interface ITableColumn
public final void addChangeListener(IChangeListener listener)
IChangeObservable
addChangeListener
in interface IChangeObservable
listener
- The listener to addpublic final void removeChangeListener(IChangeListener listener)
IChangeObservable
removeChangeListener
in interface IChangeObservable
listener
- The listener to removepublic static IDefaultTableColumnBuilder builder()
public static IDefaultTableColumnBuilder builder(java.lang.String text)
public static IDefaultTableColumnBuilder builder(java.lang.String text, java.lang.String toolTipText)
public static IDefaultTableColumnBuilder builder(java.lang.String text, AlignmentHorizontal alignment)
public static IDefaultTableColumnBuilder builder(java.lang.String text, java.lang.String toolTipText, AlignmentHorizontal alignment)
Siehe auch Jowidgets Nutzerhandbuch