JUCE
Public Member Functions | Static Public Attributes | List of all members
DrawableText::ValueTreeWrapper Class Reference

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

+ Inheritance diagram for DrawableText::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
String getText () const
 
void setText (const String &newText, UndoManager *undoManager)
 
Value getTextValue (UndoManager *undoManager)
 
Colour getColour () const
 
void setColour (Colour newColour, UndoManager *undoManager)
 
Justification getJustification () const
 
void setJustification (Justification newJustification, UndoManager *undoManager)
 
Font getFont () const
 
void setFont (const Font &newFont, UndoManager *undoManager)
 
Value getFontValue (UndoManager *undoManager)
 
RelativeParallelogram getBoundingBox () const
 
void setBoundingBox (const RelativeParallelogram &newBounds, UndoManager *undoManager)
 
RelativeCoordinate getFontHeight () const
 
void setFontHeight (const RelativeCoordinate &newHeight, UndoManager *undoManager)
 
RelativeCoordinate getFontHorizontalScale () const
 
void setFontHorizontalScale (const RelativeCoordinate &newScale, 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 text
 
static const Identifier colour
 
static const Identifier font
 
static const Identifier justification
 
static const Identifier topLeft
 
static const Identifier topRight
 
static const Identifier bottomLeft
 
static const Identifier fontHeight
 
static const Identifier fontHScale
 

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

Detailed Description

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

Constructor & Destructor Documentation

DrawableText::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

String DrawableText::ValueTreeWrapper::getText ( ) const
void DrawableText::ValueTreeWrapper::setText ( const String newText,
UndoManager undoManager 
)
Value DrawableText::ValueTreeWrapper::getTextValue ( UndoManager undoManager)
Colour DrawableText::ValueTreeWrapper::getColour ( ) const
void DrawableText::ValueTreeWrapper::setColour ( Colour  newColour,
UndoManager undoManager 
)
Justification DrawableText::ValueTreeWrapper::getJustification ( ) const
void DrawableText::ValueTreeWrapper::setJustification ( Justification  newJustification,
UndoManager undoManager 
)
Font DrawableText::ValueTreeWrapper::getFont ( ) const
void DrawableText::ValueTreeWrapper::setFont ( const Font newFont,
UndoManager undoManager 
)
Value DrawableText::ValueTreeWrapper::getFontValue ( UndoManager undoManager)
RelativeParallelogram DrawableText::ValueTreeWrapper::getBoundingBox ( ) const
void DrawableText::ValueTreeWrapper::setBoundingBox ( const RelativeParallelogram newBounds,
UndoManager undoManager 
)
RelativeCoordinate DrawableText::ValueTreeWrapper::getFontHeight ( ) const
void DrawableText::ValueTreeWrapper::setFontHeight ( const RelativeCoordinate newHeight,
UndoManager undoManager 
)
RelativeCoordinate DrawableText::ValueTreeWrapper::getFontHorizontalScale ( ) const
void DrawableText::ValueTreeWrapper::setFontHorizontalScale ( const RelativeCoordinate newScale,
UndoManager undoManager 
)

Member Data Documentation

const Identifier DrawableText::ValueTreeWrapper::text
static
const Identifier DrawableText::ValueTreeWrapper::colour
static
const Identifier DrawableText::ValueTreeWrapper::font
static
const Identifier DrawableText::ValueTreeWrapper::justification
static
const Identifier DrawableText::ValueTreeWrapper::topLeft
static
const Identifier DrawableText::ValueTreeWrapper::topRight
static
const Identifier DrawableText::ValueTreeWrapper::bottomLeft
static
const Identifier DrawableText::ValueTreeWrapper::fontHeight
static
const Identifier DrawableText::ValueTreeWrapper::fontHScale
static

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