CATIAApplicationFrame Interface CATIDlgTableViewLineModel

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


interface CATIDlgTableViewLineModel

Interfaces to retreive informations about lines to be visualized through the CATDlgTableView component.

Role: Interfaces to retreive informations about lines to be visualized through the CATDlgTableView component.

Do not directly implement the CATIDlgTableViewLineModel interface, but use the CATExtIDlgTableViewLineModel adapter and implement the needed methods.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter).


Method Index


o GetBackgroundColor(int,unsigned int&,unsigned int&,unsigned int&,unsigned int&)
Retreives the background color for all lines header.
o GetLabel(CATBaseUnknown_var,CATUnicodeString&)
Retrieves the line header label.
o GetStyle(CATBaseUnknown_var,int&)
Retrieves the style of the line header.
o GetTextColor(int,unsigned int&,unsigned int&,unsigned int&,unsigned int&)
Retreives the text color for all lines header.
o GetWidth(int&)
Retreives the line header desired width.
o SetWidth(int)
Sets the line header width.

Methods


o GetBackgroundColor
public virtual GetBackgroundColor( iStyle,
ioRed,
ioGreen,
ioBlue,
ioAlpha)
Retreives the background color for all lines header. Available styles are : Normal, Highlight, SubHighlight
o GetLabel
public virtual GetLabel( const iRow,
const oLabel)
Retrieves the line header label.
Role: Retrieves the line header label..
Parameters:
iRow
[in] The specified line.
oLabel
[out] The line's label.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o GetStyle
public virtual GetStyle( const iRow,
oStyle)
Retrieves the style of the line header.
Role: Retrieves the style of the line header.
Parameters:
iRow
[in] The specified line.
oStyle
[out] The style of the line header:
  • Left |
  • Right |- Horizontal text alignement
  • Center |
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o GetTextColor
public virtual GetTextColor( iStyle,
ioRed,
ioGreen,
ioBlue,
ioAlpha)
Retreives the text color for all lines header. Available styles are : Normal, Highlight, SubHighlight
o GetWidth
public virtual GetWidth( oWidth)
Retreives the line header desired width.
Role: Retreives the line header desired width.
Parameters:
oWidth
[out] The width of the line header.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.
o SetWidth
public virtual SetWidth( iwidth)
Sets the line header width.
Role: Method called when the line header width is modified by the end-user.
Parameters:
iwidth
[in] The new width of the line header.
Returns:
S_OK if everything ran ok, E_FAIL otherwise.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.