|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ICellStyle | |
---|---|
de.jaret.util.ui.table | This package contains a flexible custom drawn table widget. |
de.jaret.util.ui.table.model | This package contains the model and model listeners for the jaret table. |
de.jaret.util.ui.table.renderer | This package contains renderers for the jaret table. |
Uses of ICellStyle in de.jaret.util.ui.table |
---|
Methods in de.jaret.util.ui.table with parameters of type ICellStyle | |
---|---|
void |
JaretTable.cellStyleChanged(IRow row,
IColumn column,
ICellStyle style)
Called whenever a cellstyle has been changed. |
Uses of ICellStyle in de.jaret.util.ui.table.model |
---|
Methods in de.jaret.util.ui.table.model that return ICellStyle | |
---|---|
ICellStyle |
ITableViewState.getCellStyle(IRow row,
IColumn column)
Retrieve the cell style for a specified cell. |
ICellStyle |
DefaultTableViewState.getCellStyle(IRow row,
IColumn column)
Retrieve the cell style for a specified cell. |
Methods in de.jaret.util.ui.table.model with parameters of type ICellStyle | |
---|---|
void |
ITableViewStateListener.cellStyleChanged(IRow row,
IColumn column,
ICellStyle cellStyle)
Called whenever a cellstyle has been changed. |
void |
DefaultTableViewState.cellStyleChanged(IRow row,
IColumn column,
ICellStyle style)
Will be called whenever a style changed. |
protected void |
DefaultTableViewState.fireCellStyleChanged(IRow row,
IColumn column,
ICellStyle cellStyle)
|
Uses of ICellStyle in de.jaret.util.ui.table.renderer |
---|
Classes in de.jaret.util.ui.table.renderer that implement ICellStyle | |
---|---|
class |
DefaultCellStyle
Default implementation of ICellStyle. |
Fields in de.jaret.util.ui.table.renderer declared as ICellStyle | |
---|---|
protected ICellStyle |
DefaultCellStyleProvider._defaultCellStyle
the default cell style. |
protected ICellStyle |
DefaultCellStyleProvider._defaultCellStyleAlignRight
the default cell style aligned right. |
Fields in de.jaret.util.ui.table.renderer with type parameters of type ICellStyle | |
---|---|
protected java.util.Map<IRow,java.util.Map<IColumn,ICellStyle>> |
DefaultCellStyleProvider._cellMap
map combintaion storing the style of a cell . |
protected java.util.Map<IColumn,ICellStyle> |
DefaultCellStyleProvider._columnMap
map storing the column cell styles. |
protected java.util.Map<IRow,ICellStyle> |
DefaultCellStyleProvider._rowMap
map storing the row cell styles. |
Methods in de.jaret.util.ui.table.renderer that return ICellStyle | |
---|---|
ICellStyle |
ICellStyle.copy()
Copy the cell style. |
ICellStyle |
ICellStyleProvider.getCellSpecificStyle(IRow row,
IColumn column,
boolean create)
Get the cell style defined for a single cell. |
ICellStyle |
DefaultCellStyleProvider.getCellSpecificStyle(IRow row,
IColumn column,
boolean create)
Get the cell style defined for a single cell. |
ICellStyle |
ICellStyleProvider.getCellStyle(IRow row,
IColumn column)
Retrieve the cell style for a cell. |
ICellStyle |
DefaultCellStyleProvider.getCellStyle(IRow row,
IColumn column)
Retrieve the cell style for a cell. |
ICellStyle |
IStyleStrategy.getCellStyle(IRow row,
IColumn column,
ICellStyle incomingStyle,
ICellStyle defaultCellStyle)
This method is called before a cell style is delivered to the jaret table (by getCellStyle(row, col) in the cell style provider). |
ICellStyle |
ICellStyleProvider.getColumnCellStyle(IColumn column,
boolean create)
Retrieve the cell style for a column. |
ICellStyle |
DefaultCellStyleProvider.getColumnCellStyle(IColumn column,
boolean create)
Retrieve the cell style for a column. |
ICellStyle |
ICellStyleProvider.getDefaultCellStyle()
Retrieve the default cell style used for cells where no style has been set. |
ICellStyle |
DefaultCellStyleProvider.getDefaultCellStyle()
Retrieve the default cell style used for cells where no style has been set. |
ICellStyle |
ICellStyleProvider.getRowCellStyle(IRow row,
boolean create)
Retrieve the cell style for a row. |
ICellStyle |
DefaultCellStyleProvider.getRowCellStyle(IRow row,
boolean create)
Retrieve the cell style for a row. |
Methods in de.jaret.util.ui.table.renderer with parameters of type ICellStyle | |
---|---|
void |
ICellStyleListener.cellStyleChanged(IRow row,
IColumn column,
ICellStyle style)
Will be called whenever a style changed. |
void |
TextCellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
TableHierarchyRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
SmileyCellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
ObjectImageRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
ImageCellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
ICellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
ClassImageRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
BooleanCellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
void |
BarCellRenderer.draw(org.eclipse.swt.graphics.GC gc,
JaretTable jaretTable,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
IRow row,
IColumn column,
boolean drawFocus,
boolean selected,
boolean printing)
Draw a single cell. |
protected void |
CellRendererBase.drawBackground(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle area,
ICellStyle style,
boolean selected,
boolean printing)
Draw the cell background. |
protected org.eclipse.swt.graphics.Rectangle |
CellRendererBase.drawBorder(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
org.eclipse.swt.graphics.Rectangle drawingArea,
boolean printing)
Draw the border for the cell according to the cell style. |
protected void |
CellRendererBase.drawSelection(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle area,
ICellStyle style,
boolean selected,
boolean printing)
Draws a cell selection by overlaying alpha blended area using SELECTIONCOLOR. |
protected void |
DefaultCellStyleProvider.fireCellStyleChanged(IRow row,
IColumn column,
ICellStyle cellStyle)
Inform listeners about a cell style change. |
protected org.eclipse.swt.graphics.Color |
CellRendererBase.getBackgroundColor(ICellStyle style,
boolean printing)
Get the background color according to a cell style. |
protected org.eclipse.swt.graphics.Color |
CellRendererBase.getBorderColor(ICellStyle style,
boolean printing)
Get the border color according to the cell style. |
ICellStyle |
IStyleStrategy.getCellStyle(IRow row,
IColumn column,
ICellStyle incomingStyle,
ICellStyle defaultCellStyle)
This method is called before a cell style is delivered to the jaret table (by getCellStyle(row, col) in the cell style provider). |
protected org.eclipse.swt.graphics.Font |
CellRendererBase.getFont(ICellStyle style,
boolean printing,
org.eclipse.swt.graphics.Font defaultFont)
Retrieve the font accrding to the cell style. |
protected org.eclipse.swt.graphics.Color |
CellRendererBase.getForegroundColor(ICellStyle style,
boolean printing)
Get the foreground color according to the cell style. |
protected int |
CellRendererBase.getInnerWidth(int width,
ICellStyle cellStyle)
Target inner width (width - borders - insets). |
int |
TextCellRenderer.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
int |
ObjectImageRenderer.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
int |
ICellRenderer.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
int |
ClassImageRenderer.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
int |
CellRendererBase.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
int |
BooleanCellRenderer.getPreferredHeight(org.eclipse.swt.graphics.GC gc,
ICellStyle cellStyle,
int width,
IRow row,
IColumn column)
Calculate the preferred height of a specific cell. |
protected java.util.List<IJaretTableCell> |
DefaultCellStyleProvider.getStyleLocations(ICellStyle style)
Retrieve all cells that have a certain style. |
protected int |
CellRendererBase.getVerticalSpacesSum(ICellStyle cellStyle)
Calculate the sum of all vertical spaces that could be spplied. |
void |
ICellStyleProvider.setCellStyle(IRow row,
IColumn column,
ICellStyle style)
Set the cell style to use for a specific cell. |
void |
DefaultCellStyleProvider.setCellStyle(IRow row,
IColumn column,
ICellStyle style)
Set the cell style to use for a specific cell. |
void |
ICellStyleProvider.setColumnCellStyle(IColumn column,
ICellStyle style)
Set the cell style for a column. |
void |
DefaultCellStyleProvider.setColumnCellStyle(IColumn column,
ICellStyle style)
Set the cell style for a column. |
void |
ICellStyleProvider.setDefaultCellStyle(ICellStyle cellStyle)
Set the default cell style that is used whenever no specific style has been set for a cell, column or row. |
void |
DefaultCellStyleProvider.setDefaultCellStyle(ICellStyle cellStyle)
Set the default cell style that is used whenever no specific style has been set for a cell, column or row. |
void |
ICellStyleProvider.setRowCellStyle(IRow row,
ICellStyle style)
Set the cell style for a row. |
void |
DefaultCellStyleProvider.setRowCellStyle(IRow row,
ICellStyle style)
Set the cell style for a row. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |