DataMonitor
Last update: 16.07.2025public class DataMonitor : PHXCOMObject
Functions
| Name | Summary |
|---|---|
| addItem | public addItem(name: String, link: String): Int *************************************************************************** adds a new entry to the monitor with the given name and link |
| addUnlinkedItem | public addUnlinkedItem(name: String): Int *************************************************************************** adds a new entry to the monitor with the given name, but without any link |
| disableGC | public disableGC(gc: Boolean) If true, prevents releaseObjects from doing anything. |
| getAutoDelete | public getAutoDelete(): Boolean *************************************************************************** indicates if units should be displayed |
| getColWidth | public getColWidth(col: Long): Int *************************************************************************** gets the width of a column |
| getDisplayFullNames | public getDisplayFullNames(): Boolean *************************************************************************** indicates if full variables names should be displayed (vs short names) |
| getDisplayUnits | public getDisplayUnits(): Boolean *************************************************************************** indicates if units should be displayed |
| getHeight | public getHeight(): Int |
| getLink | public getLink(row: Long): String *************************************************************************** retrieves the full name of an entry's link |
| getName | public getName(row: Long): String *************************************************************************** retrieves the name of the given entry |
| getTitle | public getTitle(): String |
| getWidth | public getWidth(): Int |
| getX | public getX(): Int |
| getY | public getY(): Int |
| isRenamed | public isRenamed(row: Long): Boolean *************************************************************************** checks whether a given entry has been renamed/aliased |
| isValid | public isValid(): Boolean |
| release | public release() Releases the COM reference to ModelCenter for this object. |
| releaseObjects | public releaseObjects() This function attempts to release any COM resources left behind from objects which have been finalized but release() was never called on them. |
| removeItem | public removeItem(row: Long) *************************************************************************** removes the given item from the monitor |
| removeLink | public removeLink(row: Long) *************************************************************************** removes the link of the entry at the given position |
| setAutoDelete | public setAutoDelete(flag: Boolean) *************************************************************************** causes the grid to automatically remove monitored data items |
| setColWidth | public setColWidth(col: Long, width: Int) *************************************************************************** sets the width of a column |
| setDisplayFullNames | public setDisplayFullNames(flag: Boolean) *************************************************************************** causes the grid to display full or short variable names |
| setDisplayUnits | public setDisplayUnits(flag: Boolean) *************************************************************************** causes the grid to display units or not display units |
| setLink | public setLink(row: Long, link: String): Boolean *************************************************************************** assigns a link to an entry |
| setLocation | public setLocation(x: Int, y: Int) |
| setName | public setName(row: Long, name: String) *************************************************************************** sets the name of the given entry |
| setReferenceDebugMode | public setReferenceDebugMode(on: Boolean) When set to true, the system will keep a list of active COM objects that are allocated but not yet released since this method was invoked. |
| setSize | public setSize(width: Int, height: Int) |
| setTitle | public setTitle(title: String) |