LMMS
Loading...
Searching...
No Matches
juce::MultiDocumentPanel Class Referenceabstract

#include <juce_MultiDocumentPanel.h>

Inheritance diagram for juce::MultiDocumentPanel:
juce::Component juce::ComponentListener juce::MouseListener

Classes

struct  TabbedComponentInternal

Public Types

enum  LayoutMode { FloatingWindows , MaximisedWindowsWithTabs }
Public Types inherited from juce::Component
enum class  FocusContainerType { none , focusContainer , keyboardFocusContainer }
enum  FocusChangeType { focusChangedByMouseClick , focusChangedByTabKey , focusChangedDirectly }

Public Member Functions

 MultiDocumentPanel ()
 ~MultiDocumentPanel () override
void closeAllDocumentsAsync (bool checkItsOkToCloseFirst, std::function< void(bool)> callback)
bool addDocument (Component *component, Colour backgroundColour, bool deleteWhenRemoved)
void closeDocumentAsync (Component *component, bool checkItsOkToCloseFirst, std::function< void(bool)> callback)
int getNumDocuments () const noexcept
ComponentgetDocument (int index) const noexcept
ComponentgetActiveDocument () const noexcept
void setActiveDocument (Component *component)
virtual void activeDocumentChanged ()
void setMaximumNumDocuments (int maximumNumDocuments)
void useFullscreenWhenOneDocument (bool shouldUseTabs)
bool isFullscreenWhenOneDocument () const noexcept
void setLayoutMode (LayoutMode newLayoutMode)
LayoutMode getLayoutMode () const noexcept
void setBackgroundColour (Colour newBackgroundColour)
Colour getBackgroundColour () const noexcept
TabbedComponentgetCurrentTabbedComponent () const noexcept
virtual void tryToCloseDocumentAsync (Component *component, std::function< void(bool)> callback)=0
virtual MultiDocumentPanelWindowcreateNewDocumentWindow ()
void paint (Graphics &) override
void resized () override
void componentNameChanged (Component &) override
Public Member Functions inherited from juce::Component
 Component () noexcept
 ~Component () override
 Component (const String &componentName) noexcept
