Class CellSelection

    • Constructor Detail

      • CellSelection

        public CellSelection​(UITable source,
                             TCell[] cells)
        Constructor.
        Parameters:
        source - The component source.
        cells - The selected cells.
    • Method Detail

      • getSource

        public UITable getSource()
        Get the source component of the event.
        Specified by:
        getSource in interface IUISelection
        Returns:
        The source.
      • getUISource

        public UITable getUISource()
        Gets the UI component being the source of the event.
        Specified by:
        getUISource in interface IUISelection
        Returns:
        The UI component.
      • getSelectedCells

        public TCell[] getSelectedCells()
        Gets the selected cells.
        Specified by:
        getSelectedCells in interface IUICellSelection
        Returns:
        The selected cells. Do not modify the array!
      • equals

        public boolean equals​(java.lang.Object o)
        Equals.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Converts the selection to a string.
        Overrides:
        toString in class java.lang.Object