com.supermap.data

Class DatasetGroupDeletingEvent

  • java.lang.Object
    • java.util.EventObject
      • com.supermap.data.DatasetGroupDeletingEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class DatasetGroupDeletingEvent
    extends java.util.EventObject
    Indicates the event that deletes a dataset grouping in a dataset grouping set.

    This event is triggered before deleting a dataset grouping in a dataset grouping set.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      DatasetGroupDeletingEvent(java.lang.Object source, java.lang.String datasetGroupName, boolean cancel)
      Construct a new object of DatasetGroupDeletingEvent based on the given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDatasetGroupName()
      Returns the name of the dataset grouping.
      boolean isCancel()
      Returns a value that indicates whether the event should be canceled.
      void setCancel(boolean value)
      Set a value that indicates whether the event should be canceled.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DatasetGroupDeletingEvent

        public DatasetGroupDeletingEvent(java.lang.Object source,
                                         java.lang.String datasetGroupName,
                                         boolean cancel)
        Construct a new object of DatasetGroupDeletingEvent based on the given parameters.
        Parameters:
        source - object to initiate the event.
        datasetGroupName - specifies the name of the dataset grouping.
        cancel - indicates whether the event should be canceled. True if the event should be canceled; false otherwise.
    • Method Detail

      • getDatasetGroupName

        public java.lang.String getDatasetGroupName()
        Returns the name of the dataset grouping.
        Returns:
        Name of the dataset grouping.
      • isCancel

        public 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.
      • setCancel

        public 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.