public class CTConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_HEADER_LAYOUT_DEFAULT
Field
|
static int |
COLUMN_HEADER_LAYOUT_FILL
Field
|
static int |
COLUMN_HEADER_LAYOUT_FILL_EQUAL
Field
|
static int |
ROW_HEADER_LAYOUT_DEFAULT
Field
|
static int |
ROW_HEADER_LAYOUT_FILL
Field
|
static int |
STYLE_GRID
Field
|
static int |
STYLE_TABLE
Field
|
Constructor and Description |
---|
CTConfiguration(org.eclipse.swt.widgets.Control parent,
int style)
Creates a new grid or table.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnHeaderLayout() |
org.eclipse.swt.graphics.Font |
getFont() |
int |
getHorizontalAlignment() |
int |
getRowHeaderLayout() |
int |
getStyle() |
boolean |
isCellSelectionEnabled() |
boolean |
isColumnSelectionEnabled() |
boolean |
isRowSelectionEnabled() |
void |
setCellSelectionEnabled(boolean cellSelectionEnabled) |
void |
setColumnHeaderLayout(int columnHeaderLayout) |
void |
setColumnSelectionEnabled(boolean columnSelectionEnabled) |
void |
setFont(org.eclipse.swt.graphics.Font font) |
void |
setHorizontalAlignment(int horizontalAlignment) |
void |
setRowHeaderLayout(int rowHeaderLayout) |
void |
setRowSelectionEnabled(boolean rowSelectionEnabled) |
public static final int COLUMN_HEADER_LAYOUT_DEFAULT
public static final int COLUMN_HEADER_LAYOUT_FILL_EQUAL
public static final int COLUMN_HEADER_LAYOUT_FILL
public static final int ROW_HEADER_LAYOUT_DEFAULT
public static final int ROW_HEADER_LAYOUT_FILL
public static final int STYLE_TABLE
public static final int STYLE_GRID
public CTConfiguration(org.eclipse.swt.widgets.Control parent, int style)
parent
- style
- public int getColumnHeaderLayout()
public org.eclipse.swt.graphics.Font getFont()
public int getHorizontalAlignment()
public int getRowHeaderLayout()
public int getStyle()
public boolean isCellSelectionEnabled()
public boolean isColumnSelectionEnabled()
public boolean isRowSelectionEnabled()
public void setCellSelectionEnabled(boolean cellSelectionEnabled)
cellSelectionEnabled
- public void setColumnHeaderLayout(int columnHeaderLayout)
columnHeaderLayout
- public void setColumnSelectionEnabled(boolean columnSelectionEnabled)
columnSelectionEnabled
- public void setFont(org.eclipse.swt.graphics.Font font)
font
- public void setHorizontalAlignment(int horizontalAlignment)
horizontalAlignment
- public void setRowHeaderLayout(int rowHeaderLayout)
rowHeaderLayout
- public void setRowSelectionEnabled(boolean rowSelectionEnabled)
rowSelectionEnabled
-