Home Tutorials Training Consulting Products Books Company Donate Contact us









NOW Hiring

Quick links

Share

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.

1. Styling NatTable

NatTable has styling support. The abstract 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 NatTable#setTheme(ThemeConfiguration).

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. == Links and Literature for NatTable Styling

2. About this website

CSS styling in NatTable === vogella GmbH training and consulting support

TRAINING SERVICE & SUPPORT

The vogella company provides comprehensive training and education services from experts in the areas of Eclipse RCP, Android, Git, Java, Gradle and Spring. We offer both public and inhouse training. Whichever course you decide to take, you are guaranteed to experience what many before you refer to as “The best IT class I have ever attended”.

The vogella company offers expert consulting services, development support and coaching. Our customers range from Fortune 100 corporations to individual developers.

Copyright © 2012-2017 vogella GmbH. Free use of the software examples is granted under the terms of the EPL License. This tutorial is published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license.

See Licence.