String getName () const noexcept
virtual void setName (const String &newName)
String getComponentID () const noexcept
void setComponentID (const String &newID)
virtual void setVisible (bool shouldBeVisible)
bool isVisible () const noexcept
virtual void visibilityChanged ()
bool isShowing () const
virtual void addToDesktop (int windowStyleFlags, void *nativeWindowToAttachTo=nullptr)
void removeFromDesktop ()
bool isOnDesktop () const noexcept
ComponentPeergetPeer () const
virtual void userTriedToCloseWindow ()
virtual void minimisationStateChanged (bool isNowMinimised)
virtual float getDesktopScaleFactor () const
void toFront (bool shouldAlsoGainKeyboardFocus)
void toBack ()
void toBehind (Component *other)
void setAlwaysOnTop (bool shouldStayOnTop)
bool isAlwaysOnTop () const noexcept
int getX () const noexcept
int getY () const noexcept
int getWidth () const noexcept
int getHeight () const noexcept
int getRight () const noexcept
Point< intgetPosition () const noexcept
int getBottom () const noexcept
Rectangle< intgetBounds () const noexcept
Rectangle< intgetLocalBounds () const noexcept
Rectangle< intgetBoundsInParent () const noexcept
int getScreenX () const
int getScreenY () const
Point< intgetScreenPosition () const
Rectangle< intgetScreenBounds () const
Point< intgetLocalPoint (const Component *sourceComponent, Point< int > pointRelativeToSourceComponent) const
Point< float > getLocalPoint (const Component *sourceComponent, Point< float > pointRelativeToSourceComponent) const
Rectangle< intgetLocalArea (const Component *sourceComponent, Rectangle< int > areaRelativeToSourceComponent) const
Rectangle< float > getLocalArea (const Component *sourceComponent, Rectangle< float > areaRelativeToSourceComponent) const
Point< intlocalPointToGlobal (Point< int > localPoint) const
Point< float > localPointToGlobal (Point< float > localPoint) const
Rectangle< intlocalAreaToGlobal (Rectangle< int > localArea) const
Rectangle< float > localAreaToGlobal (Rectangle< float > localArea) const
void setTopLeftPosition (int x, int y)
void setTopLeftPosition (Point< int > newTopLeftPosition)
void setTopRightPosition (int x, int y)
void setSize (int newWidth, int newHeight)
void setBounds (int x, int y, int width, int height)
void setBounds (Rectangle< int > newBounds)
void setBoundsRelative (float proportionalX, float proportionalY, float proportionalWidth, float proportionalHeight)
void setBoundsRelative (Rectangle< float > proportionalArea)
void setBoundsInset (BorderSize< int > borders)
void setBoundsToFit (Rectangle< int > targetArea, Justification justification, bool onlyReduceInSize)
void setCentrePosition (int x, int y)
void setCentrePosition (Point< int > newCentrePosition)
void setCentreRelative (float x, float y)
void centreWithSize (int width, int height)
void setTransform (const AffineTransform &transform)
AffineTransform getTransform () const
bool isTransformed () const noexcept
int proportionOfWidth (float proportion) const noexcept
int proportionOfHeight (float proportion) const noexcept
int getParentWidth () const noexcept
int getParentHeight () const noexcept
Rectangle< intgetParentMonitorArea () const
int getNumChildComponents () const noexcept
ComponentgetChildComponent (int index) const noexcept
int getIndexOfChildComponent (const Component *child) const noexcept
const Array< Component * > & getChildren () const noexcept
ComponentfindChildWithID (StringRef componentID) const noexcept
void addChildComponent (Component *child, int zOrder=-1)
void addChildComponent (Component &child, int zOrder=-1)
void addAndMakeVisible (Component *child, int zOrder=-1)
void addAndMakeVisible (Component &child, int zOrder=-1)
void addChildAndSetID (Component *child, const String &componentID)
void removeChildComponent (Component *childToRemove)
ComponentremoveChildComponent (int childIndexToRemove)
void removeAllChildren ()
void deleteAllChildren ()
ComponentgetParentComponent () const noexcept
template<class TargetClass>
TargetClass * findParentComponentOfClass () const
ComponentgetTopLevelComponent () const noexcept
bool isParentOf (const Component *possibleChild) const noexcept
virtual void parentHierarchyChanged ()
virtual void childrenChanged ()
virtual bool hitTest (int x, int y)
void setInterceptsMouseClicks (bool allowClicksOnThisComponent, bool allowClicksOnChildComponents) noexcept
void getInterceptsMouseClicks (bool &allowsClicksOnThisComponent, bool &allowsClicksOnChildComponents) const noexcept
bool contains (Point< int > localPoint)
bool contains (Point< float > localPoint)
bool reallyContains (Point< int > localPoint, bool returnTrueIfWithinAChild)
bool reallyContains (Point< float > localPoint, bool returnTrueIfWithinAChild)
ComponentgetComponentAt (int x, int y)
ComponentgetComponentAt (Point< int > position)
ComponentgetComponentAt (Point< float > position)
void repaint ()
void repaint (int x, int y, int width, int height)
void repaint (Rectangle< int > area)
void setBufferedToImage (bool shouldBeBuffered)
Image createComponentSnapshot (Rectangle< int > areaToGrab, bool clipImageToComponentBounds=true, float scaleFactor=1.0f)
void paintEntireComponent (Graphics &context, bool ignoreAlphaLevel)
void setPaintingIsUnclipped (bool shouldPaintWithoutClipping) noexcept
bool isPaintingUnclipped () const noexcept
void setComponentEffect (ImageEffectFilter *newEffect)
ImageEffectFiltergetComponentEffect () const noexcept
LookAndFeelgetLookAndFeel () const noexcept
void setLookAndFeel (LookAndFeel *newLookAndFeel)
virtual void lookAndFeelChanged ()
void sendLookAndFeelChange ()
void setOpaque (bool shouldBeOpaque)
bool isOpaque () const noexcept
void setBroughtToFrontOnMouseClick (bool shouldBeBroughtToFront) noexcept
bool isBroughtToFrontOnMouseClick () const noexcept
void setExplicitFocusOrder (int newFocusOrderIndex)
int getExplicitFocusOrder () const
void setFocusContainerType (FocusContainerType containerType) noexcept
bool isFocusContainer () const noexcept
bool isKeyboardFocusContainer () const noexcept
ComponentfindFocusContainer () const
ComponentfindKeyboardFocusContainer () const
void setWantsKeyboardFocus (bool wantsFocus) noexcept
bool getWantsKeyboardFocus () const noexcept
void setMouseClickGrabsKeyboardFocus (bool shouldGrabFocus)
bool getMouseClickGrabsKeyboardFocus () const noexcept
void grabKeyboardFocus ()
void giveAwayKeyboardFocus ()
bool hasKeyboardFocus (bool trueIfChildIsFocused) const
void moveKeyboardFocusToSibling (bool moveToNext)
virtual std::unique_ptr< ComponentTraversercreateFocusTraverser ()
virtual std::unique_ptr< ComponentTraversercreateKeyboardFocusTraverser ()
void setHasFocusOutline (bool hasFocusOutline) noexcept
bool hasFocusOutline () const noexcept
bool isEnabled () const noexcept
void setEnabled (bool shouldBeEnabled)
virtual void enablementChanged ()
float getAlpha () const noexcept
void setAlpha (float newAlpha)
virtual void alphaChanged ()
void setMouseCursor (const MouseCursor &cursorType)
virtual MouseCursor getMouseCursor ()
void updateMouseCursor () const
virtual void paintOverChildren (Graphics &g)
void mouseMove (const MouseEvent &event) override
void mouseEnter (const MouseEvent &event) override
void mouseExit (const MouseEvent &event) override
void mouseDown (const MouseEvent &event) override
void mouseDrag (const MouseEvent &event) override
void mouseUp (const MouseEvent &event) override
void mouseDoubleClick (const MouseEvent &event) override
void mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel) override
void mouseMagnify (const MouseEvent &event, float scaleFactor) override
void setRepaintsOnMouseActivity (bool shouldRepaint) noexcept
void addMouseListener (MouseListener *newListener, bool wantsEventsForAllNestedChildComponents)
void removeMouseListener (MouseListener *listenerToRemove)
void addKeyListener (KeyListener *newListener)
void removeKeyListener (KeyListener *listenerToRemove)
virtual bool keyPressed (const KeyPress &key)
virtual bool keyStateChanged (bool isKeyDown)
virtual void modifierKeysChanged (const ModifierKeys &modifiers)
virtual void focusGained (FocusChangeType cause)
virtual void focusLost (FocusChangeType cause)
virtual void focusOfChildComponentChanged (FocusChangeType cause)
bool isMouseOver (bool includeChildren=false) const
bool isMouseButtonDown (bool includeChildren=false) const
bool isMouseOverOrDragging (bool includeChildren=false) const
Point< intgetMouseXYRelative () const
virtual void moved ()
virtual void childBoundsChanged (Component *child)
virtual void parentSizeChanged ()
virtual void broughtToFront ()
void addComponentListener (ComponentListener *newListener)
void removeComponentListener (ComponentListener *listenerToRemove)
void postCommandMessage (int commandId)
virtual void handleCommandMessage (int commandId)
void enterModalState (bool takeKeyboardFocus=true, ModalComponentManager::Callback *callback=nullptr, bool deleteWhenDismissed=false)
void exitModalState (int returnValue)
bool isCurrentlyModal (bool onlyConsiderForemostModalComponent=true) const noexcept
bool isCurrentlyBlockedByAnotherModalComponent () const
virtual bool canModalEventBeSentToComponent (const Component *targetComponent)
virtual void inputAttemptWhenModal ()
NamedValueSetgetProperties () noexcept
const NamedValueSetgetProperties () const noexcept
Colour findColour (int colourID, bool inheritFromParent=false) const
void setColour (int colourID, Colour newColour)
void removeColour (int colourID)
bool isColourSpecified (int colourID) const
void copyAllExplicitColoursTo (Component &target) const
virtual void colourChanged ()
voidgetWindowHandle () const
PositionergetPositioner () const noexcept
void setPositioner (Positioner *newPositioner)
void setCachedComponentImage (CachedComponentImage *newCachedImage)
CachedComponentImagegetCachedComponentImage () const noexcept
void setViewportIgnoreDragFlag (bool ignoreDrag) noexcept
bool getViewportIgnoreDragFlag () const noexcept
String getTitle () const noexcept
void setTitle (const String &newTitle)
String getDescription () const noexcept
void setDescription (const String &newDescription)
String getHelpText () const noexcept
void setHelpText (const String &newHelpText)
void setAccessible (bool shouldBeAccessible)
bool isAccessible () const noexcept
AccessibilityHandlergetAccessibilityHandler ()
void invalidateAccessibilityHandler ()
void setFocusContainer (bool shouldBeFocusContainer) noexcept
void contains (int, int)=delete
Public Member Functions inherited from juce::MouseListener
virtual ~MouseListener ()=default

