Nebula NatTable - Styling Tutorial. This tutorial explains the styling mechanisms in NatTable. After this tutorial you should be able to understand the basics of the labeling mechanism, the styling options and theme styling in NatTable.
NatTable has styling support.
ThemeConfiguration specifies the theme configurations for NatTable core styling.
It is technically a
AbstractRegistryConfiguration and can be registered like any other configuration.
For theme support and enabling changing the theme at runtime, a ThemeConfiguration should be set to a NatTable instance via
There are three default themes available in NatTable core:
DefaultNatTableThemeConfiguration - This is the classic NatTable styling that is used by default for a long time.
ModernNatTableThemeConfiguration - A more modern looking NatTable
DarkNatTableThemeConfiguration - A dark theme for NatTable
To create a custom theme you can directly extend the abstract ThemeConfiguration or extend one of the default theme configurations.
In its latest release, NatTable can also be styled via CSS, see https://eclipse.org/nattable/nandn/nandn_140.php for more information.
Copyright © 2012-2019 vogella GmbH. Free use of the software examples is granted under the terms of the Eclipse Public License 2.0. This tutorial is published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license.