JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Attributes
DrawableText::ValueTreeWrapper Class Reference

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

Inherits Drawable::ValueTreeWrapperBase.

List of all members.

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 (const Colour &newColour, UndoManager *undoManager)
Justification getJustification () const
void setJustification (const 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)

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

Detailed Description

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


Constructor & Destructor Documentation


Member Function Documentation

void DrawableText::ValueTreeWrapper::setText ( const String newText,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setColour ( const Colour newColour,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setJustification ( const Justification newJustification,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setFont ( const Font newFont,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setBoundingBox ( const RelativeParallelogram newBounds,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setFontHeight ( const RelativeCoordinate newHeight,
UndoManager undoManager 
)

Member Data Documentation


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