Private Member Functions

void closeDocumentInternal (Component *)
ComponentgetContainerComp (Component *) const
void updateOrder ()
void addWindow (Component *)
Private Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()=default
virtual void componentMovedOrResized (Component &component, bool wasMoved, bool wasResized)
virtual void componentBroughtToFront (Component &component)
virtual void componentVisibilityChanged (Component &component)
virtual void componentChildrenChanged (Component &component)
virtual void componentParentHierarchyChanged (Component &component)
virtual void componentBeingDeleted (Component &component)
virtual void componentEnablementChanged (Component &component)

Static Private Member Functions

static void closeLastDocumentRecursive (SafePointer< MultiDocumentPanel >, bool, std::function< void(bool)>)

Private Attributes

LayoutMode mode = MaximisedWindowsWithTabs
Array< Component * > components
std::unique_ptr< TabbedComponenttabComponent
Colour backgroundColour { Colours::lightblue }
int maximumNumDocuments = 0
int numDocsBeforeTabsUsed = 0

Friends

class MultiDocumentPanelWindow

Additional Inherited Members

Static Public Member Functions inherited from juce::Component
static float JUCE_CALLTYPE getApproximateScaleFactorForComponent (const Component *targetComponent)
static Component *JUCE_CALLTYPE getCurrentlyFocusedComponent () noexcept
static void JUCE_CALLTYPE unfocusAllComponents ()
static void JUCE_CALLTYPE beginDragAutoRepeat (int millisecondsBetweenCallbacks)
static bool JUCE_CALLTYPE isMouseButtonDownAnywhere () noexcept
static int JUCE_CALLTYPE getNumCurrentlyModalComponents () noexcept
static Component *JUCE_CALLTYPE getCurrentlyModalComponent (int index=0) noexcept
Protected Member Functions inherited from juce::Component
virtual ComponentPeercreateNewPeer (int styleFlags, void *nativeWindowToAttachTo)
Static Protected Member Functions inherited from juce::Component
static std::unique_ptr< AccessibilityHandlercreateIgnoredAccessibilityHandler (Component &)

