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
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.widgets.Control
createExampleControl
(org.eclipse.swt.widgets.Composite parent) static void
Methods inherited from class org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
getDescription, getName, getShortDescription, log, onStart, onStop, setupTextArea
-
Constructor Details
-
_002_Using_a_custom_cell_painter
public _002_Using_a_custom_cell_painter()
-
-
Method Details
-
main
- Throws:
Exception
-
createExampleControl
public org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)
-