java.lang.Object
org.eclipse.nebula.widgets.nattable.persistence.command.StateChangeEvent

public class StateChangeEvent extends Object
Event that will be fired if the NatTable states/view configurations are changed using the PersistenceDialog.

Will only contain the name of the view configuration (might also be known as state prefix) and the type of change made to it. It will not carry the Properties itself.

See Also:
  • Constructor Details

    • StateChangeEvent

      public StateChangeEvent(String viewConfigName, StateChangeEvent.StateChangeType type)
      Create a new StateChangeEvent for the given view configuration name and type of change.
      Parameters:
      viewConfigName - The name of the view configuration (or prefix) that has been changed.
      type - The type of change that was done to a view configuration.
  • Method Details

    • getType

      Returns:
      The type of change that was done to a view configuration.
    • getViewConfigName

      public String getViewConfigName()
      Returns:
      The name of the view configuration (or prefix) that has been changed.