Class CalculatingGridExample
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
-
- org.eclipse.nebula.widgets.nattable.examples.examples._110_Editing.CalculatingGridExample
-
- All Implemented Interfaces:
INatExample
public class CalculatingGridExample extends AbstractNatExample
Example that demonstrates how to implement a NatTable instance that shows calculated values. Also demonstrates the usage of the SummaryRow on updating the NatTable.
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_FIVE_LABEL
static String
COLUMN_FOUR_LABEL
static String
COLUMN_ONE_LABEL
static String
COLUMN_THREE_LABEL
static String
COLUMN_TWO_LABEL
-
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 CalculatingGridExample()
-
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)
String
getDescription()
static void
main(String[] args)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
getName, getShortDescription, log, onStart, onStop, setupTextArea
-
-
-
-
Field Detail
-
COLUMN_ONE_LABEL
public static final String COLUMN_ONE_LABEL
- See Also:
- Constant Field Values
-
COLUMN_TWO_LABEL
public static final String COLUMN_TWO_LABEL
- See Also:
- Constant Field Values
-
COLUMN_THREE_LABEL
public static final String COLUMN_THREE_LABEL
- See Also:
- Constant Field Values
-
COLUMN_FOUR_LABEL
public static final String COLUMN_FOUR_LABEL
- See Also:
- Constant Field Values
-
COLUMN_FIVE_LABEL
public static final String COLUMN_FIVE_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceINatExample
- Overrides:
getDescription
in classAbstractNatExample
-
createExampleControl
public org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)
-
-