DialogEngine CATCmdSwitchAgent

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


public class CATCmdSwitchAgent

Class which defines an acquisition agent visualizable in a toolbar.
Role: This agent is displayed in a toolbar. Each valuation (switch) is represented by an icon. The count of switch represents the count of possible value for the agent.
Use the interface to handle it.
To see the agent in the toolbar:


In a toolbar you must have a starter with a command header. In the constructor of this header you have set the IID of the interface. CATCmdSwitchAgent implements this interface.


Constructor and Destructor Index


o CATCmdSwitchAgent(CATString&,CATString&,CATDlgEngBehavior,CATCommandMode)
Constructs the dialog agent.

Constructor and Destructor


o CATCmdSwitchAgent
public CATCmdSwitchAgent( const iName,
const iAgentResID,
iBehavior=NULL,
iStatus=CATCommandModeUndefined)
Constructs the dialog agent.
Parameters:
iName
The name of the command
iAgentResID
The resource identificator of the agent. Refer to the
method to get explanations about this parameter.
iBehavior
See
.
iStatus
See
.

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

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