Search Results for

    Show / Hide Table of Contents

    Class BubbleNode

    Node (primitive element) of the Bubble control

    Inheritance
    System.Object
    NodeBase
    HierarchicalNode
    BubbleNode
    Implements
    IHierarchicalNode
    INode
    IRecordOwner
    IStyleOwner
    Inherited Members
    HierarchicalNode.parent
    HierarchicalNode.children
    HierarchicalNode.visible
    HierarchicalNode.GetDepth()
    HierarchicalNode.Visible
    HierarchicalNode.FindByRecord(HierarchicalRecord)
    HierarchicalNode.ForChildrenBranch(Action<HierarchicalNode>)
    HierarchicalNode.Record
    HierarchicalNode.IHierarchicalNode.Parent
    HierarchicalNode.IHierarchicalNode.Children
    NodeBase.record
    NodeBase.style
    NodeBase.selected
    NodeBase.hover
    NodeBase.Style
    NodeBase.Hover
    NodeBase.Selected
    NodeBase.IRecordOwner.Record
    Namespace: FastReport.BG.Bubble
    Assembly: FastReport.BG.dll
    Syntax
    public class BubbleNode : HierarchicalNode, IHierarchicalNode, INode, IRecordOwner, IStyleOwner

    Constructors

    BubbleNode(BubbleNode, HierarchicalRecord, Bubble)

    Constructs a new instance of BubbleNode

    Declaration
    public BubbleNode(BubbleNode parent, HierarchicalRecord record, Bubble bubble)
    Parameters
    Type Name Description
    BubbleNode parent

    Parent node reference

    HierarchicalRecord record

    Record which node represents

    Bubble bubble

    Reference to Bubble control which owns this node

    Fields

    bubble

    Bubble reference

    Declaration
    protected Bubble bubble
    Field Value
    Type Description
    Bubble

    circle

    Circle.

    Declaration
    public Circle circle
    Field Value
    Type Description
    Circle

    Properties

    Bounds

    Bounding rectangle

    Declaration
    public override Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle
    Overrides
    NodeBase.Bounds

    Children

    Collection of children nodes

    Declaration
    public BubbleNodes Children { get; }
    Property Value
    Type Description
    BubbleNodes

    ClientRectangle

    Bouding rectangle - spacing

    Declaration
    public virtual Rectangle ClientRectangle { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Parent

    Parent node reference

    Declaration
    public BubbleNode Parent { get; }
    Property Value
    Type Description
    BubbleNode

    Methods

    Build(Rectangle)

    Build the node and children layout

    Declaration
    public void Build(Rectangle r)
    Parameters
    Type Name Description
    System.Drawing.Rectangle r

    Rectangle for the node

    Draw(Graphics)

    Draws node on graphic context

    Declaration
    public override void Draw(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    Graphic context

    Overrides
    NodeBase.Draw(Graphics)

    GetNodeAt(Point)

    Get node at the given location

    Declaration
    public override HierarchicalNode GetNodeAt(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt

    Location to search for a node

    Returns
    Type Description
    HierarchicalNode

    found node or null

    Overrides
    HierarchicalNode.GetNodeAt(Point)

    GetPaletteColor(Int32)

    Get color from the color palette for the child at index.

    Declaration
    public virtual Color GetPaletteColor(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of child

    Returns
    Type Description
    System.Drawing.Color

    Color for the node

    HitTest(Point)

    Tests that the point belongs to current bubble.

    Declaration
    public bool HitTest(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt

    Point.

    Returns
    Type Description
    System.Boolean

    UpdateStyle()

    Update Style.

    Declaration
    protected virtual void UpdateStyle()

    Implements

    IHierarchicalNode
    INode
    IRecordOwner
    IStyleOwner
    Back to top © 2021-2022 Copyright Fast Reports Inc.