DrawableComposite::ValueTreeWrapper Class Reference

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

Inheritance diagram for DrawableComposite::ValueTreeWrapper:

Public Member Functions

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

Static Public Attributes

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

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

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

◆ getChildList()

ValueTree DrawableComposite::ValueTreeWrapper::getChildList ( ) const

◆ getChildListCreating()

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

◆ getBoundingBox()

RelativeParallelogram DrawableComposite::ValueTreeWrapper::getBoundingBox ( ) const

◆ setBoundingBox()

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

◆ resetBoundingBoxToContentArea()

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

◆ getContentArea()

RelativeRectangle DrawableComposite::ValueTreeWrapper::getContentArea ( ) const

◆ setContentArea()

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

◆ getMarkerList()

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

◆ getMarkerListCreating()

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

Member Data Documentation

◆ topLeft

const Identifier DrawableComposite::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableComposite::ValueTreeWrapper::topRight
static

◆ bottomLeft

const Identifier DrawableComposite::ValueTreeWrapper::bottomLeft
static

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