Class DataLabelsSelectionHandler

    • Constructor Detail

      • DataLabelsSelectionHandler

        public DataLabelsSelectionHandler()
        Creates a callback setting CursorType.POINTER as pointer.
      • DataLabelsSelectionHandler

        public DataLabelsSelectionHandler​(CursorType cursor)
        Creates a callback setting the pointer cursor what is passed as argument.
        Parameters:
        cursor - the cursor type to use. If null, uses CursorType.POINTER as pointer
    • Method Detail

      • addDatasetSelectionEventHandler

        public void addDatasetSelectionEventHandler​(DatasetSelectionEventHandler handler)
        Adds a data set selection handler instance to be invoke at click event.
        Parameters:
        handler - data set selection handler instance to be invoke at click event
      • removeDatasetSelectionEventHandler

        public boolean removeDatasetSelectionEventHandler​(DatasetSelectionEventHandler handler)
        Removes a data set selection handler instance.
        Parameters:
        handler - data set selection handler instance
        Returns:
        true if the handler has been removed, otherwise false