Inherits Component, and Listener.
Public Member Functions | |
PropertiesEditor (MagicGUIBuilder &builder) | |
void | setStyle (juce::ValueTree style) |
void | setNodeToEdit (juce::ValueTree node) |
juce::ValueTree & | getNodeToEdit () |
void | createNewClass () |
void | deleteClass (const juce::String &name) |
void | addNodeProperties () |
void | addDecoratorProperties () |
void | addTypeProperties (juce::Identifier type, juce::Array< juce::PropertyComponent * > additional) |
void | addFlexItemProperties () |
void | addContainerProperties () |
void | addPaletteColours () |
void | paint (juce::Graphics &) override |
void | resized () override |
MagicGUIBuilder & | getMagicBuilder () |
PropertiesEditor | ( | MagicGUIBuilder & | builder | ) |
void setStyle | ( | juce::ValueTree | style | ) |
Referenced by ToolBox::stateWasReloaded().
void setNodeToEdit | ( | juce::ValueTree | node | ) |
References PropertiesEditor::addContainerProperties(), PropertiesEditor::addDecoratorProperties(), PropertiesEditor::addFlexItemProperties(), PropertiesEditor::addNodeProperties(), PropertiesEditor::addPaletteColours(), PropertiesEditor::addTypeProperties(), MagicGUIBuilder::getFactoryNames(), and MagicGUIBuilder::getStylesheet().
Referenced by ToolBox::setNodeToEdit(), and ToolBox::setSelectedNode().
juce::ValueTree & getNodeToEdit | ( | ) |
void createNewClass | ( | ) |
void deleteClass | ( | const juce::String & | name | ) |
void addNodeProperties | ( | ) |
References MagicGUIBuilder::createPropertiesMenuLambda(), and MagicGUIBuilder::getStylesheet().
Referenced by PropertiesEditor::setNodeToEdit().
void addDecoratorProperties | ( | ) |
References MagicGUIBuilder::createPropertiesMenuLambda(), Stylesheet::getLookAndFeelNames(), and MagicGUIBuilder::getStylesheet().
Referenced by PropertiesEditor::setNodeToEdit().
void addTypeProperties | ( | juce::Identifier | type, |
juce::Array< juce::PropertyComponent * > | additional | ||
) |
References StylePropertyComponent::createComponent(), and MagicGUIBuilder::createGuiItem().
Referenced by PropertiesEditor::setNodeToEdit().
void addFlexItemProperties | ( | ) |
Referenced by PropertiesEditor::setNodeToEdit().
void addContainerProperties | ( | ) |
Referenced by PropertiesEditor::setNodeToEdit().
void addPaletteColours | ( | ) |
Referenced by PropertiesEditor::setNodeToEdit().
|
override |
|
override |
MagicGUIBuilder & getMagicBuilder | ( | ) |