Class StateChangeEvent
- 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:
IStateChangedListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateChangeEvent.StateChangeType
Enum for the type of change that was done to a NatTable view configuration.
-
Constructor Summary
Constructors Constructor Description StateChangeEvent(String viewConfigName, StateChangeEvent.StateChangeType type)
Create a newStateChangeEvent
for the given view configuration name and type of change.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateChangeEvent.StateChangeType
getType()
String
getViewConfigName()
-
-
-
Constructor Detail
-
StateChangeEvent
public StateChangeEvent(String viewConfigName, StateChangeEvent.StateChangeType type)
Create a newStateChangeEvent
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
-
getType
public StateChangeEvent.StateChangeType 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.
-
-