All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATIAApplicationFrame Interface CATIDlgTableViewLineModel
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIDlgTableViewLineModel
Usage: you can reimplement this interface by deriving the supplied 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.
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 HRESULT GetBackgroundColor( | int | iStyle, |
| unsigned int& | ioRed, |
| unsigned int& | ioGreen, |
| unsigned int& | ioBlue, |
| unsigned int& | ioAlpha) = 0 |
-
Retreives the background color for all lines header.
Available styles are : Normal, Highlight, SubHighlight
o GetLabel
-
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
-
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 HRESULT GetTextColor( | int | iStyle, |
| unsigned int& | ioRed, |
| unsigned int& | ioGreen, |
| unsigned int& | ioBlue, |
| unsigned int& | ioAlpha) = 0 |
-
Retreives the text color for all lines header.
Available styles are : Normal, Highlight, SubHighlight
o GetWidth
public virtual HRESULT GetWidth( | int& | oWidth) = 0 |
-
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 HRESULT SetWidth( | int | iwidth) = 0 |
-
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