JUCE  v5.1.1-3-g1a0b28c73
JUCE API
DrawableComposite::ValueTreeWrapper Class Reference

Internally-used class for wrapping a DrawableComposite's state into a ValueTree. More...

#include <juce_DrawableComposite.h>

Inheritance diagram for DrawableComposite::ValueTreeWrapper:
Collaboration diagram for DrawableComposite::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
RelativeParallelogram getBoundingBox () const
 
ValueTree getChildList () const
 
ValueTree getChildListCreating (UndoManager *undoManager)
 
RelativeRectangle getContentArea () const
 
String getID () const
 
MarkerList::ValueTreeWrapper getMarkerList (bool xAxis) const
 
MarkerList::ValueTreeWrapper getMarkerListCreating (bool xAxis, UndoManager *undoManager)
 
ValueTreegetState () noexcept
 
void resetBoundingBoxToContentArea (UndoManager *undoManager)
 
void setBoundingBox (const RelativeParallelogram &newBounds, UndoManager *undoManager)
 
void setContentArea (const RelativeRectangle &newArea, UndoManager *undoManager)
 
void setID (const String &newID)
 

Public Attributes

ValueTree state
 

Static Public Attributes

static const Identifier bottomLeft
 
static const Identifier topLeft
 
static const Identifier topRight
 

Static Private Attributes

static const Identifier childGroupTag
 
static const Identifier markerGroupTagX
 
static const Identifier markerGroupTagY
 

Detailed Description

Internally-used class for wrapping a DrawableComposite's state into a ValueTree.

Constructor & Destructor Documentation

◆ ValueTreeWrapper()

DrawableComposite::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

◆ getBoundingBox()

RelativeParallelogram DrawableComposite::ValueTreeWrapper::getBoundingBox ( ) const

◆ getChildList()

ValueTree DrawableComposite::ValueTreeWrapper::getChildList ( ) const

◆ getChildListCreating()

ValueTree DrawableComposite::ValueTreeWrapper::getChildListCreating ( UndoManager undoManager)

◆ getContentArea()

RelativeRectangle DrawableComposite::ValueTreeWrapper::getContentArea ( ) const

◆ getID()

String Drawable::ValueTreeWrapperBase::getID ( ) const
inherited

◆ getMarkerList()

MarkerList::ValueTreeWrapper DrawableComposite::ValueTreeWrapper::getMarkerList ( bool  xAxis) const

◆ getMarkerListCreating()

MarkerList::ValueTreeWrapper DrawableComposite::ValueTreeWrapper::getMarkerListCreating ( bool  xAxis,
UndoManager undoManager 
)

◆ getState()

ValueTree& Drawable::ValueTreeWrapperBase::getState ( )
inlinenoexceptinherited

◆ resetBoundingBoxToContentArea()

void DrawableComposite::ValueTreeWrapper::resetBoundingBoxToContentArea ( UndoManager undoManager)

◆ setBoundingBox()

void DrawableComposite::ValueTreeWrapper::setBoundingBox ( const RelativeParallelogram newBounds,
UndoManager undoManager 
)

◆ setContentArea()

void DrawableComposite::ValueTreeWrapper::setContentArea ( const RelativeRectangle newArea,
UndoManager undoManager 
)

◆ setID()

void Drawable::ValueTreeWrapperBase::setID ( const String newID)
inherited

Member Data Documentation

◆ bottomLeft

const Identifier DrawableComposite::ValueTreeWrapper::bottomLeft
static

◆ childGroupTag

const Identifier DrawableComposite::ValueTreeWrapper::childGroupTag
staticprivate

◆ markerGroupTagX

const Identifier DrawableComposite::ValueTreeWrapper::markerGroupTagX
staticprivate

◆ markerGroupTagY

const Identifier DrawableComposite::ValueTreeWrapper::markerGroupTagY
staticprivate

◆ state

ValueTree Drawable::ValueTreeWrapperBase::state
inherited

◆ topLeft

const Identifier DrawableComposite::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableComposite::ValueTreeWrapper::topRight
static

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