com.supermap.data
Class DatasetGroupRenamingEvent
- java.lang.Object
- 
- java.util.EventObject
- 
- com.supermap.data.DatasetGroupRenamingEvent
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 
 public class DatasetGroupRenamingEvent extends java.util.EventObjectIndicates an event in which the dataset grouping name was modified.This event is triggered before the dataset name is modified. - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor and Description DatasetGroupRenamingEvent(java.lang.Object source, java.lang.String oldName, java.lang.String newName, boolean cancel)Construct a new object of DatasetGroupRenamingEvent based on the given parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetNewName()Returns a new name for the dataset grouping.java.lang.StringgetOldName()Returns the original name of the dataset grouping.booleanisCancel()Returns a value that indicates whether the event should be canceled.voidsetCancel(boolean value)Set a value that indicates whether the event should be canceled.voidsetNewName(java.lang.String value)Set a new name for the dataset grouping.
 
- 
- 
- 
Constructor Detail- 
DatasetGroupRenamingEventpublic DatasetGroupRenamingEvent(java.lang.Object source, java.lang.String oldName, java.lang.String newName, boolean cancel)Construct a new object of DatasetGroupRenamingEvent based on the given parameters.- Parameters:
- source- object to initiate the event.
- oldName- The name of the dataset grouping that will be renamed.
- newName- The new name of the dataset grouping.
- cancel- indicates whether the event should be canceled. True if the event should be canceled; false otherwise.
 
 
- 
 - 
Method Detail- 
getOldNamepublic java.lang.String getOldName() Returns the original name of the dataset grouping.- Returns:
- The original name of the dataset grouping.
 
 - 
getNewNamepublic java.lang.String getNewName() Returns a new name for the dataset grouping.- Returns:
- The new name of the dataset grouping.
 
 - 
setNewNamepublic void setNewName(java.lang.String value) Set a new name for the dataset grouping.- Parameters:
- new- name for the value dataset grouping.
 
 - 
isCancelpublic boolean isCancel() Returns a value that indicates whether the event should be canceled.- Returns:
- A Boolean value that indicates whether the event should be canceled, true representing the event should be canceled.
 
 - 
setCancelpublic void setCancel(boolean value) Set a value that indicates whether the event should be canceled.- Parameters:
- value- is a Boolean value that indicates whether the event should be canceled, true means that the event should be canceled.
 
 
- 
 
-