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
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getSource
in interfaceIUISelection
- Returns:
- The source.
getUISource
Gets the UI component being the source of the event.- Specified by:
getUISource
in interfaceIUISelection
- Returns:
- The UI component.
getCellSelectionSource
Get the source component of the event.- Specified by:
getCellSelectionSource
in interfaceIUICellSelection
- Returns:
- The cell selection based component.
getSelectedCells
Gets the selected cells.- Specified by:
getSelectedCells
in interfaceIUICellSelection
- Returns:
- The selected cells. Do not modify the array!
equals
Equals.toString
Converts the selection to a string.