3 #ifndef _APIParameterUI_H_
4 #define _APIParameterUI_H_
10 namespace AnyCAD{
namespace API
29 int GetIndex ()
const;
34 void SetParamId (
const String& paramId) ;
39 String GetParamId ()
const;
44 void SetName (
const String& strName) ;
54 void SetVisible (
bool bVisible) ;
59 bool IsVisible ()
const;
64 void SetReadonly (
bool bReadonly) ;
69 bool IsReadonly ()
const;
74 void SetGroup (
bool bGroup) ;
79 bool IsGroup ()
const;
84 void SetUsedByScript (
bool bUseByScript) ;
89 bool IsUsedByScript ()
const;
94 void SetGroupName (
const String& groupParamId) ;
99 String GetGroupName ()
const;
104 void SetDescription (
const String& desc) ;
109 String GetDescription ()
const;
114 void SetControlId (
const String& controlId) ;
118 String GetControlId ()
const;
123 void SetControlType (
const String& controlType) ;
127 String GetControlType ()
const;
143 #endif //_APIParameterUI_H_
std::string String
Definition: APIString.h:10
The base class for parameter values.
Definition: APIParameterValue.h:19
The UI description for parameters.
Definition: APIParameterUI.h:20
平台基类
Definition: APIObject.h:17
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33