TreeView Xojo plugin

TreeViewCheckboxNode Class



TreeViewCheckboxNode is a class that represents checkbox nodes in the TreeView.

TreeViewCheckboxNode inherits all properties and methods from TreeViewNode. See the documentation for TreeViewNode to get further documentation.

Note:
You can inherit from the TreeViewCheckboxNode and add your own data properties to it.

Warning:
A TreeViewCheckboxNode can not be reused in any way. This means that a node may not be put in two different TreeView controls or twice in the same unless if the node has first been removed from the TreeView that it was in.

TreeViewNode
   TreeViewCheckboxNode

class TreeViewCheckboxNode

Constructors

TreeViewCheckboxNodeA constructor that takes a text.
TreeViewCheckboxNodeA constructor that takes a text and a image.
TreeViewCheckboxNodeA constructor that takes a text, image and true or false depending on if the node should have expander or not.
TreeViewCheckboxNodeA constructor that takes a text, image and high resolution image for Retina mode,
TreeViewCheckboxNodeA constructor that takes a text, image, high resolution image for Retina mode, true or false depending on if the node should have expander or not.
TreeViewCheckboxNodeA constructor that takes a text, image, true or false depending on if the node should have expander or not and check-state parameter.
TreeViewCheckboxNodeA constructor that takes a text, image, high resolution image for Retina mode, true or false depending on if the node should have expander or not and check-state parameter.

Properties

CheckedThis property returns true if the checkbox is in Checked or Mixed state, false if it is unchecked. Setting this property to true will make the checkbox checked and setting it to false will make the checkbox unchecked.
EnabledSets or gets the node checkbox enabled state.
StateUse this property to set or get the state of the checkbox.
FontBold (Inherited) Set this property to true to let the node text be drawn bold faced.
FontItalic (Inherited) Set this property to true to let the node text be drawn italic faced.
FontUnderline (Inherited) Set this property to true to let the node text be drawn with text underline style.
HasExpander (Inherited) Use this property to force a node to have a expander even if it has no child nodes.
HighResImage (Inherited) High resolution image for Retina mode on Retina displays running on Cocoa
Image (Inherited) Sets or gets the node image.
ItemData (Inherited) A property to store custom data on the node.
Text (Inherited) Sets or gets the text of a node.
TextColor (Inherited) Sets the text color of a node.

Methods

AddSubItem (Inherited) Adds text to additional columns of the node.
AppendNode (Inherited) Appends a child node to the current node.
Depth (Inherited) Returns the depth of the node in the tree.
Expanded (Inherited) Returns true if the node is expanded.
Index (Inherited) Returns the Screen Index of the node.
IndexOf (Inherited) Finds a index of a child node relative to the parent.
InsertNode (Inherited) Inserts a child node at a given index to the current node.
ItemText (Inherited) Sets or gets the text for a specific column.
Node (Inherited) Returns a child node at a given index.
NodeCount (Inherited) Returns the count of child nodes.
RemoveChild (Inherited) Removes a child node.
RemoveChildAt (Inherited) Removes a child node at a index that is relative to the parent node.
Selected (Inherited) Returns true if the node is currently selected.
SetExpanded (Inherited) Expands or collapses the node.
Swap (Inherited) Swaps child nodes of the given node instance.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM