Package com.iizix.prop.ui.selection
Class CellSelection
- java.lang.Object
- com.iizix.prop.ui.selection.CellSelection
 
- All Implemented Interfaces:
- IUICellSelection,- IUISelection
 - public class CellSelection extends java.lang.Object implements IUICellSelection The grid selection.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - CellSelection(UITable source, TCell[] cells)Constructor.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - boolean- equals(java.lang.Object o)Equals.- IUICellSelectionComp- getCellSelectionSource()Get the source component of the event.- TCell[]- getSelectedCells()Gets the selected cells.- UITable- getSource()Get the source component of the event.- UITable- getUISource()Gets the UI component being the source of the event.- java.lang.String- toString()Converts the selection to a string.- 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
 
 
- Method Detail- getSource- public UITable getSource() Get the source component of the event.- Specified by:
- getSourcein interface- IUISelection
- Returns:
- The source.
 
 - getUISource- public UITable getUISource() Gets the UI component being the source of the event.- Specified by:
- getUISourcein interface- IUISelection
- Returns:
- The UI component.
 
 - getCellSelectionSource- public IUICellSelectionComp getCellSelectionSource() Get the source component of the event.- Specified by:
- getCellSelectionSourcein interface- IUICellSelection
- Returns:
- The cell selection based component.
 
 - getSelectedCells- public TCell[] getSelectedCells() Gets the selected cells.- Specified by:
- getSelectedCellsin interface- IUICellSelection
- Returns:
- The selected cells. Do not modify the array!
 
 - equals- public boolean equals(java.lang.Object o) Equals.- Overrides:
- equalsin class- java.lang.Object
 
 - toString- public java.lang.String toString() Converts the selection to a string.- Overrides:
- toStringin class- java.lang.Object