CATIAApplicationFrame CATComboDashed

Usage: you must use this class as is. You should never derive it.


public class CATComboDashed

Class to create a combo to choose a line type.
Role:This class constructs a combo to select a line type among 7 types:

  1. Solid
  2. Dotted
  3. Dashed
  4. Dot-Dashed
  5. Phantom
  6. Small Dotted
  7. JIS Axis

When a line type is selected, a CATDlgComboSelectNotification notification is sent, and you can retrieves the index of the line type thanks to the
See also:
, ,


Constructor and Destructor Index


o CATComboDashed(CATDialog*,CATString&,CATDlgStyle,int,unsigned int)
Constructs a combo to choose a line type.
o ~CATComboDashed()

Method Index


o GetSelect()
Retrieves the line type's index choosen.
o SetSelect(unsigned int)
Sets the index's line type.

Constructor and Destructor


o CATComboDashed
public CATComboDashed( iParent,
const iDialogObjectName,
iStyle= NULL,
const iLineTypeInit= 1,
iAutoComboAvailable= 0)
Constructs a combo to choose a line type.
Parameters:
iParent
The dialog's parent.
iDialogObjectName
The name of the dialog object.
iStyle
Internal usage. Set NULL the legal value.
iLineTypeInit
The index of the first line type displayed. The value ranges from 1 to 7, and the default value is 1 (solid).
iAutoComboAvailable
Internal usage, set 0 as the default value.
o ~CATComboDashed
public virtual ~CATComboDashed()

Methods


o GetSelect
public GetSelect()
Retrieves the line type's index choosen.
Role: When a line type is choosen , a CATDlgComboSelectNotification notification is sent, and you can retrieve the selected color using this method.
Returns:
Index of the line type.This value ranges from 1 to 7.
o SetSelect
public SetSelect( const iLineType)
Sets the index's line type.
Parameters:
iLineType
Index of the line type.This value ranges from 1 to 7.

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

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