All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATIAApplicationFrame Class CATComboDashed
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---System.CATEventSubscriber
|
+---System.CATCommand
|
+---Dialog.CATDialog
|
+---Dialog.CATDlgBox
|
+---Dialog.CATDlgFrame
|
+---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:
- Solid
- Dotted
- Dashed
- Dot-Dashed
- Phantom
- Small Dotted
- 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 GetSelect
- See also:
- CATComboColor, CATComboWeight, CATComboSymbol
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( | CATDialog* | iParent, |
| const CATString& | iDialogObjectName, |
| CATDlgStyle | iStyle | = NULL, |
| const int | iLineTypeInit | = 1, |
| unsigned int | 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 unsigned int 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 void SetSelect( | const unsigned int | 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