Photosine 0.5
Loading...
Searching...
No Matches
Tests::ValueTreeInspector::ValueTreePropertyItem Class Referencefinal

#include <ValueTreeInspector.h>

Inheritance diagram for Tests::ValueTreeInspector::ValueTreePropertyItem:

Public Member Functions

 ValueTreePropertyItem (const juce::ValueTree &v, juce::Identifier propertyToFollow)
juce::String getUniqueName () const override
bool mightContainSubItems () override
void paintItem (juce::Graphics &g, int width, int height) override
void paintOpenCloseButton (juce::Graphics &g, const juce::Rectangle< float > &area, juce::Colour backgroundColour, bool isMouseOver) override
void itemOpennessChanged (bool isNowOpen) override
juce::var getDragSourceDescription () override
bool isInterestedInDragSource (const juce::DragAndDropTarget::SourceDetails &dragSourceDetails) override
void itemDropped (const juce::DragAndDropTarget::SourceDetails &, int insertIndex) override
int getItemHeight () const override

Public Attributes

juce::ValueTree tree
juce::Identifier property = "NoProperty"
juce::String titleString

Private Member Functions

void valueTreePropertyChanged (juce::ValueTree &, const juce::Identifier &) override
void valueTreeChildAdded (juce::ValueTree &parentTree, juce::ValueTree &) override
void valueTreeChildRemoved (juce::ValueTree &parentTree, juce::ValueTree &, int) override
void valueTreeChildOrderChanged (juce::ValueTree &parentTree, int, int) override
void valueTreeParentChanged (juce::ValueTree &) override
void treeChildrenChanged (const juce::ValueTree &parentTree)

Detailed Description

Item in ValueTreeInspector that follows a value tree property.

Constructor & Destructor Documentation

◆ ValueTreePropertyItem()

Tests::ValueTreeInspector::ValueTreePropertyItem::ValueTreePropertyItem ( const juce::ValueTree & v,
juce::Identifier propertyToFollow )
inline

Member Function Documentation

◆ getDragSourceDescription()

juce::var Tests::ValueTreeInspector::ValueTreePropertyItem::getDragSourceDescription ( )
inlineoverride

◆ getItemHeight()

int Tests::ValueTreeInspector::ValueTreePropertyItem::getItemHeight ( ) const
inlineoverride

◆ getUniqueName()

juce::String Tests::ValueTreeInspector::ValueTreePropertyItem::getUniqueName ( ) const
inlineoverride

◆ isInterestedInDragSource()

bool Tests::ValueTreeInspector::ValueTreePropertyItem::isInterestedInDragSource ( const juce::DragAndDropTarget::SourceDetails & dragSourceDetails)
inlineoverride

◆ itemDropped()

void Tests::ValueTreeInspector::ValueTreePropertyItem::itemDropped ( const juce::DragAndDropTarget::SourceDetails & ,
int insertIndex )
inlineoverride

◆ itemOpennessChanged()

void Tests::ValueTreeInspector::ValueTreePropertyItem::itemOpennessChanged ( bool isNowOpen)
inlineoverride

◆ mightContainSubItems()

bool Tests::ValueTreeInspector::ValueTreePropertyItem::mightContainSubItems ( )
inlineoverride

◆ paintItem()

void Tests::ValueTreeInspector::ValueTreePropertyItem::paintItem ( juce::Graphics & g,
int width,
int height )
inlineoverride

◆ paintOpenCloseButton()

void Tests::ValueTreeInspector::ValueTreePropertyItem::paintOpenCloseButton ( juce::Graphics & g,
const juce::Rectangle< float > & area,
juce::Colour backgroundColour,
bool isMouseOver )
inlineoverride

◆ treeChildrenChanged()

void Tests::ValueTreeInspector::ValueTreePropertyItem::treeChildrenChanged ( const juce::ValueTree & parentTree)
inlineprivate

◆ valueTreeChildAdded()

void Tests::ValueTreeInspector::ValueTreePropertyItem::valueTreeChildAdded ( juce::ValueTree & parentTree,
juce::ValueTree &  )
inlineoverrideprivate

◆ valueTreeChildOrderChanged()

void Tests::ValueTreeInspector::ValueTreePropertyItem::valueTreeChildOrderChanged ( juce::ValueTree & parentTree,
int ,
int  )
inlineoverrideprivate

◆ valueTreeChildRemoved()

void Tests::ValueTreeInspector::ValueTreePropertyItem::valueTreeChildRemoved ( juce::ValueTree & parentTree,
juce::ValueTree & ,
int  )
inlineoverrideprivate

◆ valueTreeParentChanged()

void Tests::ValueTreeInspector::ValueTreePropertyItem::valueTreeParentChanged ( juce::ValueTree & )
inlineoverrideprivate

◆ valueTreePropertyChanged()

void Tests::ValueTreeInspector::ValueTreePropertyItem::valueTreePropertyChanged ( juce::ValueTree & ,
const juce::Identifier &  )
inlineoverrideprivate

Member Data Documentation

◆ property

juce::Identifier Tests::ValueTreeInspector::ValueTreePropertyItem::property = "NoProperty"

◆ titleString

juce::String Tests::ValueTreeInspector::ValueTreePropertyItem::titleString

◆ tree

juce::ValueTree Tests::ValueTreeInspector::ValueTreePropertyItem::tree

The documentation for this class was generated from the following file: