Class GridHeaderEditor

java.lang.Object
org.eclipse.swt.custom.ControlEditor
org.eclipse.nebula.widgets.grid.GridHeaderEditor

class GridHeaderEditor
extends org.eclipse.swt.custom.ControlEditor
Manager for a Control that appears below the grid column header. Based on GridEditor.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) org.eclipse.swt.events.ControlListener columnListener  
    (package private) org.eclipse.swt.widgets.Listener resizeListener  

    Fields inherited from class org.eclipse.swt.custom.ControlEditor

    grabHorizontal, grabVertical, horizontalAlignment, minimumHeight, minimumWidth, verticalAlignment
  • Constructor Summary

    Constructors 
    Constructor Description
    GridHeaderEditor​(GridColumn column)
    Creates a TableEditor for the specified Table.
  • Method Summary

    Modifier and Type Method Description
    void dispose()
    Removes all associations between the TableEditor and the cell in the table.
    (package private) void initColumn()
    Sets the zero based index of the column of the cell being tracked by this editor.
    protected org.eclipse.swt.graphics.Rectangle internalComputeBounds()
    Returns the bounds of the editor.
    void layout()
    void setEditor​(org.eclipse.swt.widgets.Control editor)  

    Methods inherited from class org.eclipse.swt.custom.ControlEditor

    getEditor

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • GridHeaderEditor

      GridHeaderEditor​(GridColumn column)
      Creates a TableEditor for the specified Table.
      Parameters:
      column - the Table Control above which this editor will be displayed
  • Method Details

    • internalComputeBounds

      protected org.eclipse.swt.graphics.Rectangle internalComputeBounds()
      Returns the bounds of the editor.
      Returns:
      bounds of the editor.
    • dispose

      public void dispose()
      Removes all associations between the TableEditor and the cell in the table. The Table and the editor Control are not disposed.
      Overrides:
      dispose in class org.eclipse.swt.custom.ControlEditor
    • initColumn

      void initColumn()
      Sets the zero based index of the column of the cell being tracked by this editor.
      Parameters:
      column - the zero based index of the column of the cell being tracked by this editor
    • layout

      public void layout()
      Overrides:
      layout in class org.eclipse.swt.custom.ControlEditor
    • setEditor

      public void setEditor​(org.eclipse.swt.widgets.Control editor)
      Overrides:
      setEditor in class org.eclipse.swt.custom.ControlEditor