Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxUITabletMenu.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxUITabletMenu : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxUITabletMenu(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxUITabletMenu obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 if (swigCPtr.Handle != IntPtr.Zero)
43 {
44 if (swigCMemOwn)
45 {
46 lock (locker)//(this)
47 {
48 if ((swigCPtr.Handle != IntPtr.Zero) && (swigCMemOwn))
49 {
50 swigCMemOwn = false;
51 throw new MethodAccessException("C++ destructor does not have public access");
52 }
53 }
54 swigCMemOwn = false;
55 }
56 swigCPtr = new HandleRef(null, IntPtr.Zero);
57 }
58 GC.SuppressFinalize(this);
59 }
60
61 public virtual int GetRowsNumber() {
64 return ret;
65 }
66
67 public virtual bool SetRowsNumber(int iRowsNumber) {
68 bool ret = PCADGlobalsPINVOKE.CFxUITabletMenu_SetRowsNumber(swigCPtr, iRowsNumber);
70 return ret;
71 }
72
73 public virtual int GetColumnsNumber() {
76 return ret;
77 }
78
79 public virtual bool SetColumnsNumber(int ColumnsNumber) {
80 bool ret = PCADGlobalsPINVOKE.CFxUITabletMenu_SetColumnsNumber(swigCPtr, ColumnsNumber);
82 return ret;
83 }
84
85 public virtual CFxUIItemDefinition GetItem(int iRow, int iColumn) {
86 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUITabletMenu_GetItem(swigCPtr, iRow, iColumn);
87 CFxUIItemDefinition ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIItemDefinition(cPtr, false);
89 return ret;
90 }
91
92 public virtual bool SetItem(int iRow, int iColumn, CFxUIItemDefinition pItem) {
93 bool ret = PCADGlobalsPINVOKE.CFxUITabletMenu_SetItem(swigCPtr, iRow, iColumn, CFxUIItemDefinition.getCPtr(pItem));
95 return ret;
96 }
97
98 public virtual CFxString GetName() {
101 return ret;
102 }
103
104 public virtual bool IsObsolete() {
107 return ret;
108 }
109
110 public virtual void SetObsolete(bool bObsolete) {
113 }
114
115 public virtual bool IsRuntime() {
118 return ret;
119 }
120
121}
122
123}
static HandleRef getCPtr(CFxUIItemDefinition obj)
CFxUITabletMenu(IntPtr cPtr, bool cMemoryOwn)
virtual CFxUIItemDefinition GetItem(int iRow, int iColumn)
virtual CFxString GetName()
virtual bool SetRowsNumber(int iRowsNumber)
virtual void SetObsolete(bool bObsolete)
virtual bool SetItem(int iRow, int iColumn, CFxUIItemDefinition pItem)
virtual void Dispose(bool disposing)
virtual bool SetColumnsNumber(int ColumnsNumber)
static HandleRef getCPtr(CFxUITabletMenu obj)
static bool CFxUITabletMenu_SetRowsNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool CFxUITabletMenu_SetColumnsNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool CFxUITabletMenu_IsObsolete(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUITabletMenu_SetObsolete(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int CFxUITabletMenu_GetColumnsNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxUITabletMenu_IsRuntime(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxUITabletMenu_SetItem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr CFxUITabletMenu_GetItem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr CFxUITabletMenu_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxUITabletMenu_GetRowsNumber(global::System.Runtime.InteropServices.HandleRef jarg1)