Detailed Description

A component that contains a set of other components either in floating windows or tabs.

This acts as a panel that can be used to hold a set of open document windows, with different layout modes.

Use addDocument() and closeDocument() to add or remove components from the panel - never use any of the Component methods to access the panel's child components directly, as these are managed internally.

@tags{GUI}

Member Enumeration Documentation

◆ LayoutMode

enum juce::MultiDocumentPanel::LayoutMode

The different layout modes available.

Enumerator
FloatingWindows 

In this mode, there are overlapping DocumentWindow components for each document.

MaximisedWindowsWithTabs 

In this mode, a TabbedComponent is used to show one document at a time.

Constructor & Destructor Documentation

◆ MultiDocumentPanel()

juce::MultiDocumentPanel::MultiDocumentPanel ( )

Creates an empty panel.

Use addDocument() and closeDocument() to add or remove components from the panel - never use any of the Component methods to access the panel's child components directly, as these are managed internally.

◆ ~MultiDocumentPanel()

juce::MultiDocumentPanel::~MultiDocumentPanel ( )
override

Destructor.

When deleted, this will call close all open documents to make sure all its components are deleted. If you need to make sure all documents are saved before closing, then you should call closeAllDocumentsAsync() with checkItsOkToCloseFirst == true and check the provided callback result is true before deleting the panel.

Member Function Documentation

◆ activeDocumentChanged()

void juce::MultiDocumentPanel::activeDocumentChanged ( )
virtual

Callback which gets invoked when the currently-active document changes.

◆ addDocument()

bool juce::MultiDocumentPanel::addDocument ( Component * component,
Colour backgroundColour,
bool deleteWhenRemoved )

Adds a document component to the panel.

If the number of documents would exceed the limit set by setMaximumNumDocuments() then this will fail and return false. (If it does fail, the component passed-in will not be deleted, even if deleteWhenRemoved was set to true).

The MultiDocumentPanel will deal with creating a window border to go around your component, so just pass in the bare content component here, no need to give it a ResizableWindow or DocumentWindow.

