LTableSelector is an abstract PowerPlant class that specifies the interface for the selector helper objects. These methods provide behaviors to maintain the selection range in a table.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
All of the methods in this class are pure virtual or empty.
Source files:
Purpose:
The constructor creates the object.
Access :
Prototype:
LTableSelector();Parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
virtual ~LTableSelector();
Purpose:
Indicates whether a given cell is selected.
Access :
Prototype:
virtual Boolean CellIsSelected(
const STableCell &inCell ) const = 0;Parameters:
This method has the following parameters:
Return:
Returns true if selected, else returns false.
Purpose:
Handle a mouse click within the specified cell.
Access :
Prototype:
virtual void ClickSelect(
const STableCell &inCell,
const SMouseDownEvent &inMouseDown ) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Handle a drag operation (the user is pressing the mouse) on a cell.
Access :
Prototype:
virtual Boolean DragSelect(
const STableCell &inCell,
const SMouseDownEvent &inMouseDown ) = 0;Parameters:
This method has the following parameters:
Return:
Return true if the mouse never leaves inCell.
Purpose:
Get the value of the first selected cell.
Access :
Prototype:
virtual STableCell GetFirstSelectedCell() const = 0;Parameters:
Return:
Purpose:
Access :
Prototype:
virtual TableIndexT GetFirstSelectedRow() const = 0;Parameters:
Return:
Purpose:
This method handles insertion of columns to the table.
Access :
Prototype:
virtual void InsertCols(
UInt32 inHowMany,
TableIndexT inAfterCol );Parameters:
This method has the following parameters:
Return:
Purpose:
This method handles insertion of rows to the table.
Access :
Prototype:
virtual void InsertRows(
UInt32 inHowMany,
TableIndexT inAfterRow );Parameters:
This method has the following parameters:
Return:
Purpose:
This method handles removal of columns to the table.
Access :
Prototype:
virtual void RemoveCols(
UInt32 inHowMany,
TableIndexT inFromCol );Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype:
virtual void RemoveRows(
UInt32 inHowMany,
TableIndexT inFromRow) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Selects all cells in the table.
Access :
Prototype:
virtual void SelectAllCells() = 0;Parameters:
Return:
Purpose:
Access :
Prototype:
virtual void SelectCell(
const STableCell &inCell ) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Unselect all cells in the table.
Access :
Prototype:
virtual void UnselectAllCells() = 0;Parameters:
Return:
Purpose:
Access :
Prototype:
virtual void UnselectCell(
const STableCell &inCell ) = 0;Parameters:
This method has the following parameters:
Return:
Purpose:
Access :
Prototype: