Class CellClickEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class CellClickEvent
    extends MouseEvent
    Represents an event that indicates a clicking on a cell data for a matrix data component like Biglistbox, and provides more information about the row index and the column index.
    Since:
    6.0.1
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Constructor Detail

      • CellClickEvent

        public CellClickEvent​(java.lang.String name,
                              Component target,
                              int x,
                              int y,
                              int pageX,
                              int pageY,
                              int keys,
                              int columnIndex,
                              int rowIndex)
      • CellClickEvent

        public CellClickEvent​(java.lang.String name,
                              Component target,
                              java.lang.String area,
                              int keys,
                              int columnIndex,
                              int rowIndex)
    • Method Detail

      • getData

        public java.lang.Object getData()
        Returns the data of the event, by default returning an integer array of column index and row index.
        Overrides:
        getData in class Event
      • getColumnIndex

        public int getColumnIndex()
        Returns the column index.
      • getRowIndex

        public int getRowIndex()
        Returns the row index