[]
Represents an action that hides or shows one or more widget annotations.
new ActionHide(om): ActionHide;
Creates a new ActionHide.
ObjectManager that controls the lifetime of the ActionHide.
ActionHide
ActionBase.constructor
new ActionHide(): ActionHide;
Creates a new ActionHide.
ActionHide
ActionBase.constructor
get hide(): boolean;
Gets or sets a flag indicating whether to hide (true) or show (false) the linked annotations. The default is true.
boolean
get id(): number;
Gets the reference to the object.
number
get linkedObjects(): (string | WidgetAnnotation)[];
Gets the objects linked with this action as an array. Each item is either a field name string or a WidgetAnnotation pointer.
(string | WidgetAnnotation)[]
get om(): ObjectManager;
Gets the owner ObjectManager instance.
addLinkedObject(fieldName): void;
Adds a field name string to the linked objects collection.
string
void
addLinkedObject(annotation): void;
Adds a widget annotation to the linked objects collection.
void
clearLinkedObjects(): void;
Clears all linked objects from the collection.
void
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void