Parameters
componentthe component to add
backgroundColourthe background colour to use to fill the component's window or tab
deleteWhenRemovedif true, then when the component is removed by closeDocumentAsync() or closeAllDocumentsAsync(), then it will be deleted. If false, then the caller must handle the component's deletion

◆ addWindow()

void juce::MultiDocumentPanel::addWindow ( Component * component)
private

◆ closeAllDocumentsAsync()

void juce::MultiDocumentPanel::closeAllDocumentsAsync ( bool checkItsOkToCloseFirst,
std::function< void(bool)> callback )

Tries to close all the documents.

If checkItsOkToCloseFirst is true, then the tryToCloseDocumentAsync() method will be called for each open document, and any of these calls fails, this method will stop and provide an argument of false to the callback, leaving some documents still open.

If checkItsOkToCloseFirst is false, then all documents will be closed unconditionally.

See also
closeDocumentAsync

◆ closeDocumentAsync()

void juce::MultiDocumentPanel::closeDocumentAsync ( Component * component,
bool checkItsOkToCloseFirst,
std::function< void(bool)> callback )

Closes one of the documents.

If checkItsOkToCloseFirst is true, then the tryToCloseDocumentAsync() method will be called, and if it fails, this method will call the callback with a false argument without closing the document.

If checkItsOkToCloseFirst is false, then the documents will be closed unconditionally.

The component will be deleted if the deleteWhenRemoved parameter was set to true when it was added with addDocument.

See also
addDocument, closeAllDocumentsAsync

◆ closeDocumentInternal()

void juce::MultiDocumentPanel::closeDocumentInternal ( Component * component)
private

◆ closeLastDocumentRecursive()

void juce::MultiDocumentPanel::closeLastDocumentRecursive ( SafePointer< MultiDocumentPanel > parent,
bool checkItsOkToCloseFirst,
std::function< void(bool)> callback )
staticprivate

◆ componentNameChanged()

void juce::MultiDocumentPanel::componentNameChanged ( Component & component)
overridevirtual

Called when the component's name is changed.

Parameters
componentthe component that had its name changed
See also
Component::setName, Component::getName

Reimplemented from juce::ComponentListener.

◆ createNewDocumentWindow()

MultiDocumentPanelWindow * juce::MultiDocumentPanel::createNewDocumentWindow ( )
virtual

Creates a new window to be used for a document.

The default implementation of this just returns a basic MultiDocumentPanelWindow object, but you might want to override it to return a custom component.

◆ getActiveDocument()

Component * juce::MultiDocumentPanel::getActiveDocument ( ) const
noexcept

Returns the document component that is currently focused or on top.

If currently using floating windows, then this will be the component in the currently active window, or the top component if none are active.

If it's currently in tabbed mode, then it'll return the component in the active tab.

See also
setActiveDocument

◆ getBackgroundColour()

Colour juce::MultiDocumentPanel::getBackgroundColour ( ) const
inlinenoexcept

Returns the current background colour.

See also
setBackgroundColour

◆ getContainerComp()

Component * juce::MultiDocumentPanel::getContainerComp ( Component * c) const
private

◆ getCurrentTabbedComponent()

TabbedComponent * juce::MultiDocumentPanel::getCurrentTabbedComponent ( ) const
inlinenoexcept

If the panel is being used in tabbed mode, this returns the TabbedComponent that's involved.

◆ getDocument()

Component * juce::MultiDocumentPanel::getDocument ( int index) const
noexcept

Returns one of the open documents.

The order of the documents in this array may change when they are added, removed or moved around.

See also
getNumDocuments

◆ getLayoutMode()

LayoutMode juce::MultiDocumentPanel::getLayoutMode ( ) const
inlinenoexcept

Returns the current layout mode.

◆ getNumDocuments()

int juce::MultiDocumentPanel::getNumDocuments ( ) const
noexcept

Returns the number of open document windows.

See also
getDocument

◆ isFullscreenWhenOneDocument()

bool juce::MultiDocumentPanel::isFullscreenWhenOneDocument ( ) const
noexcept

Returns the result of the last time useFullscreenWhenOneDocument() was called.

◆ paint()

void juce::MultiDocumentPanel::paint ( Graphics & g)
overridevirtual

Components can override this method to draw their content.

The paint() method gets called when a region of a component needs redrawing, either because the component's repaint() method has been called, or because something has happened on the screen that means a section of a window needs to be redrawn.

