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 booleanequals(java.lang.Object o)Equals.IUICellSelectionCompgetCellSelectionSource()Get the source component of the event.TCell[]getSelectedCells()Gets the selected cells.UITablegetSource()Get the source component of the event.UITablegetUISource()Gets the UI component being the source of the event.java.lang.StringtoString()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 interfaceIUISelection- Returns:
- The source.
getUISource
public UITable getUISource()
Gets the UI component being the source of the event.- Specified by:
getUISourcein interfaceIUISelection- Returns:
- The UI component.
getCellSelectionSource
public IUICellSelectionComp getCellSelectionSource()
Get the source component of the event.- Specified by:
getCellSelectionSourcein interfaceIUICellSelection- Returns:
- The cell selection based component.
getSelectedCells
public TCell[] getSelectedCells()
Gets the selected cells.- Specified by:
getSelectedCellsin interfaceIUICellSelection- Returns:
- The selected cells. Do not modify the array!
equals
public boolean equals(java.lang.Object o)
Equals.- Overrides:
equalsin classjava.lang.Object
toString
public java.lang.String toString()
Converts the selection to a string.- Overrides:
toStringin classjava.lang.Object