Class _002_Using_a_custom_cell_painter
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
-
- org.eclipse.nebula.widgets.nattable.examples.examples._104_Styling._002_Using_a_custom_cell_painter
-
- All Implemented Interfaces:
INatExample
public class _002_Using_a_custom_cell_painter extends AbstractNatExample
This example demonstrates the use of custom painters. The cells contain data as decimal numbers. This decimal number is converted into a percentage and rendered by the painter as bars in the cell.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.nebula.widgets.nattable.examples.INatExample
BASE_PACKAGE, BASE_PATH, CLASSIC_BASE_PACKAGE, CLASSIC_BASE_PATH, CLASSIC_EXAMPLES_PREFIX, TUTORIAL_EXAMPLES_PREFIX
-
-
Constructor Summary
Constructors Constructor Description _002_Using_a_custom_cell_painter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.Control
createExampleControl(org.eclipse.swt.widgets.Composite parent)
static void
main(String[] args)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
getDescription, getName, getShortDescription, log, onStart, onStop, setupTextArea
-
-