Class 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:
    IStateChangedListener
    • Constructor Detail

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

      • getViewConfigName

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