org.eclipse.nebula.widgets.nattable.persistence.command
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.
- Author:
- Dirk Fauth
- See Also:
IStateChangedListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.
Copyright © 2015. All rights reserved.