Package com.iizix.prop.ui.selection
Class CellSelection
java.lang.Object
com.iizix.prop.ui.selection.CellSelection
- All Implemented Interfaces:
IUICellSelection,IUISelection
The grid selection.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.iizix.prop.ui.selection.IUISelection
asAnimatedSingleIndexedSelection, asBooleanSelection, asCellSelection, asIndexedSelection, asSingleIndexedSelection, asTriStateSelection
Constructor Details
CellSelection
Constructor.- Parameters:
source- The component source.cells- The selected cells.
Method Details
getSource
Get the source component of the event.- Specified by:
getSourcein interfaceIUISelection- Returns:
- The source.
getUISource
Gets the UI component being the source of the event.- Specified by:
getUISourcein interfaceIUISelection- Returns:
- The UI component.
getCellSelectionSource
Get the source component of the event.- Specified by:
getCellSelectionSourcein interfaceIUICellSelection- Returns:
- The cell selection based component.
getSelectedCells
Gets the selected cells.- Specified by:
getSelectedCellsin interfaceIUICellSelection- Returns:
- The selected cells. Do not modify the array!
equals
Equals.toString
Converts the selection to a string.