Class GridUtils

java.lang.Object
org.eclipse.nebula.widgets.grid.GridUtils

public class GridUtils
extends java.lang.Object
Some tools for Grid.
  • Constructor Summary

    Constructors 
    Constructor Description
    GridUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void gridToXml​(Grid grid, java.io.OutputStream outputStream)
    This method export a grid into a outputstream using xml.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • gridToXml

      public static void gridToXml​(Grid grid, java.io.OutputStream outputStream) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
      This method export a grid into a outputstream using xml. SWT Main thread is required for the export. Full supports for Grid Table. Grid Tree only visible items was exported.
      Parameters:
      grid - the grid who will be export to xml.
      outputStream - used for the export.
      Throws:
      javax.xml.parsers.ParserConfigurationException
      javax.xml.transform.TransformerException