Package | Description |
---|---|
org.eclipse.nebula.widgets.nattable.painter.cell.decorator | |
org.eclipse.nebula.widgets.nattable.sort.painter | |
org.eclipse.nebula.widgets.nattable.ui.util |
Constructor and Description |
---|
CellPainterDecorator(ICellPainter baseCellPainter,
CellEdgeEnum cellEdge,
ICellPainter decoratorCellPainter)
Will create a
CellPainterDecorator with the default spacing of 2 between base and
decoration painter, where the base painter is rendered dependent to the decoration. |
CellPainterDecorator(ICellPainter baseCellPainter,
CellEdgeEnum cellEdge,
ICellPainter decoratorCellPainter,
boolean paintDecorationDependent)
Will create a
CellPainterDecorator with the default spacing of 2 between base and
decoration painter. |
CellPainterDecorator(ICellPainter baseCellPainter,
CellEdgeEnum cellEdge,
int spacing,
ICellPainter decoratorCellPainter)
Will create a
CellPainterDecorator with the given amount of pixels as spacing between base and
decoration painter, where the base painter is rendered dependent to the decoration. |
CellPainterDecorator(ICellPainter baseCellPainter,
CellEdgeEnum cellEdge,
int spacing,
ICellPainter decoratorCellPainter,
boolean paintDecorationDependent)
Will create a
CellPainterDecorator with the given amount of pixels as spacing between base and
decoration painter. |
Constructor and Description |
---|
SortableHeaderTextPainter(ICellPainter interiorPainter,
CellEdgeEnum cellEdge)
Creates a
SortableHeaderTextPainter that uses the given ICellPainter
as base ICellPainter and decorate it with the SortableHeaderTextPainter.SortIconPainter on the specified
edge of the cell. |
SortableHeaderTextPainter(ICellPainter interiorPainter,
CellEdgeEnum cellEdge,
boolean paintBg,
int spacing,
boolean paintDecorationDependent)
|
SortableHeaderTextPainter(ICellPainter interiorPainter,
CellEdgeEnum cellEdge,
ICellPainter decoratorPainter)
Creates a
SortableHeaderTextPainter that uses the given ICellPainter
as base ICellPainter and decorate it with the given ICellPainter to use for sort
related decoration on the specified edge of the cell. |
Modifier and Type | Method and Description |
---|---|
static CellEdgeEnum |
CellEdgeDetectUtil.getHorizontalCellEdge(ILayer layer,
org.eclipse.swt.graphics.Point clickPt) |
static CellEdgeEnum |
CellEdgeDetectUtil.getHorizontalCellEdge(ILayer layer,
org.eclipse.swt.graphics.Point clickPt,
int handleWidth) |
static CellEdgeEnum |
CellEdgeDetectUtil.getHorizontalCellEdge(org.eclipse.swt.graphics.Rectangle cellBounds,
org.eclipse.swt.graphics.Point clickPt)
Gets the edge (left/right) of the cell which is closer to the click point.
|
static CellEdgeEnum |
CellEdgeDetectUtil.getHorizontalCellEdge(org.eclipse.swt.graphics.Rectangle cellBounds,
org.eclipse.swt.graphics.Point clickPt,
int distanceFromEdge)
Figure out if the click point is closer to the left/right edge of the cell.
|
static CellEdgeEnum |
CellEdgeDetectUtil.getVerticalCellEdge(ILayer layer,
org.eclipse.swt.graphics.Point clickPt) |
static CellEdgeEnum |
CellEdgeDetectUtil.getVerticalCellEdge(ILayer layer,
org.eclipse.swt.graphics.Point clickPt,
int handleHeight) |
static CellEdgeEnum |
CellEdgeDetectUtil.getVerticalCellEdge(org.eclipse.swt.graphics.Rectangle cellBounds,
org.eclipse.swt.graphics.Point clickPt)
Gets the edge (top/bottom) of the cell which is closer to the click point.
|
static CellEdgeEnum |
CellEdgeEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellEdgeEnum[] |
CellEdgeEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2013. All Rights Reserved.