All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATIAApplicationFrame Interface CATIDlgTableViewController

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIDlgTableViewController
 

Usage: you can reimplement this interface by deriving the supplied adapter class.


interface CATIDlgTableViewController

Interface to retrieve data to be visualized through the CATDlgTableView component.

Role: Interface to retrieve data to be visualized through the CATDlgTableView component

Do not directly implement the CATIDlgTableViewController interface, but use the CATExtIDlgTableViewController adapter and implement the needed methods.


Method Index


o HasSelection(CATString&,CATBoolean&)
Retrieves if the specified column contains a selected cell.
o IsPreSelected(CATBaseUnknown_var,CATString&,CATBoolean&)
Retrieves if the specified cell is preselected.
o IsSelected(CATBaseUnknown_var,CATBoolean&)
Retrieves if the specified line is selected.
o IsSelected(CATBaseUnknown_var,CATString&,CATBoolean&)
Retrieves if the specified cell is selected.
o OnActivate(CATBaseUnknown_var)
Method launched on the activation of the specified line.
o OnCellContext(CATBaseUnknown_var,CATString&)
Method launched on a right-click over the specified cell by iRow and iColumn.
o OnColumnHeaderContext(CATString&)
Method launched on a right-click over the specified column header.
o OnContext(CATBaseUnknown_var)
Method launched on a right-click over the specified line.
o OnMoveOver(CATBaseUnknown_var,CATString&)
Method launched on the move of the mouse over the cell specified by iRow and iColumn.
o OnRowHeaderContext(CATBaseUnknown_var)
Method launched on a right-click over the specified row header.
o OnSelect(CATBaseUnknown_var,CATString&)
Method launched on the selection of the cell specified by iRow and iColumn.

Methods


o HasSelection
public virtual HRESULT HasSelection( const CATString& iColumn,
CATBoolean& oHasSelection)= 0
Retrieves if the specified column contains a selected cell.
Role: Retrieves if the specified column contains a selected cell.
Parameters:
iColumn
[in] The column to check.
oHasSelection
[out] Returns TRUE if a cell is selected in the specified column, FALSE otherwise.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o IsPreSelected
public virtual HRESULT IsPreSelected(CATBaseUnknown_var iRow,
const CATString& iColumn,
CATBoolean& oPreSelected) = 0
Retrieves if the specified cell is preselected.
Role: Retrieves if the specified cell is preselected.
Parameters:
iRow
[in] The line containing the cell. This data must be serializable.
iColumn
[in] ID of the column containing the cell.
oPreSelected
[out] Returns TRUE if the cell is preselected, FALSE otherwise.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o IsSelected
public virtual HRESULT IsSelected(CATBaseUnknown_var iRow,
CATBoolean& oSelected) = 0
Retrieves if the specified line is selected.
Role: Retrieves if the specified line is selected.
Parameters:
iRow
[in] The line to check.
oSelected
[out] Returns TRUE if the specified line is selected, FALSE otherwise.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o IsSelected
public virtual HRESULT IsSelected(CATBaseUnknown_var iRow,
const CATString& iColumn,
CATBoolean& oSelected) = 0
Retrieves if the specified cell is selected.
Role: Retrieves if the specified cell is selected.
Parameters:
iRow
[in] The line containing the cell. This data must be serializable.
iColumn
[in] ID of the column containing the cell.
oSelected
[out] Returns TRUE if the cell is selected, FALSE otherwise.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnActivate
public virtual HRESULT OnActivate(CATBaseUnknown_var iRow)= 0
Method launched on the activation of the specified line.
Role: Method launched on the activation of the specified line.
Parameters:
iRow
[in] The specified line. This data must be serializable.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnCellContext
public virtual HRESULT OnCellContext(CATBaseUnknown_var iRow,
const CATString& iColumn)= 0
Method launched on a right-click over the specified cell by iRow and iColumn.
Role: Method launched on a right-click over the specified cell by iRow and iColumn.
Parameters:
iRow
[in] The line containing the cell. This data must be serializable.
iColumn
[in] ID of the column containing the cell.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnColumnHeaderContext
public virtual HRESULT OnColumnHeaderContext( const CATString& iColumn)= 0
Method launched on a right-click over the specified column header.
Role: Method launched on a right-click over the specified column header.
Parameters:
iColumn
[in] ID of the specified column.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnContext
public virtual HRESULT OnContext(CATBaseUnknown_var iRow)= 0
Method launched on a right-click over the specified line.
Role: Method launched on a right-click over the specified line.
Parameters:
iRow
[in] The specified line. This data must be serializable.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnMoveOver
public virtual HRESULT OnMoveOver(CATBaseUnknown_var iRow,
const CATString& iColumn)= 0
Method launched on the move of the mouse over the cell specified by iRow and iColumn.
Role: Method launched on the move of the mouse over the cell specified by iRow and iColumn.
Parameters:
iRow
[in] The line containing the cell. This data must be serializable.
iColumn
[in] ID of the column containing the cell.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnRowHeaderContext
public virtual HRESULT OnRowHeaderContext(CATBaseUnknown_var iRow)= 0
Method launched on a right-click over the specified row header.
Role: Method launched on a right-click over the specified row header.
Parameters:
iRow
[in] The specified line.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o OnSelect
public virtual HRESULT OnSelect(CATBaseUnknown_var iRow,
const CATString& iColumn) = 0
Method launched on the selection of the cell specified by iRow and iColumn.
Role: Method launched on the selection of the cell specified by iRow and iColumn.
Parameters:
iRow
[in] The line containing the cell. This data must be serializable.
iColumn
[in] ID of the column containing the cell.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.

This object is included in the file: CATIDlgTableViewController.h
If needed, your Imakefile.mk should include the module: CATDlgView

Copyright © 2003, Dassault Systèmes. All rights reserved.