com.supermap.data

Class DatasetGroupItemRemovingEvent

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


    public class DatasetGroupItemRemovingEvent
    extends java.util.EventObject
    Indicates the event that deletes a dataset in a dataset grouping. This event is triggered before deleting a dataset in a dataset grouping.
    See Also:
    Serialized Form
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDatasetName()
      Returns the name of the dataset.
      boolean isCancel()
      Returns a value that indicates whether the event should be canceled.
      void setCancel(boolean m_isCancel)
      Set a value that indicates whether the event should be canceled.
      void setDatasetName(java.lang.String m_datasetName)
      Set the name of the dataset.
      • 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

      • DatasetGroupItemRemovingEvent

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

      • getDatasetName

        public java.lang.String getDatasetName()
        Returns the name of the dataset.
        Returns:
        Name of the dataset.
      • setDatasetName

        public void setDatasetName(java.lang.String m_datasetName)
        Set the name of the dataset.
        Parameters:
        the - name of the value dataset.
      • 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 m_isCancel)
        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.