Class _423_ThemeStylingExample
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
-
- org.eclipse.nebula.widgets.nattable.examples._400_Configuration._423_ThemeStylingExample
-
- All Implemented Interfaces:
INatExample
public class _423_ThemeStylingExample extends AbstractNatExample
Example showing how to useThemeConfiguration
s in a NatTable. It shows how to set and how to switch themes at runtime. Note that there are several things that are not controllable via themes like row height, column width or ILayerPainter. The later are tight connected to the ILayer themselves.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FEMALE_LABEL
static String
MALE_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 _423_ThemeStylingExample()
-
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
-
FEMALE_LABEL
public static final String FEMALE_LABEL
- See Also:
- Constant Field Values
-
MALE_LABEL
public static final String MALE_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)
-
-