org.eclipse.nebula.widgets.nattable.examples._400_Configuration
Class _423_ThemeStylingExample

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
      extended by org.eclipse.nebula.widgets.nattable.examples._400_Configuration._423_ThemeStylingExample
All Implemented Interfaces:
INatExample

public class _423_ThemeStylingExample
extends AbstractNatExample

Example showing how to use ThemeConfigurations 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
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
_423_ThemeStylingExample()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

_423_ThemeStylingExample

public _423_ThemeStylingExample()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in interface INatExample
Overrides:
getDescription in class AbstractNatExample

createExampleControl

public org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)


Copyright © 2015. All rights reserved.