ff_layout
Layout classes for JUCE
 All Classes Files Functions Variables Enumerations Enumerator
Public Member Functions | List of all members
LayoutItem::Listener Class Referenceabstract

The LayoutItem::Listener will be called, whenever the bounds of a LayoutItem are changed. More...

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void layoutBoundsChanged (juce::ValueTree item, juce::Rectangle< int > newBounds)=0
 Callback when the layout items bounds are changed. More...
 
virtual void layoutSplitterMoved (juce::ValueTree item, float relativePos, bool final)
 Callback when the item is a splitter and is just moved. More...
 

Detailed Description

The LayoutItem::Listener will be called, whenever the bounds of a LayoutItem are changed.

Constructor & Destructor Documentation

virtual LayoutItem::Listener::~Listener ( )
virtual

Destructor.

Member Function Documentation

virtual void LayoutItem::Listener::layoutBoundsChanged ( juce::ValueTree  item,
juce::Rectangle< int >  newBounds 
)
pure virtual

Callback when the layout items bounds are changed.

virtual void LayoutItem::Listener::layoutSplitterMoved ( juce::ValueTree  item,
float  relativePos,
bool  final 
)
virtual

Callback when the item is a splitter and is just moved.

Final is true, if the mouse button is released. To add a listener to a splitter from xml you can set the componentName or componentID to find it as child of the owningComponent.


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