Any child components will draw themselves over whatever this method draws. If you need to paint over the top of your child components, you can also implement the paintOverChildren() method to do this.

If you want to cause a component to redraw itself, this is done asynchronously - calling the repaint() method marks a region of the component as "dirty", and the paint() method will automatically be called sometime later, by the message thread, to paint any bits that need refreshing. In JUCE (and almost all modern UI frameworks), you never redraw something synchronously.

You should never need to call this method directly - to take a snapshot of the component you could use createComponentSnapshot() or paintEntireComponent().

Parameters
gthe graphics context that must be used to do the drawing operations.
See also
repaint, paintOverChildren, Graphics

Reimplemented from juce::Component.

◆ resized()

void juce::MultiDocumentPanel::resized ( )
overridevirtual

Called when this component's size has been changed.

A component can implement this method to do things such as laying out its child components when its width or height changes.

The method is called synchronously as a result of the setBounds or setSize methods, so repeatedly changing a components size will repeatedly call its resized method (unlike things like repainting, where multiple calls to repaint are coalesced together).

If the component is a top-level window on the desktop, its size could also be changed by operating-system factors beyond the application's control.

See also
moved, setSize

Reimplemented from juce::Component.

◆ setActiveDocument()

void juce::MultiDocumentPanel::setActiveDocument ( Component * component)

Makes one of the components active and brings it to the top.

See also
getActiveDocument

◆ setBackgroundColour()

void juce::MultiDocumentPanel::setBackgroundColour ( Colour newBackgroundColour)

Sets the background colour for the whole panel.

Each document has its own background colour, but this is the one used to fill the areas behind them.

◆ setLayoutMode()

void juce::MultiDocumentPanel::setLayoutMode ( LayoutMode newLayoutMode)

Changes the panel's mode.

See also
LayoutMode, getLayoutMode

◆ setMaximumNumDocuments()

void juce::MultiDocumentPanel::setMaximumNumDocuments ( int maximumNumDocuments)

Sets a limit on how many windows can be open at once.

If this is zero or less there's no limit (the default). addDocument() will fail if this number is exceeded.

◆ tryToCloseDocumentAsync()

virtual void juce::MultiDocumentPanel::tryToCloseDocumentAsync ( Component * component,
std::function< void(bool)> callback )
pure virtual

A subclass must override this to say whether its currently ok for a document to be closed.

This method is called by closeDocumentAsync() and closeAllDocumentsAsync() to indicate that a document should be saved if possible, ready for it to be closed.

If the callback is called with a true argument, then it means the document is ok and can be closed.

If the callback is called with a false argument, then it means that the closeDocumentAsync() method should stop and not close.

Normally, you'd use this method to ask the user if they want to save any changes, then return true if the save operation went ok. If the user cancelled the save operation you could give a value of false to the callback to abort the close operation.

If your component is based on the FileBasedDocument class, then you'd probably want to call FileBasedDocument::saveIfNeededAndUserAgreesAsync() and call the callback with true if this returned FileBasedDocument::savedOk.

See also
closeDocumentAsync, FileBasedDocument::saveIfNeededAndUserAgreesAsync()

◆ updateOrder()

void juce::MultiDocumentPanel::updateOrder ( )
private

◆ useFullscreenWhenOneDocument()

void juce::MultiDocumentPanel::useFullscreenWhenOneDocument ( bool shouldUseTabs)

Sets an option to make the document fullscreen if there's only one document open.

If set to true, then if there's only one document, it'll fill the whole of this component without tabs or a window border. If false, then tabs or a window will always be shown, even if there's only one document. If there's more than one document open, then this option makes no difference.

◆ MultiDocumentPanelWindow

friend class MultiDocumentPanelWindow
friend

Member Data Documentation

◆ backgroundColour

Colour juce::MultiDocumentPanel::backgroundColour { Colours::lightblue }
private

◆ components

Array<Component*> juce::MultiDocumentPanel::components
private

◆ maximumNumDocuments

int juce::MultiDocumentPanel::maximumNumDocuments = 0
private

◆ mode

LayoutMode juce::MultiDocumentPanel::mode = MaximisedWindowsWithTabs
private

◆ numDocsBeforeTabsUsed

int juce::MultiDocumentPanel::numDocsBeforeTabsUsed = 0
private

◆ tabComponent

std::unique_ptr<TabbedComponent> juce::MultiDocumentPanel::tabComponent
private

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