LMMS
Loading...
Searching...
No Matches
juce::GridItem::Property Struct Reference

#include <juce_GridItem.h>

Public Member Functions

 Property () noexcept
 Property (Keyword keyword) noexcept
 Property (const char *lineNameToUse) noexcept
 Property (const String &lineNameToUse) noexcept
 Property (int numberToUse) noexcept
 Property (int numberToUse, const String &lineNameToUse) noexcept
 Property (Span spanToUse) noexcept
bool hasSpan () const noexcept
bool hasAbsolute () const noexcept
bool hasAuto () const noexcept
bool hasName () const noexcept
const StringgetName () const noexcept
int getNumber () const noexcept

Private Attributes

String name
int number = 1
bool isSpan = false
bool isAuto = false

Detailed Description

Represents a property.

Constructor & Destructor Documentation

◆ Property() [1/7]

juce::GridItem::Property::Property ( )
noexcept

◆ Property() [2/7]

juce::GridItem::Property::Property ( GridItem::Keyword keyword)
noexcept

◆ Property() [3/7]

juce::GridItem::Property::Property ( const char * lineNameToUse)
noexcept

◆ Property() [4/7]

juce::GridItem::Property::Property ( const String & lineNameToUse)
noexcept

◆ Property() [5/7]

juce::GridItem::Property::Property ( int numberToUse)
noexcept

◆ Property() [6/7]

juce::GridItem::Property::Property ( int numberToUse,
const String & lineNameToUse )
noexcept

◆ Property() [7/7]

juce::GridItem::Property::Property ( Span spanToUse)
noexcept

Member Function Documentation

◆ getName()

const String & juce::GridItem::Property::getName ( ) const
inlinenoexcept

◆ getNumber()

int juce::GridItem::Property::getNumber ( ) const
inlinenoexcept

◆ hasAbsolute()

bool juce::GridItem::Property::hasAbsolute ( ) const
inlinenoexcept

◆ hasAuto()

bool juce::GridItem::Property::hasAuto ( ) const
inlinenoexcept

◆ hasName()

bool juce::GridItem::Property::hasName ( ) const
inlinenoexcept

◆ hasSpan()

bool juce::GridItem::Property::hasSpan ( ) const
inlinenoexcept

Member Data Documentation

◆ isAuto

bool juce::GridItem::Property::isAuto = false
private

◆ isSpan

bool juce::GridItem::Property::isSpan = false
private

Either an absolute line number or number of lines to span across.

◆ name

String juce::GridItem::Property::name
private

◆ number

int juce::GridItem::Property::number = 1
private

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