Class HeatmapPanelSelectionEvent

  • All Implemented Interfaces:
    Serializable

    public class HeatmapPanelSelectionEvent
    extends EventObject
    Event that gets sent in case of a box selection event in the HeatmapPanel.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_TopLeft

        protected Point m_TopLeft
        the top-left of the selection.
      • m_BottomRight

        protected Point m_BottomRight
        the bottom-right of the selection.
      • m_ModifiersEx

        protected int m_ModifiersEx
        the associated modifiers.
    • Constructor Detail

      • HeatmapPanelSelectionEvent

        public HeatmapPanelSelectionEvent​(HeatmapPanel source,
                                          Point topLeft,
                                          Point bottomRight,
                                          int modifiersEx)
        Initializes the event.
        Parameters:
        source - the source of the event
        topLeft - the top-left of the selection
        bottomRight - the bottom-right of the selection
        modifiersEx - the extended modifiers associated with the event when releasing the mouse
    • Method Detail

      • getHeatmapPanel

        public HeatmapPanel getHeatmapPanel()
        Returns the heatmap panel that triggered the event.
        Returns:
        the heatmap panel
      • getTopLeft

        public Point getTopLeft()
        Returns the top-left position.
        Returns:
        the position
      • getBottomRight

        public Point getBottomRight()
        Returns the bottom-right position.
        Returns:
        the position
      • getModifiersEx

        public int getModifiersEx()
        Returns the associated modifiers.
        Returns:
        the modifiers
        See Also:
        MouseEvent.getModifiersEx()