Class TTogglerNode
Unit
Declaration
type TTogglerNode = class(TAbstractChildNode)
Description
Utility for setting and observing a boolean value in various ways.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TTogglerNode
Overview
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Properties
property FdStatus: TSFBool read FFdStatus; |
|
property Status: Boolean read GetStatus write SetStatus; |
|
property FdNotStatus: TSFBool read FFdNotStatus; |
|
property NotStatus: Boolean read GetNotStatus write SetNotStatus; |
|
property EventToggle: TXFAnyEvent read FEventToggle; |
|
property EventSet: TXFAnyEvent read FEventSet; |
|
property EventReset: TXFAnyEvent read FEventReset; |
|
property EventChanged: TSFBoolEvent read FEventChanged; |
|
property EventOn: TSFBoolEvent read FEventOn; |
|
property EventOff: TSFBoolEvent read FEventOff; |
|
property FdEnabled: TSFBool read FFdEnabled; |
|
property Enabled: Boolean read GetEnabled write SetEnabled; |
Description
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
Properties
property FdStatus: TSFBool read FFdStatus; |
|
Internal wrapper for property |
property Status: Boolean read GetStatus write SetStatus; |
|
Stored Boolean value. |
property FdNotStatus: TSFBool read FFdNotStatus; |
|
Internal wrapper for property |
property NotStatus: Boolean read GetNotStatus write SetNotStatus; |
|
Always the negated value of Status. You can set either Status or NotStatus, changing one changes also the other to keep them being negated values of each other. Also events (like EventToggle) change both properties. |
property EventToggle: TXFAnyEvent read FEventToggle; |
|
Send any value to this event (the value is ignored) to toggle Status between |
property EventSet: TXFAnyEvent read FEventSet; |
|
Send any value to this event (the value is ignored) to set Status to |
property EventReset: TXFAnyEvent read FEventReset; |
|
Send any value to this event (the value is ignored) to set Status to |
property EventChanged: TSFBoolEvent read FEventChanged; |
|
Outputs a |
property EventOn: TSFBoolEvent read FEventOn; |
|
Outputs a |
property EventOff: TSFBoolEvent read FEventOff; |
|
Outputs a |
property FdEnabled: TSFBool read FFdEnabled; |
|
Internal wrapper for property |
property Enabled: Boolean read GetEnabled write SetEnabled; |
|
When the node is disabled, input events are ignored (this includes EventToggle, EventSet, EventReset but also sending new values to Status and NotStatus) and output events (EventOn, EventOff, EventChanged) are never generated. |
Generated by PasDoc 0.16.0-snapshot.