CFx SDK Documentation
2023 SP0
|
#include <FxUI.h>
Public Member Functions | |
virtual const CFxString & | GetUID () const =0 |
virtual void | SetUID (const CFxString &strUID)=0 |
virtual const CFxString & | GetName () const =0 |
virtual void | SetName (const CFxString &name)=0 |
virtual OdArray< CFxString > & | GetAliases ()=0 |
virtual void | AddAlias (const CFxString &sAlias)=0 |
virtual void | SetDefinition (CFxUIItemDefinition *pDefinition)=0 |
virtual CFxUIItemDefinition * | GetDefinition ()=0 |
virtual const CFxUIMenuItem * | GetParent () const =0 |
virtual CFxUIMenuItemCollection * | GetChildren ()=0 |
virtual bool | IsAction () const =0 |
virtual bool | IsSeparator () const =0 |
virtual void | SetToSeparator ()=0 |
virtual CFxUI::MenuType | GetType () const =0 |
virtual void | SetType (CFxUI::MenuType type)=0 |
virtual bool | IsObsolete () const =0 |
virtual void | SetObsolete (bool bObsolete)=0 |
virtual bool | IsRuntime () const =0 |
Protected Member Functions | |
virtual | ~CFxUIMenuItem () |
Description: Represents the menu item of the user interface. Library: DDKERNEL
|
inlineprotectedvirtual |
Description: Adds an alias. Arguments:
sAlias | The alias. |
Description: Gets the aliases.
Return Value: The aliases.
|
pure virtual |
Description: Gets the children of this item.
Return Value: null if it fails, else the children.
|
pure virtual |
Description: Gets the definition.
Return Value: null if it fails, else the definition.
|
pure virtual |
Description: Gets the name.
Return Value: The name.
|
pure virtual |
Description: Gets the parent of this item.
Return Value: null if it fails, else the parent.
|
pure virtual |
Description: Gets the type.
Return Value: The type.
|
pure virtual |
Description: Gets the uid.
Return Value: The uid.
|
pure virtual |
Description: Query if this object is action.
Return Value: true if action, false if not.
|
pure virtual |
Description: Query if this object is obsolete.
Return Value: true if obsolete, false if not.
|
pure virtual |
Description: Query if this object is runtime.
Return Value: true if runtime, false if not.
|
pure virtual |
Description: Query if this object is separator.
Return Value: true if separator, false if not.
|
pure virtual |
Description: Sets a definition. Arguments:
[in,out] | pDefinition | If non-null, the definition. |
Description: Sets a name. Arguments:
name | The name. |
|
pure virtual |
Description: Sets an obsolete. Arguments:
bObsolete | true to obsolete. |
|
pure virtual |
Description: Sets to separator.
|
pure virtual |
Description: Sets a type. Arguments:
type | The type. |
Description: Sets a uid. Arguments:
strUID | The string uid. |